Skip to content

Commit 381e41c

Browse files
author
Christian Kolb
committed
Update versions and improve test coverage
1 parent 49a287f commit 381e41c

File tree

6 files changed

+370
-288
lines changed

6 files changed

+370
-288
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
;
77

88
return new PhpCsFixer\Config()
9+
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
910
->setUnsupportedPhpVersionAllowed(true)
1011
->setRules([
1112
'@Symfony' => true,

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ php-8.5-tests-html-coverage:
8686

8787
.PHONY: php-code-validation
8888
php-code-validation:
89-
docker compose run --rm php-8.5 ./vendor/bin/php-cs-fixer fix
90-
docker compose run --rm php-8.5 ./vendor/bin/psalm --show-info=false --no-diff
89+
docker compose run --rm php-8.4 ./vendor/bin/php-cs-fixer fix
90+
docker compose run --rm php-8.4 ./vendor/bin/psalm --show-info=false --no-diff
9191

9292
.PHONY: php-mutation-testing
9393
php-mutation-testing:
94-
docker compose run --rm php-8.5 ./vendor/bin/infection --show-mutations --only-covered --threads=8
94+
docker compose run --rm php-8.4 ./vendor/bin/infection --show-mutations --threads=8
9595

9696
##
9797
## CI
@@ -108,4 +108,4 @@ php-8.5-tests-ci:
108108

109109
.PHONY: php-mutation-testing-ci
110110
php-mutation-testing-ci:
111-
docker compose run --rm php-8.5 ./vendor/bin/infection --only-covered --threads=max
111+
docker compose run --rm php-8.4 ./vendor/bin/infection --threads=max

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"type": "symfony-bundle",
66
"require": {
77
"php": "8.4.*|8.5.*",
8-
"digital-craftsman/self-aware-normalizers": "dev-php-update as 1.2.0",
9-
"doctrine/dbal": "^3.4.0",
8+
"digital-craftsman/self-aware-normalizers": "^1.2.0",
9+
"doctrine/dbal": "^4.4",
1010
"symfony/framework-bundle": "^7.4|^8.0",
1111
"symfony/serializer": "^7.4|^8.0"
1212
},
1313
"require-dev": {
1414
"friendsofphp/php-cs-fixer": "^3.68.5",
15-
"infection/infection": "0.29.*",
15+
"infection/infection": "^0.32",
1616
"phpunit/phpunit": "^10.5",
1717
"vimeo/psalm": "^6.0.0"
1818
},

0 commit comments

Comments
 (0)