Skip to content

Commit

Permalink
Update phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Jan 16, 2025
1 parent c4df2a5 commit eae285f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
phpcs:
name: PHP Lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2', '8.3']

steps:
- name: Checkout
Expand All @@ -64,4 +68,4 @@ jobs:
run: composer install

- name: PHPCS check
run: './vendor/bin/phpcs . -q --report=checkstyle --warning-severity=6 --runtime-set testVersion 5.6- | cs2pr'
run: "./vendor/bin/phpcs . -q --report=checkstyle --warning-severity=6 --runtime-set testVersion ${{ matrix.php }}- | cs2pr
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"issues": "https://wordpress.org/support/plugin/brightcove-video-connect/"
},
"require": {
"php": ">=5.2.4",
"php": ">=5.6",
"composer/installers": "^1.0 || ^2.0"
},
"scripts": {
Expand Down

0 comments on commit eae285f

Please sign in to comment.