Skip to content

Commit

Permalink
Added strict type sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Dec 13, 2023
1 parent 9e1f060 commit c9c3515
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ci/qa/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@
<property name="absoluteLineLimit" value="150"/>
</properties>
</rule>

<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/DeclareStrictTypesSniff.php" />
</ruleset>
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.18.5",
"roave/security-advisories": "dev-latest",
"slevomat/coding-standard": "^8.13",
"sebastian/exporter": "^4.0.5",
"sebastian/phpcpd": "^6.0",
"squizlabs/php_codesniffer": "^3.7",
Expand Down Expand Up @@ -125,7 +126,8 @@
},
"allow-plugins": {
"symfony/flex": true,
"symfony/runtime": true
"symfony/runtime": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "8.2"
Expand Down
192 changes: 191 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9c3515

Please sign in to comment.