Skip to content

Commit

Permalink
Update dependency automattic/jetpack-codesniffer to v3 (#107)
Browse files Browse the repository at this point in the history
* Update dependency automattic/jetpack-codesniffer to v3

* Update dependencies to match

* Fix phpcs warning

* Update testing and linting matrix dependencies

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
  • Loading branch information
renovate[bot] and jeherve authored Feb 8, 2024
1 parent 9a9331d commit 0b552c7
Show file tree
Hide file tree
Showing 5 changed files with 565 additions and 228 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.4', '8.0' ]
php-versions: [ '8.1', '8.2' ]
experimental: [ false ]

steps:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.2
tools: composer
extensions: mysql, imagick
coverage: none
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.2
tools: composer
extensions: mysql, imagick
coverage: none
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.4', '8.0' ]
php-versions: [ '8.1', '8.2' ]
experimental: [ false ]

steps:
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
},
"require-dev": {
"automattic/wordbless": "dev-master",
"automattic/jetpack-codesniffer": "2.6.1",
"dealerdirect/phpcodesniffer-composer-installer": "0.7.2",
"php-parallel-lint/php-parallel-lint": "1.3.2",
"yoast/phpunit-polyfills": "1.0.4"
"automattic/jetpack-codesniffer": "3.0.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"php-parallel-lint/php-parallel-lint": "1.3.2"
},
"scripts": {
"php:lint": [
Expand Down
Loading

0 comments on commit 0b552c7

Please sign in to comment.