History log of /dokuwiki/_test/phpcs.xml (Results 1 – 24 of 24)
Revision Date Author Comments
# fa4b9dc1 13-Sep-2023 Andreas Gohr <andi@splitbrain.org>

do not run phpcs and phpcbf on any vendor dirs

This is mostly relevant to plugin workflows.


# 95078f23 02-Sep-2023 Andreas Gohr <andi@splitbrain.org>

apply code sniffer rules to inc/parser as well


# 077b7fe2 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

add configuration for rector

A workflow should automatically suggest a new pull request with the
changes.

Initial fixes will not be applied from the auto generated PR but will be
added as piece by

add configuration for rector

A workflow should automatically suggest a new pull request with the
changes.

Initial fixes will not be applied from the auto generated PR but will be
added as piece by piece commits with rule updates to this branch.

show more ...


# 36faf696 21-Jan-2020 Michael Große <mic.grosse@googlemail.com>

Split out temporary code style excludes

Splitting them out allows for plugins to use _test/phpcs.xml as the
basis for their own linting without having an overly permissive coding
standard.
Also, thi

Split out temporary code style excludes

Splitting them out allows for plugins to use _test/phpcs.xml as the
basis for their own linting without having an overly permissive coding
standard.
Also, this makes it more obvious and painful that these are just
intended as temporary exceptions and should be actually fixed.

The rule `Generic.ControlStructures.InlineControlStructure.NotAllowed`
has its comment adjust to make it clear that this is an intended
deviation from the PSR-2/PSR-12 coding standard.

The rule `PSR1.Classes.ClassDeclaration.MissingNamespace` has to remain
in the DokuWiki coding standard as the plugin base classes can currently
not reasonably be in namespaces.

show more ...


# 903d43fe 31-Dec-2019 Michael Große <mic.grosse@googlemail.com>

Check code style against PSR12

In 2019 PSR-12 was officially released and PSR-2 deprecated. We should
adapt to that and check our files against that new coding standard.


# 6225b270 28-Dec-2019 Michael Große <mic.grosse@googlemail.com>

Extract dokuwiki\Search\Indexer class

Not sure why Doku_Indexer caused phpcs to complain about the class name
not being in PascalCase, but Doku_Handler didn't. ��

The namespace and new class name w

Extract dokuwiki\Search\Indexer class

Not sure why Doku_Indexer caused phpcs to complain about the class name
not being in PascalCase, but Doku_Handler didn't. ��

The namespace and new class name was selected to be compatible with the
upcoming changes in #2943. This should hpopefully reduce the overall
hassle of touching the same code base.

show more ...


# cc8fc761 28-Dec-2019 Michael Große <mic.grosse@googlemail.com>

Ignore some more definitions

Some of the files are still having both logic and side-effects for
legacy reasons. We are excluding them for now and might deal with them
later.


# e3cafdc2 28-Dec-2019 Michael Große <mic.grosse@googlemail.com>

Check our code style for every PR

This excludes the currently failing checks with automatic fixes, as they
are out of scope of this commit. The current goal is automatically
reject pull requests tha

Check our code style for every PR

This excludes the currently failing checks with automatic fixes, as they
are out of scope of this commit. The current goal is automatically
reject pull requests that don't me the standards that the rest of our
code base already follows.

show more ...


# b47790f9 14-Jul-2019 Andreas Gohr <andi@splitbrain.org>

Merge branch 'utf8refactor' into psr2

* utf8refactor:
replaced deprecated utf8 functions
formatting cleanup
mark old utf8 functions deprecated
Some cleanup for the UTF-8 stuff
Moved all ut

Merge branch 'utf8refactor' into psr2

* utf8refactor:
replaced deprecated utf8 functions
formatting cleanup
mark old utf8 functions deprecated
Some cleanup for the UTF-8 stuff
Moved all utf8 methods to their own namespaced classes
Create separate table files for UTF-8 handling

show more ...


# 27f63a23 21-May-2019 Andreas Gohr <andi@splitbrain.org>

some more PSR2 cleanup

mostly overlong lines and more exclude patterns


# 0da4ba1b 20-May-2019 Andreas Gohr <andi@splitbrain.org>

Some cleanup for the UTF-8 stuff

Docblocks, imports, etc...


# f4251554 20-May-2019 Andreas Gohr <andi@splitbrain.org>

Ignore mixed concerns in loader

We define and register the autoloader here.


# 1dce0478 19-May-2019 Andreas Gohr <andi@splitbrain.org>

adjust phpcs exclude patterns for new plugin classes

We still need to ignore a bunch of stuff for backwardscompatibility


# dd8af038 24-Feb-2019 Andreas Gohr <andi@splitbrain.org>

ignore more files in code sniffer configuration


# b196d8de 19-Feb-2019 Andreas Gohr <andi@splitbrain.org>

don't apply any memory limits when running code sniffer


# b78f68bc 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

some small fixes for PSR2


# 1a953a5b 01-Jun-2018 Andreas Gohr <andi@splitbrain.org>

ignore side effects in a few more files


# 2b2d0ba9 01-Jun-2018 Andreas Gohr <andi@splitbrain.org>

PSR2 adjustments for bin scripts


# 82f7cb05 11-May-2018 Andreas Gohr <andi@splitbrain.org>

adjust remote plugin handling in code check


# e79ce394 08-May-2018 Andreas Gohr <andi@splitbrain.org>

adjusted phpcs config for plugins


# 09d57d5a 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

adldap is a 3rd party lib


# 99c1e5df 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

disable some sniffs on things we can not change

because backwards compatibility. There will be more excludes. This is
just a start.


# 4b3d1701 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

do not check for namespace use, yet

We have to support lots of legacy code without namespaces


# 994e9d4e 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

added php code sniffer config