Skip to content

Commit

Permalink
Update PHP constraints and optimize scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Oct 10, 2024
1 parent bb99c2f commit 71f2196
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"slim4"
],
"require": {
"php": "^8.2",
"php": "8.2.* || 8.3.*",
"ext-json": "*",
"fig/http-message-util": "^1.1",
"monolog/monolog": "^3",
Expand Down Expand Up @@ -42,14 +42,8 @@
"sort-packages": true
},
"scripts": {
"cs:check": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi"
],
"cs:fix": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix --config=.cs.php --ansi --verbose"
],
"cs:check": "php-cs-fixer fix --dry-run --format=txt --verbose --config=.cs.php --ansi",
"cs:fix": "php-cs-fixer fix --config=.cs.php --ansi --verbose",
"sniffer:check": "phpcs --standard=phpcs.xml",
"sniffer:fix": "phpcbf --standard=phpcs.xml",
"stan": "phpstan analyse -c phpstan.neon --no-progress --ansi",
Expand Down

0 comments on commit 71f2196

Please sign in to comment.