-
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.
Merge pull request #197 from palantirnet/the-build-coding-standard
Update coding standards in the-build.
- Loading branch information
Showing
10 changed files
with
409 additions
and
311 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,35 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!-- | ||
@see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml#the-annotated-sample-file | ||
@see https://www.drupal.org/docs/develop/standards | ||
@see https://github.com/squizlabs/PHP_CodeSniffer | ||
@see https://www.drupal.org/project/coder | ||
@see vendor/drupal/coder/coder_sniffer/ | ||
--> | ||
|
||
<ruleset name="palantirnet/the-build"> | ||
<description>PHP_CodeSniffer configuration.</description> | ||
|
||
<!-- Warnings and errors should throw an exception. --> | ||
<config name="ignore_warnings_on_exit" value="0" /> | ||
<config name="ignore_errors_on_exit" value="0" /> | ||
|
||
<!-- Set extensions to scan. --> | ||
<arg name="extensions" value="php,module,inc,install,test,profile,theme,info,yml,css,js"/> | ||
|
||
<!-- Use colors in output. --> | ||
<arg name="colors"/> | ||
|
||
<!-- Show progress. --> | ||
<arg value="p"/> | ||
|
||
<!-- Include existing standards. --> | ||
<rule ref="Drupal"/> | ||
<rule ref="DrupalPractice"/> | ||
|
||
<!-- Directories to scan. --> | ||
<file>src</file> | ||
<file>defaults/standard/modules/the_build_utility</file> | ||
|
||
</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
Oops, something went wrong.