diff --git a/.minus-x.json b/.minus-x.json new file mode 100644 index 00000000..8a8d7f01 --- /dev/null +++ b/.minus-x.json @@ -0,0 +1,5 @@ +{ + "ignore": [ + "./engines/LuaStandalone/binaries/lua5_1_5_mac_lion_fat_generic/lua" + ] +} diff --git a/composer.json b/composer.json index 7d64ef71..bd22bbcc 100644 --- a/composer.json +++ b/composer.json @@ -20,15 +20,18 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", "mediawiki/mediawiki-codesniffer": "0.12.0", + "mediawiki/minus-x": "0.1.0", "jakub-onderka/php-console-highlighter": "0.3.2" }, "scripts": { "test": [ "parallel-lint . --exclude vendor", - "phpcs -p -s" + "phpcs -p -s", + "minus-x.php check ." ], "fix": [ - "phpcbf" + "phpcbf", + "minus-x.php fix ." ] } }