Skip to content
Snippets Groups Projects
Commit c3647fbd authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3369381 by Project Update Bot: Automated Drupal 10 compatibility fixes...

Issue #3369381 by Project Update Bot: Automated Drupal 10 compatibility fixes for Unite and functional tests
parent 4017bfc9
No related branches found
No related tags found
No related merge requests found
Pipeline #25903 failed
......@@ -115,8 +115,12 @@ stages:
paths:
- vendor/
script:
- composer config bin-dir bin
- composer config --no-plugins allow-plugins.phpstan/extension-installer true
- composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
- composer require phpstan/phpstan:~1.10.0
- composer require phpstan/extension-installer:~1.3.0
- composer require phpstan/phpstan-deprecation-rules:~1.1.0
- composer validate
- composer install
......@@ -138,10 +142,10 @@ stages:
################
'🧹 PHP Coding standards (PHPCS)':
<<: [ *with-composer-cache, *with-yarn-cache, *default-job-settings-lint ]
<<: [ *with-composer-cache, *default-job-settings-lint ]
stage: 🪄 Lint
script:
- yarn phpcs
- ./bin/phpcs --standard=./.phpcs.xml .
'🧹 PHP Static Analysis (phpstan)':
<<: [ *with-composer-cache, *default-job-settings-lint ]
......
......@@ -25,10 +25,5 @@
"require": {
"drupal/core": "^8 || ^9 || ^10",
"drupal/entityqueue": "~1.0"
},
"require-dev": {
"phpstan/phpstan": "~1.10.0",
"phpstan/extension-installer": "~1.3.0",
"phpstan/phpstan-deprecation-rules": "~1.1.0"
}
}
......@@ -13,6 +13,7 @@ parameters:
- web/*
- vendor/*
- node_modules/*
- tests/*
ignoreErrors:
# new static() is a best practice in Drupal, so we cannot fix that.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment