Repository navigation
chore: add PHP 8.6 to Github Action
#10685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.8
Are you sure you want to change the base?
Changes from all commits
2e4303f
90a78d4
6270eec
8a77d71
2b7bb1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,7 +93,8 @@ | |
| "CodeIgniter\\ComposerScripts::postUpdate" | ||
| ], | ||
| "post-autoload-dump": [ | ||
| "@composer update --ansi --working-dir=utils" | ||
| "@php -r \"if (PHP_VERSION_ID >= 80600) { echo '@todo Remove \"--ignore-platform-req=php\" once deps catch up.', PHP_EOL; }\"", | ||
| "@composer update --ansi --working-dir=utils --ignore-platform-req=php" | ||
|
Comment on lines
+96
to
+97
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems this trick will no longer work as latest symfony/console uses the unparenthesized To workaround this, add a new public static method in ComposerScripts and add this: if (PHP_VERSION_ID >= 80600) {
passthru('composer update --ansi --working-dir=utils --ignore-platform-req=php');
} else {
passthru('composer update --ansi --working-dir=utils');
}and replace these lines with the name of the method: |
||
| ], | ||
| "analyze": [ | ||
| "Composer\\Config::disableProcessTimeout", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.