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_VERSION: 8.2.16
branches:
exclude: [ stable ]
when:
- branch:
exclude: [ stable ]
# This forces CI executions at the "opensocial" labeled location (because of much more power...)
labels:

View file

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

View file

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