Skip to content

Commit 553cd5e

Browse files
authored
Merge pull request #15 from 123inkt/Add-php-83-to-matrix
Add PHP8.3 to test matrix
2 parents f142906 + 76539a0 commit 553cd5e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
php-versions: ['7.4', '8.0', '8.1', '8.2']
18+
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']
1919
composer-flags: ['', '--prefer-lowest']
2020
steps:
2121
- uses: actions/checkout@v4
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup PHP
4545
uses: shivammathur/setup-php@v2
4646
with:
47-
php-version: 8.0
47+
php-version: 8.3
4848
coverage: none
4949

5050
- name: Install dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ composer require --dev digitalrevolution/php-codesniffer-baseline
1818
Create the baseline by using phpcs regularly and writing the report with the Baseline report class. You must write the baseline
1919
to the root of the project and name it `phpcs.baseline.xml`.
2020
```bash
21-
php vendor/bin/phpcs src tests --report=\\DR\\CodeSnifferBaseline\\Reports\\Baseline --report-file=phpcs.baseline.xml --basepath=/path/to/project/root
21+
php vendor/bin/phpcs src tests --report=\\DR\\CodeSnifferBaseline\\Reports\\Baseline --report-file=phpcs.baseline.xml --basepath=.
2222
```
2323

2424
## Usage

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"process-timeout": 0,
1010
"allow-plugins": {
1111
"phpstan/extension-installer": true
12-
}
12+
},
13+
"lock": false
1314
},
1415
"require": {
1516
"php": ">=7.4",
@@ -18,9 +19,8 @@
1819
},
1920
"require-dev": {
2021
"composer/composer": "^2.0",
21-
"micheh/phpcs-gitlab": "^1.1",
2222
"mikey179/vfsstream": "1.6.11",
23-
"phpmd/phpmd": "@stable",
23+
"phpmd/phpmd": "^2.15",
2424
"phpstan/phpstan": "^1.4",
2525
"phpstan/phpstan-phpunit": "^1.0",
2626
"phpstan/phpstan-strict-rules": "^1.1",

0 commit comments

Comments
 (0)