Adhere deprecation notes

- Use `when:`
- Remove `group: lint`
This commit is contained in:
Philipp 2024-03-15 23:48:49 +01:00
parent 4f24247aa7
commit 9ce2142d99
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
3 changed files with 6 additions and 5 deletions

View File

@ -3,8 +3,9 @@ matrix:
- PHP_MAJOR_VERSION: 8.2 - PHP_MAJOR_VERSION: 8.2
PHP_VERSION: 8.2.16 PHP_VERSION: 8.2.16
branches: when:
exclude: [ stable ] - branch:
exclude: [ stable ]
# This forces CI executions at the "opensocial" labeled location (because of much more power...) # This forces CI executions at the "opensocial" labeled location (because of much more power...)
labels: labels:

View File

@ -8,5 +8,6 @@ steps:
commands: commands:
- /check-messages.sh - /check-messages.sh
branches: when:
exclude: [ stable ] - branch:
exclude: [ stable ]

View File

@ -18,7 +18,6 @@ labels:
steps: steps:
php-lint: php-lint:
image: php:${PHP_MAJOR_VERSION} image: php:${PHP_MAJOR_VERSION}
group: lint
commands: commands:
- find . -name \*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l - find . -name \*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l
restore_cache: restore_cache: