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

tobiasb created an issue. See original summary.

tobiasb’s picture

Issue summary: View changes

  • tobiasb committed 9c83a877 on 3644333-fix-coding-standards
    refactor: #3644333 Fix cspell errors
    

  • tobiasb committed 09f6fc19 on 1.0.x
    refactor: #3644333 Fix coding standards, PHPStan errors and deprecations
    
tobiasb’s picture

Assigned: tobiasb » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.