Problem/Motivation
GitLab CI (#3644328: Add GitLab CI configuration) reports PHPCS and PHPStan errors. The PHPUnit job reports deprecations: the (integer) cast (PHP 8.5) and the @FieldWidget annotation (removed in Drupal 13).
Steps to reproduce
-
Proposed resolution
- Fix the PHPCS and PHPStan errors.
- Use the #[FieldWidget] attribute. This requires Drupal 10.2 or later, so change core_version_requirement to ^10.3 || ^11.
- Set allow_failure: false for the cspell, phpcs and phpstan jobs.
Remaining tasks
- MR
User interface changes
-
API changes
-
Data model changes
-
Comments
Comment #2
tobiasbComment #6
tobiasb