You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a work in progress by the project maintainer team. Please do not spam.
Since its inception, PHPMD could configured by XML, only.
That XML schema is/was based on PMD, the Java tool PHPMD was inspired from.
Now, support for one or more configuration formats could be implemented.
Either for the next minor version in addition to XML or for the next major version, 3.0, either in addition or as replacement to XML.
There are a few formats to choose from.
Beyond the mere format of the configuration, the schema and its rules must also be defined.
If the XML format should be replaced, it would be sensible to have some transition phase. Either through the next minor versions [TBD] or by deprecating the old XML format but retaining it in 3.x for backwards compatibility.
XML
Advantages:
XML validierbar
XML Tooling
Has been this way since the beginning
Disadvantages:
PHP developers are less used to XML, than to other formats
This issue is a work in progress by the project maintainer team. Please do not spam.
Since its inception, PHPMD could configured by XML, only.
That XML schema is/was based on PMD, the Java tool PHPMD was inspired from.
Now, support for one or more configuration formats could be implemented.
Either for the next minor version in addition to XML or for the next major version, 3.0, either in addition or as replacement to XML.
There are a few formats to choose from.
Beyond the mere format of the configuration, the schema and its rules must also be defined.
If the XML format should be replaced, it would be sensible to have some transition phase. Either through the next minor versions [TBD] or by deprecating the old XML format but retaining it in 3.x for backwards compatibility.
XML
Advantages:
Disadvantages:
Used by:
JSON
https://de.wikipedia.org/wiki/JavaScript_Object_Notation
Advantages:
Disadvantages:
Used by:
PHP
Advantages:
Disadvantages:
Used by:
YAML
https://de.wikipedia.org/wiki/YAML
Advantages:
Disadvantages:
Used by:
Neon
https://github.com/nette/neon
Advantages:
Disadvantages:
Used by:
Others
Advantages:
Disadvantages:
Used by:
Additional info
Noteworthy open related to the current XML configuration issues and PRs:
#39 -> #664
#545 & #546 -> #1166
#670
#705 -> probably fixed by #1166 too
#895
#886
#1058
The text was updated successfully, but these errors were encountered: