Skip to content

Commit 895b584

Browse files
committed
feat(composer.json): upgraded dependencies
1 parent 5c86185 commit 895b584

2 files changed

Lines changed: 203 additions & 37 deletions

File tree

composer.json

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,40 @@
2424
"config": {
2525
"optimize-autoloader": true,
2626
"preferred-install": "dist",
27-
"sort-packages": true
28-
},
29-
"require": {
30-
"php": "^8.3"
27+
"sort-packages": true,
28+
"allow-plugins": {
29+
"dealerdirect/phpcodesniffer-composer-installer": true,
30+
"infection/extension-installer": true
31+
}
3132
},
3233
"require-dev": {
3334
"php-parallel-lint/php-console-highlighter": "^1.0",
3435
"php-parallel-lint/php-parallel-lint": "^1.3",
3536
"phpstan/phpstan": "^1.10",
3637
"phpunit/phpunit": "^11.0",
3738
"slope-it/clock-mock": "^0.4.0",
38-
"squizlabs/php_codesniffer": "^3.9"
39+
"squizlabs/php_codesniffer": "^3.9",
40+
"symfony/var-dumper": "^7.0"
3941
},
4042
"scripts": {
41-
"clear-coverage": "rm -Rf /coverage/*",
43+
"linter": "parallel-lint --colors -e php -j 10 app/ tests/",
44+
"phpcs": "phpcs -p --colors --standard=phpcs.xml app/ tests/",
45+
"phpcbf": "phpcbf -p --colors --standard=phpcs.xml app/ tests/",
46+
"phpstan": "phpstan analyse --ansi --configuration=phpstan.neon --memory-limit=1G --no-progress",
47+
"phpunit": "phpunit --configuration=phpunit.xml --testdox --colors --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \")",
48+
4249
"tests": [
43-
"phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 app/ tests/",
44-
"phpunit --configuration phpunit.xml --no-coverage --colors --testdox --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \")"
50+
"@linter",
51+
"@phpcs",
52+
"@phpunit --coverage-text"
4553
],
54+
4655
"coverage": [
47-
"@clear-coverage",
48-
"phpunit --configuration phpunit.xml --coverage-text --coverage-html=/coverage --colors --testdox --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \")"
49-
],
50-
"phpcs": "phpcs -p --colors --standard=phpcs.xml app/ tests/",
51-
"phpcbf": "phpcbf -p --colors --standard=phpcs.xml app/ tests/",
52-
"linter": "parallel-lint --colors -e php -j 10 app/ tests/",
53-
"phpstan": "phpstan analyse --ansi --memory-limit=1G --configuration=phpstan.neon"
56+
"rm -Rf /coverage/*",
57+
"@linter",
58+
"@phpcs",
59+
"@phpunit --coverage-text --coverage-html=/coverage"
60+
]
5461
},
5562
"minimum-stability": "stable",
5663
"prefer-stable": true

composer.lock

Lines changed: 181 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)