Adhere deprecation notes
- Use `when:` - Remove `group: lint`
This commit is contained in:
parent
4f24247aa7
commit
9ce2142d99
|
@ -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:
|
||||||
|
|
|
@ -8,5 +8,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- /check-messages.sh
|
- /check-messages.sh
|
||||||
|
|
||||||
branches:
|
when:
|
||||||
exclude: [ stable ]
|
- branch:
|
||||||
|
exclude: [ stable ]
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user