Umherirrender has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/389043 )
Change subject: build: Add php-parallel-lint and MinusX ...................................................................... build: Add php-parallel-lint and MinusX php-lint will test for valid php files MinusX will test for executable bits Change-Id: I2afd8ae290d93102dada8d399f9eba90abb14613 --- M .gitignore M Gruntfile.js A composer.json 3 files changed, 20 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/NewSignupPage refs/changes/43/389043/1 diff --git a/.gitignore b/.gitignore index 1689d7a..8ea3b90 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ *.kate-swp .*.swp node_modules/** +vendor/** +composer.lock diff --git a/Gruntfile.js b/Gruntfile.js index 7756e75..a45071e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -10,7 +10,8 @@ jsonlint: { all: [ '**/*.json', - '!node_modules/**' + '!node_modules/**', + '!vendor/**' ] } } ); diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..392434c --- /dev/null +++ b/composer.json @@ -0,0 +1,16 @@ +{ + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.9.2", + "jakub-onderka/php-console-highlighter": "0.3.2", + "mediawiki/minus-x": "0.2.0" + }, + "scripts": { + "test": [ + "parallel-lint . --exclude vendor --exclude node_modules", + "minus-x check ." + ], + "fix": [ + "minus-x fix ." + ] + } +} -- To view, visit https://gerrit.wikimedia.org/r/389043 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2afd8ae290d93102dada8d399f9eba90abb14613 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/NewSignupPage Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits