aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/build.xml4
-rw-r--r--build/code_sniffer/ruleset-php-legacy-core.xml (renamed from build/code_sniffer/ruleset-phpbb-php-legacy.xml)0
-rw-r--r--build/code_sniffer/ruleset-php-strict-core.xml (renamed from build/code_sniffer/ruleset-phpbb-php-strict.xml)2
3 files changed, 3 insertions, 3 deletions
diff --git a/build/build.xml b/build/build.xml
index 455a99fb1d..9a66853b98 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -77,14 +77,14 @@
<exec command="phpBB/vendor/bin/phpcs
-s
--extensions=php
- --standard=build/code_sniffer/ruleset-phpbb-php-strict.xml
+ --standard=build/code_sniffer/ruleset-php-strict-core.xml
--ignore=${project.basedir}/phpBB/phpbb/db/migration/data/v30x/*
phpBB/phpbb"
dir="." returnProperty="retval-php-strict" passthru="true" />
<exec command="phpBB/vendor/bin/phpcs
-s
--extensions=php
- --standard=build/code_sniffer/ruleset-phpbb-php-legacy.xml
+ --standard=build/code_sniffer/ruleset-php-legacy-core.xml
--ignore=${project.basedir}/phpBB/cache/*
--ignore=${project.basedir}/phpBB/develop/*
--ignore=${project.basedir}/phpBB/includes/diff/*.php
diff --git a/build/code_sniffer/ruleset-phpbb-php-legacy.xml b/build/code_sniffer/ruleset-php-legacy-core.xml
index 9f11ce290e..9f11ce290e 100644
--- a/build/code_sniffer/ruleset-phpbb-php-legacy.xml
+++ b/build/code_sniffer/ruleset-php-legacy-core.xml
diff --git a/build/code_sniffer/ruleset-phpbb-php-strict.xml b/build/code_sniffer/ruleset-php-strict-core.xml
index 6da9297099..b60a365ec9 100644
--- a/build/code_sniffer/ruleset-phpbb-php-strict.xml
+++ b/build/code_sniffer/ruleset-php-strict-core.xml
@@ -3,7 +3,7 @@
<description>phpBB legacy coding standard for PHP files</description>
- <rule ref="./ruleset-phpbb-php-legacy.xml" />
+ <rule ref="./ruleset-php-legacy-core.xml" />
<rule ref="./ruleset-php-strict.xml" />
</ruleset>