diff options
-rw-r--r-- | build/build.xml | 1 | ||||
-rw-r--r-- | build/code_sniffer/ruleset-php-legacy-core.xml | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/build/build.xml b/build/build.xml index 5354b5d48c..d3489ab607 100644 --- a/build/build.xml +++ b/build/build.xml @@ -101,6 +101,7 @@ -s --extensions=php --standard=build/code_sniffer/ruleset-php-extensions.xml + --ignore=${project.basedir}/phpBB/ext/*/tests/* phpBB/ext" dir="." returnProperty="retval-php-ext" passthru="true" /> <if> diff --git a/build/code_sniffer/ruleset-php-legacy-core.xml b/build/code_sniffer/ruleset-php-legacy-core.xml index a093309a01..55f2461a04 100644 --- a/build/code_sniffer/ruleset-php-legacy-core.xml +++ b/build/code_sniffer/ruleset-php-legacy-core.xml @@ -5,9 +5,7 @@ <rule ref="./ruleset-php-legacy.xml" /> - <!-- THe header file MUST contains: - - the phpBB copyright: (c) phpBB Limited <https://www.phpbb.com> - - the phpBB License: GNU General Public License, version 2 (GPL-2.0) --> + <!-- Each file MUST start with a valid header as defined by the Coding Guidelines --> <rule ref="./phpbb/Sniffs/Commenting/FileCommentSniff.php" /> </ruleset> |