Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 4887553

Browse files
authored
Add php compatibility check (#383)
1 parent 7c41e7f commit 4887553

File tree

3 files changed

+12
-2110
lines changed

3 files changed

+12
-2110
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
vendor/
21
node_modules/
32
.eslintcache
43
tests/selenium/log
54
# We use yarn instead of npm
65
package-lock.json
6+
7+
# composer dependencies
8+
/vendor/
9+
composer.lock

composer.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"mediawiki/mediawiki-phan-config": "0.12.0",
77
"mediawiki/minus-x": "1.1.1",
88
"php-parallel-lint/php-console-highlighter": "1.0.0",
9-
"php-parallel-lint/php-parallel-lint": "1.3.2"
9+
"php-parallel-lint/php-parallel-lint": "1.3.2",
10+
"phpcompatibility/php-compatibility": "9.3.5",
11+
"dealerdirect/phpcodesniffer-composer-installer": "0.7.2"
1012
},
1113
"scripts": {
1214
"fix": [
@@ -18,5 +20,10 @@
1820
"phpcs -p -s",
1921
"minus-x check ."
2022
]
23+
},
24+
"config": {
25+
"allow-plugins": {
26+
"dealerdirect/phpcodesniffer-composer-installer": true
27+
}
2128
}
2229
}

0 commit comments

Comments
 (0)