Skip to content

Commit b1b5345

Browse files
Tsvetan StoychevTsvetan Stoychev
authored andcommitted
Fix PHP 7.4 CI compatibility
1 parent ad80bce commit b1b5345

2 files changed

Lines changed: 42 additions & 53 deletions

File tree

‎plugins/basicrum/composer.json‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,17 @@
3131
}
3232
},
3333
"scripts": {
34-
"lint": "phpcs",
35-
"lint:fix": "phpcbf",
34+
"lint": "phpcs --standard=phpcs.ruleset.xml",
35+
"lint:fix": "phpcbf --standard=phpcs.ruleset.xml",
3636
"lint:php": "parallel-lint --exclude vendor --exclude node_modules .",
3737
"unit": "phpunit",
3838
"integration": "phpunit --configuration phpunit-with-integration.xml",
3939
"coverage": "XDEBUG_MODE=coverage phpunit --coverage-clover coverage.xml"
4040
},
4141
"config": {
42+
"platform": {
43+
"php": "7.4.33"
44+
},
4245
"allow-plugins": {
4346
"composer/installers": true,
4447
"dealerdirect/phpcodesniffer-composer-installer": true

‎plugins/basicrum/composer.lock‎

Lines changed: 37 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)