-
Notifications
You must be signed in to change notification settings - Fork 3
Add support for Symfony 8 #13
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
Changes from 1 commit
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 |
|---|---|---|
|
|
@@ -19,6 +19,9 @@ jobs: | |
| - php: "8.2" | ||
| - php: "8.3" | ||
| - php: "8.4" | ||
| - php: "8.4" | ||
| symfony-version: 8.0.x-dev | ||
|
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. I don't think adding a job testing specifically Symfony 8.0.x-dev makes sense. A job using dev versions of dependency will already install the latest compatible dev version, which will be 8.0.x-dev now, but would automatically update to newer versions in the future without requiring additional maintenance work in the CI setup.
Contributor
Author
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. You may be right, I removed it in a new commit. |
||
| composer-stability: dev | ||
|
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 still installs symfony/process v7
Contributor
Author
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. Yes, because of PHP-CS-Fixer itself: Couldn't we use the PHP-CS-Fixer shim?
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. we can simply without showing v8 on CI, we gamble if this change works |
||
| steps: | ||
| - name: Checkout source | ||
| uses: actions/checkout@v4 | ||
|
|
@@ -27,8 +30,18 @@ jobs: | |
| with: | ||
| php-version: ${{ matrix.php }} | ||
| ini-values: zend.assertions=1, error_reporting=-1, display_errors=On, log_errors_max_len=0 | ||
| - name: Install and configure Symfony Flex | ||
| if: matrix.symfony-version | ||
| run: | | ||
| composer global require --no-progress --no-scripts --no-plugins symfony/flex | ||
| composer global config --no-plugins allow-plugins.symfony/flex true | ||
| - name: Configure Composer minimum-stability | ||
| if: matrix.composer-stability | ||
| run: composer config minimum-stability ${{ matrix.composer-stability }} | ||
| - name: "Update composer dependencies" | ||
| run: composer update -o --no-interaction --no-progress ${{ matrix.COMPOSER_FLAGS }} | ||
| env: | ||
| SYMFONY_REQUIRE: ${{ matrix.symfony-version }} | ||
| - name: Tests | ||
| env: | ||
| PHP_CS_FIXER_IGNORE_ENV: ${{ matrix.PHP_CS_FIXER_IGNORE_ENV }} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.