-
Notifications
You must be signed in to change notification settings - Fork 0
Fixes #10 #11
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
Fixes #10 #11
Changes from 6 commits
0a97f13
5585b5a
7fdd0d8
43102fe
81ec44f
586c8c7
6720409
847b16f
749bc02
f07924a
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 |
|---|---|---|
|
|
@@ -23,16 +23,12 @@ jobs: | |
| - '8.2' | ||
| - '8.3' | ||
| - '8.4' | ||
| - '8.5' | ||
| dependencies: [highest] | ||
| allowed-to-fail: [false] | ||
| symfony-require: [''] | ||
| variant: [normal] | ||
| include: | ||
| - php-version: '8.1' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
| symfony-require: 6.4.* | ||
| variant: symfony/symfony:"6.4.*" | ||
| - php-version: '8.2' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
|
|
@@ -41,8 +37,8 @@ jobs: | |
| - php-version: '8.2' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
| symfony-require: 7.3.* | ||
| variant: symfony/symfony:"7.3.*" | ||
| symfony-require: 7.4.* | ||
| variant: symfony/symfony:"7.4.*" | ||
| - php-version: '8.3' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
|
|
@@ -51,8 +47,8 @@ jobs: | |
| - php-version: '8.3' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
| symfony-require: 7.3.* | ||
| variant: symfony/symfony:"7.3.*" | ||
| symfony-require: 7.4.* | ||
| variant: symfony/symfony:"7.4.*" | ||
| - php-version: '8.4' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
|
|
@@ -61,12 +57,26 @@ jobs: | |
| - php-version: '8.4' | ||
| dependencies: highest | ||
| allowed-to-fail: false | ||
| symfony-require: 7.3.* | ||
| variant: symfony/symfony:"7.3.*" | ||
|
|
||
| symfony-require: 7.4.* | ||
| variant: symfony/symfony:"7.4.*" | ||
| # - php-version: '8.4' | ||
|
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. uncomment it |
||
| # dependencies: highest | ||
| # allowed-to-fail: false | ||
| # symfony-require: 8.0.* | ||
|
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. Try symfony-require: 8.* |
||
| # variant: symfony/symfony:"8.0.*" | ||
| - php-version: '8.5' | ||
|
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. Add - php-version: '8.5' |
||
| dependencies: highest | ||
| allowed-to-fail: false | ||
| symfony-require: 7.4.* | ||
| variant: symfony/symfony:"7.4.*" | ||
| # - php-version: '8.5' | ||
|
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. uncomment it |
||
| # dependencies: highest | ||
| # allowed-to-fail: false | ||
| # symfony-require: 8.0.* | ||
| # variant: symfony/symfony:"8.0.*" | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v6 | ||
| - name: Install PHP with extensions | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,8 @@ | |
| EOF; | ||
|
|
||
| return (new PhpCsFixer\Config()) | ||
| ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) | ||
|
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. Delete it |
||
| ->setRules([ | ||
| '@PHP71Migration' => true, | ||
| '@PHP82Migration' => true, | ||
| '@PHPUnit75Migration:risky' => true, | ||
| '@Symfony' => true, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,22 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd" | ||
| xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.0/phpunit.xsd" | ||
| bootstrap="vendor/autoload.php" | ||
| cacheResultFile=".phpunit.cache/test-results" | ||
| cacheDirectory=".phpunit.cache" | ||
| executionOrder="depends,defects" | ||
| forceCoversAnnotation="true" | ||
| beStrictAboutCoversAnnotation="true" | ||
| requireCoverageMetadata="true" | ||
| beStrictAboutCoverageMetadata="true" | ||
| beStrictAboutOutputDuringTests="true" | ||
| beStrictAboutTodoAnnotatedTests="true" | ||
| convertDeprecationsToExceptions="true" | ||
| failOnRisky="true" | ||
| failOnWarning="true" | ||
| verbose="true"> | ||
| failOnWarning="true"> | ||
| <testsuites> | ||
| <testsuite name="default"> | ||
| <directory>tests</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
|
|
||
| <coverage cacheDirectory=".phpunit.cache/code-coverage" | ||
| processUncoveredFiles="true"> | ||
| <source> | ||
| <include> | ||
| <directory suffix=".php">src</directory> | ||
| </include> | ||
| </coverage> | ||
| </phpunit> | ||
| </source> | ||
| </phpunit> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,17 +8,18 @@ | |
| use Rector\ValueObject\PhpVersion; | ||
|
|
||
| return RectorConfig::configure() | ||
| ->withPhpVersion(PhpVersion::PHP_84) | ||
| ->withPhpVersion(PhpVersion::PHP_85) | ||
| ->withPaths([ | ||
| __DIR__.'/src', | ||
| __DIR__.'/tests', | ||
| ]) | ||
| ->withPhpSets(php81: true) | ||
| // here we can define, what prepared sets of rules will be applied | ||
| ->withPhpSets(php82: true) | ||
| // here we can define what prepared sets of rules will be applied | ||
| ->withPreparedSets(deadCode: true, codeQuality: true, symfonyCodeQuality: true) | ||
| ->withAttributesSets(symfony: true) | ||
| ->withComposerBased(symfony: true) | ||
|
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. This doesn't work on vendors because symfony version is multiple. |
||
| ->withSets([ | ||
| LevelSetList::UP_TO_PHP_81, | ||
| LevelSetList::UP_TO_PHP_82, | ||
| SymfonySetList::SYMFONY_64, | ||
| SymfonySetList::SYMFONY_CODE_QUALITY, | ||
| SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xaviermarchegay .github/workflows/test.yml must be updated too.