Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/389051 )

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: I1cc3189331919dba6cda45b51d40f1d0af35fad4
---
M .gitignore
A composer.json
2 files changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Numbertext 
refs/changes/51/389051/1

diff --git a/.gitignore b/.gitignore
index c369f1e..8aa2a07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 node_modules/
 vendor/
+composer.lock
 
 # Editors
 *.kate-swp
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/389051
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1cc3189331919dba6cda45b51d40f1d0af35fad4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Numbertext
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

Reply via email to