Jdlrobson created this task. Jdlrobson added a subscriber: Jdlrobson. Jdlrobson added a project: Wikidata-Page-Banner. Jdlrobson moved this task to Triaged on the Wikidata-Page-Banner workboard. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION review/sumit/php-entry-points x ~/git/core/extensions/WikidataPageBanner $ php ~/git/core/composer.phar test Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/Users/jrobson/git/core/composer.phar self-update" to get the latest version. PHP 5.4.38 | 10 parallel jobs ....... 7/7 (100 %) Checked 7 files in 0.4 seconds, no syntax error found .E....W FILE: ...son/git/WikidataPageBanner/includes/WikidataPageBanner.hooks.php ---------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 2 LINES ---------------------------------------------------------------------- 21 | WARNING | [x] Usage of ELSE IF is discouraged; use ELSEIF | | instead 104 | WARNING | [x] Usage of ELSE IF is discouraged; use ELSEIF | | instead 104 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected | | "false" but found "FALSE" ---------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY ---------------------------------------------------------------------- FILE: /Users/jrobson/git/WikidataPageBanner/WikidataPageBanner.php ---------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ---------------------------------------------------------------------- 40 | WARNING | Line exceeds 100 characters; contains 102 characters 41 | WARNING | Line exceeds 100 characters; contains 102 characters ---------------------------------------------------------------------- Time: 211ms; Memory: 4.5Mb Script phpcs --standard=vendor/mediawiki/mediawiki-codesniffer/MediaWiki --extensions=php,php5,inc --ignore=vendor -p . handling the test event returned with an error [RuntimeException] Error Output: TASK DETAIL https://phabricator.wikimedia.org/T101293 WORKBOARD https://phabricator.wikimedia.org/project/board/1158/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson Cc: Aklapper, Jdlrobson, Wikidata-bugs, aude, Lydia_Pintscher _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs