aboutsummaryrefslogtreecommitdiffstats
path: root/build/code_sniffer/ruleset-php-legacy-core.xml
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-22 01:19:02 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-22 01:19:02 +0200
commite7c6da2c5426a6eaff1a5d572b2b432407eb0dc2 (patch)
treebd5bb1fc08db84fccd62c66d2fe88a4e94fc1cd8 /build/code_sniffer/ruleset-php-legacy-core.xml
parent32a2c95f903cbbfad909945887a1cbabd84d5039 (diff)
downloadforums-e7c6da2c5426a6eaff1a5d572b2b432407eb0dc2.tar
forums-e7c6da2c5426a6eaff1a5d572b2b432407eb0dc2.tar.gz
forums-e7c6da2c5426a6eaff1a5d572b2b432407eb0dc2.tar.bz2
forums-e7c6da2c5426a6eaff1a5d572b2b432407eb0dc2.tar.xz
forums-e7c6da2c5426a6eaff1a5d572b2b432407eb0dc2.zip
[ticket/12723] Use core suffix in filename instead of phpbb in the middle.
PHPBB3-12723
Diffstat (limited to 'build/code_sniffer/ruleset-php-legacy-core.xml')
-rw-r--r--build/code_sniffer/ruleset-php-legacy-core.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/code_sniffer/ruleset-php-legacy-core.xml b/build/code_sniffer/ruleset-php-legacy-core.xml
new file mode 100644
index 0000000000..9f11ce290e
--- /dev/null
+++ b/build/code_sniffer/ruleset-php-legacy-core.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<ruleset name="phpBB PHP Legacy Standard">
+
+ <description>phpBB legacy coding standard for PHP files</description>
+
+ <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) -->
+ <rule ref="./phpbb/Sniffs/Commenting/FileCommentSniff.php" />
+
+</ruleset>