Skip to content

Commit

Permalink
Run php linting and minus-x
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Dec 18, 2024
1 parent f8df1c7 commit 1d297b6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
"mediawiki/page-forms": ">=5.3.0"
},
"require-dev": {
"mediawiki/semantic-media-wiki": "@dev"
"mediawiki/semantic-media-wiki": "@dev",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0"
},
"extra": {
"branch-alias": {
Expand All @@ -56,15 +59,22 @@
}
},
"config": {
"process-timeout": 0
"process-timeout": 0,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts":{
"test": [
"@lint",
"minus-x check .",
"@phpunit"
],
"test-coverage": [
"@phpunit-coverage"
],
"lint": "parallel-lint . --exclude vendor --exclude node_modules",
"phpunit": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist",
"phpunit-coverage": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist --testdox --coverage-text --coverage-html coverage/php --coverage-clover coverage/php/coverage.xml"
}
Expand Down

0 comments on commit 1d297b6

Please sign in to comment.