mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Swapped PHPCS for StyleCI
Trying out StyleCI as an automated easy way to ensure code style is consistent across the PHP codebase. PHPCS+PHPCBF was good but I wouldn't run it enough then I'd get paranoid about running it with pending PRs. Better to let the robots stay on top of things.
This commit is contained in:
12
phpcs.xml
12
phpcs.xml
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset name="BookStack Standard">
|
||||
<!-- Format described at: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
|
||||
<description>The coding standard for BookStack.</description>
|
||||
<config name="php_version" value="70205"/>
|
||||
<file>./app</file>
|
||||
<exclude-pattern>*/migrations/*</exclude-pattern>
|
||||
<exclude-pattern>*/tests/*</exclude-pattern>
|
||||
<arg value="np"/>
|
||||
<arg name="colors"/>
|
||||
<rule ref="PSR2"/>
|
||||
</ruleset>
|
Reference in New Issue
Block a user