Skip to content

Commit

Permalink
Add PHPStan strict rules
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Nov 20, 2024
1 parent 0705dd9 commit 20cad01
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 5 deletions.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
},
"require-dev": {
"phpmyadmin/coding-standard": "^3.0.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^8.5 || ^9.6 || ^10.5"
},
"autoload": {
Expand All @@ -54,7 +57,8 @@
"config":{
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}
Loading

0 comments on commit 20cad01

Please sign in to comment.