mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-25 02:16:12 +01:00

Add a Rector job for GitLab CI

This commit is contained in:
Oliver Klee 2024-09-17 14:58:00 +02:00
parent 68892be32e
commit 5ed0f25d21
No known key found for this signature in database
GPG key ID: E74BB46157AA8FDF
2 changed files with 12 additions and 0 deletions

View file

@ -35,6 +35,7 @@ include:
- '/.gitlab/pipeline/jobs/php-lint-php8.2.yml' - '/.gitlab/pipeline/jobs/php-lint-php8.2.yml'
- '/.gitlab/pipeline/jobs/php-lint-php8.3.yml' - '/.gitlab/pipeline/jobs/php-lint-php8.3.yml'
- '/.gitlab/pipeline/jobs/phpcs.yml' - '/.gitlab/pipeline/jobs/phpcs.yml'
- '/.gitlab/pipeline/jobs/rector.yml'
- '/.gitlab/pipeline/jobs/typoscript-lint.yml' - '/.gitlab/pipeline/jobs/typoscript-lint.yml'
- '/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml' - '/.gitlab/pipeline/jobs/unit-php7.4-v11-highest.yml'
- '/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml' - '/.gitlab/pipeline/jobs/unit-php7.4-v11-lowest.yml'

View file

@ -0,0 +1,11 @@
rector:
extends: .default
stage: codestyle
needs:
- build-composer-dependencies
- php-lint-php7.4
- php-lint-php8.0
- php-lint-php8.1
- php-lint-php8.2
script:
- composer ci:php:rector