-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+
.phpcs.xml
to use rule PSR12
instead of the default rule PEAR
…
… and manually ignore `vendor` & `bootstrap/cache` when running `phpc{s,bf}` as it doesn't support `.gitignore`: squizlabs/PHP_CodeSniffer#2242 * add one space before self-closing tags @ phpunit.xml & psalm.xml * fix all violation of PHPStorm inspection `Unnecessary fully qualified name` $ ./vendor/bin/phpcbf . && ./vendor/bin/pint @ be
- Loading branch information
Showing
8 changed files
with
39 additions
and
28 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
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,10 @@ | ||
<?xml version="1.0"?> | ||
<ruleset> | ||
<rule ref="PSR12" /> | ||
<arg name="extensions" value="php" /> | ||
<exclude-pattern>*.blade.php</exclude-pattern> | ||
<exclude-pattern>_ide_helper*.php</exclude-pattern> | ||
<!-- https://github.com/squizlabs/PHP_CodeSniffer/issues/2242 --> | ||
<exclude-pattern>vendor/*</exclude-pattern> | ||
<exclude-pattern>bootstrap/cache/*</exclude-pattern> | ||
</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
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
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
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
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
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