stable

Clone or download

Read-only

Enforce autofixable PSR-2 rules on files that phpcs did not succeed to autofix

In d0830760f56b5aa33dca2449a4245c1a027d2128 some files has been ignored because phpcs was not able to fix them. This contribution fixes the remaining files in a semi-automated way and removes them from the ignore list. Part of request #13902: Enforce all PSR-2 rules that can be autofixed by PHP_CodeSniffer Change-Id: Idb65753f44081258e98eb8ddb566362a8a22c850

Modified Files

Name
M plugins/mediawiki/fusionforge/FusionForge.php +148 −104 Go to diff View file
M plugins/projectlinks/include/projectlinksPlugin.class.php +424 −386 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +33 −39 Go to diff View file
M src/common/wiki/phpwiki/lib/BlockParser.php +116 −90 Go to diff View file
M src/common/wiki/phpwiki/lib/HtmlElement.php +88 −61 Go to diff View file
M src/common/wiki/phpwiki/lib/WikiDB.php +359 −239 Go to diff View file
M src/common/wiki/phpwiki/lib/XmlElement.php +166 −102 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/Calendar.php +65 −68 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/CalendarList.php +67 −47 Go to diff View file
M tests/phpcs/tuleap-ruleset-minimal.xml +0 −11 Go to diff View file