Add GitLab CI and baseline test coverage to improve code quality and release reliability:

CI jobs: composer validate, PHPCS (Drupal/DrupalPractice), phpstan-drupal (level 8), PHPUnit (Unit/Kernel/Functional minimal).

Add config files: .gitlab-ci.yml, phpcs.xml.dist, phpstan.neon.dist, phpunit.xml.dist.

Add minimal tests: load /admin/seo and verify safe redirects; ensure dynamic routes register.

Fix analyzer findings without changing public API.

Tasks

[ ] Add CI pipeline with the jobs listed above.

[ ] Add PHPCS and phpstan configs (level 8; set drupal_root: web).

[ ] Add PHPUnit config and minimal Kernel/Functional tests.

[ ] Make code adjustments required by analyzers (types, DI, docs) if any.

[ ] Update README briefly about CI/tests.
Acceptance criteria

[ ] All CI jobs pass on drupal.org GitLab.

[ ] PHPCS/DrupalPractice reports 0 errors for the module.

[ ] phpstan-drupal level 8 is clean for the module.

[ ] Tests pass locally and in CI

Issue fork myrest_seo-3565233

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sergeydruua created an issue. See original summary.

sergeydruua’s picture

Assigned: sergeydruua » 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.