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

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


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PdfExport 
refs/changes/80/389080/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/389080
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

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