Skip to content

Commit

Permalink
:octocat: fix broken phpcs config
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Nov 2, 2024
1 parent 0428014 commit cb91aed
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 121 deletions.
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
"php": "^8.1"
},
"require-dev": {
"phpunit/phpunit": "^10.5",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpunit/phpunit": "^10.5",
"slevomat/coding-standard": "^8.15",
"squizlabs/php_codesniffer": "^3.10"
},
"suggest": {
Expand All @@ -54,12 +55,16 @@
},
"scripts": {
"phpcs": "@php vendor/bin/phpcs",
"phpunit": "@php vendor/bin/phpunit",
"phpstan": "@php vendor/bin/phpstan"
"phpstan": "@php vendor/bin/phpstan",
"phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline",
"phpunit": "@php vendor/bin/phpunit"
},
"config": {
"lock": false,
"sort-packages": true,
"platform-check": true
"platform-check": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit cb91aed

Please sign in to comment.