File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ jobs:
1515 - uses : shivammathur/setup-php@v2
1616 with :
1717 php-version : 8.4
18- tools : composer-normalize, composer-require-checker
18+ tools : composer-normalize, composer-require-checker, composer-unused
1919 - uses : ramsey/composer-install@v3
2020 - run : composer validate --no-ansi --strict composer.json
2121 - run : composer-normalize --dry-run
22+ - run : composer-unused
2223 - run : composer-require-checker check
2324 coding-guidelines :
2425 name : Coding Guidelines
99100 php-version : 8.4
100101 tools : infection
101102 - uses : ramsey/composer-install@v3
102- - run : infection --min-msi=65 --min-covered-msi=70 --threads=4
103+ - run : |
104+ infection --min-msi=65 --min-covered-msi=70 --threads=4 "--threads=$(nproc)"
103105 env:
104106 STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
Original file line number Diff line number Diff line change 1212 "require" : {
1313 "php" : " >=8.4" ,
1414 "ext-bcmath" : " *" ,
15- "ext-intl" : " *" ,
1615 "ext-mbstring" : " *" ,
1716 "doctrine/dbal" : " ^4.2.3" ,
18- "jetbrains/phpstorm-attributes" : " ^1.2" ,
1917 "symfony/config" : " ^7.1" ,
2018 "symfony/dependency-injection" : " ^7.1" ,
2119 "symfony/form" : " ^7.1" ,
2220 "symfony/http-kernel" : " ^7.1" ,
23- "symfony/intl" : " ^7.1" ,
2421 "symfony/options-resolver" : " ^7.1"
2522 },
2623 "require-dev" : {
Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ symfony composer validate --no-ansi --strict composer.json
1515
1616kyx composer-normalize --dry-run
1717kyx composer-require-checker check
18- kyx php-cs-fixer fix --dry-run --show-progress=dots --using-cache=no --verbose
18+ kyx composer-unused
19+ FORCED_PHP_VERSION=8.3 kyx php-cs-fixer fix --dry-run --show-progress=dots --using-cache=no --verbose
1920kyx phpstan analyse --memory-limit=512M --ansi --no-progress --error-format=table
2021vendor/bin/phpunit
21- kyx infection --min-msi=65 --min-covered-msi=70 --threads=4
22+ kyx infection " -j $( nproc ) "
2223
2324popd > /dev/null
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ if [ ! -d "vendor" ]; then
1111 symfony composer update --no-interaction --no-progress --ansi
1212fi
1313
14+ symfony composer update
1415kyx composer-normalize
15- kyx php-cs-fixer fix --show-progress=dots --using-cache=no --verbose
16+ FORCED_PHP_VERSION=8.3 kyx php-cs-fixer fix --show-progress=dots --using-cache=no --verbose
1617
1718popd > /dev/null
You can’t perform that action at this time.
0 commit comments