-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP code sniffer is a linter for PHP. We will use this to do mass fixes to code style / code formatting. - Install PHP code sniffer - Upgrade phpunit - Switch phpunit to a dev dependency
- Loading branch information
1 parent
2491c3a
commit a983794
Showing
3 changed files
with
187 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<ruleset> | ||
<arg name="tab-width" value="4"/> | ||
<exclude-pattern>/.github/</exclude-pattern> | ||
<exclude-pattern>/.vscode/</exclude-pattern> | ||
<exclude-pattern>/gitignore/</exclude-pattern> | ||
<exclude-pattern>/screenshots/</exclude-pattern> | ||
<exclude-pattern>/vendor/</exclude-pattern> | ||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"require": { | ||
"phpunit/phpunit": "^9.5" | ||
"require-dev": { | ||
"phpunit/phpunit": "^9.5", | ||
"squizlabs/php_codesniffer": "*" | ||
} | ||
} |
Oops, something went wrong.