diff --git a/.github/workflows/phpCS.yml b/.github/workflows/phpCS.yml index bf1d6b259..fd46c4682 100644 --- a/.github/workflows/phpCS.yml +++ b/.github/workflows/phpCS.yml @@ -19,4 +19,4 @@ jobs: run: wget https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar - name: run PHP codesniffer - run: php phpcs.phar -v --standard=_test/phpcs.xml + run: php phpcs.phar -v --standard=_test/phpcs_MigrationAdjustments.xml diff --git a/_test/phpcs.xml b/_test/phpcs.xml index 6e78784c8..8f0d4dd24 100644 --- a/_test/phpcs.xml +++ b/_test/phpcs.xml @@ -34,88 +34,13 @@ */inc/cli.php */inc/parser/* - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -152,25 +77,4 @@ */inc/Extension/PluginInterface.php */inc/Extension/PluginTrait.php - - - - */index.php - */inc/parserutils.php - */inc/mail.php - */inc/init.php - */inc/farm.php - */inc/fulltext.php - */inc/pluginutils.php - */inc/indexer.php - */inc/Mailer.class.php - */doku.php - */install.php - */inc/utf8.php - */feed.php - */inc/load.php - */bin/*.php - */lib/exe/*.php - - diff --git a/_test/phpcs_MigrationAdjustments.xml b/_test/phpcs_MigrationAdjustments.xml new file mode 100644 index 000000000..d9d11832b --- /dev/null +++ b/_test/phpcs_MigrationAdjustments.xml @@ -0,0 +1,103 @@ + + + These are exceptions to the Coding Standard used for DokuWiki that are intended to be removed over time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */index.php + */inc/parserutils.php + */inc/mail.php + */inc/init.php + */inc/farm.php + */inc/fulltext.php + */inc/pluginutils.php + */inc/indexer.php + */inc/Mailer.class.php + */doku.php + */install.php + */inc/utf8.php + */feed.php + */inc/load.php + */bin/*.php + */lib/exe/*.php + + +