Loading
Resolve #3627551 "Fix gitlab jobs"
https://www.drupal.org/project/admin_toolbar/issues/3627551
Fixed Gitlab validation jobs for next minor (11.5.x) and LTS build (9.5.x):
-
Next minor:
11.5.x- phpstan:
- Fixed
project_browsererror crashing the job by bumping to the dev version instead of current "buggy" stable (2.1.5). - Ignored phpstan deprecation errors for 11.5 and above in
ToolbarControllerin filephpstan.neon.
- Fixed
- phpunit:
- Added the
IgnoreDeprecationsPHP Attribute to all tests classes to prevent job from failing due to deprecation warnings. - Fixed
AdminToolbarToolsTesttest regex to be a bit more flexible and allow different attributes at different position in the generated HTML markup.
- Added the
- phpstan:
-
Previous major:
10.x- phpstan: Removed PHP Attribute
IgnoreDeprecationsin all tests classes to prevent errors due to undefined attribute.
- phpstan: Removed PHP Attribute
-
LTS build:
9.5.x- phpunit: Fixed test
AdminToolbarSearchSettingsFormTestby replacing the current method using a regex to check the response, with a more flexible way comparing array values from the decoded JSON object.
- phpunit: Fixed test