Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f0012d

Browse files
committedMar 27, 2024
feat: drop support for EOLed PHPs
- Test on 8.2 and 8.3 - Use installed psalm - Bump psalm to v5.23
1 parent fdfdc2e commit 3f0012d

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed
 

‎.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
php-version:
17-
- "7.4"
17+
- "8.1"
1818

1919
steps:
2020
- name: "Checkout"

‎.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
strategy:
1313
matrix:
1414
php-version:
15-
- "7.4"
16-
- "8.0"
1715
- "8.1"
16+
- "8.2"
17+
- "8.3"
1818
dependencies:
1919
- "highest"
2020
include:
2121
- dependencies: "lowest"
22-
php-version: "7.4"
22+
php-version: "8.1"
2323

2424
steps:
2525
- name: "Checkout"

‎.github/workflows/static-analysis.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
php-version:
17-
- "7.4"
17+
- "8.1"
1818

1919
steps:
2020
- name: "Checkout code"
@@ -40,20 +40,21 @@ jobs:
4040
strategy:
4141
matrix:
4242
php-version:
43-
- "7.4"
43+
- "8.1"
4444

4545
steps:
4646
- name: Checkout code
4747
uses: actions/checkout@v2
4848

49-
- name: Psalm
50-
uses: docker://vimeo/psalm-github-actions:4.4.1
51-
with:
52-
args: --shepherd
53-
composer_require_dev: true
54-
security_analysis: true
55-
report_file: results.sarif
56-
- name: Upload Security Analysis results to GitHub
57-
uses: github/codeql-action/upload-sarif@v1
49+
- name: "Install PHP"
50+
uses: "shivammathur/setup-php@v2"
5851
with:
59-
sarif_file: results.sarif
52+
coverage: "none"
53+
php-version: "${{ matrix.php-version }}"
54+
tools: "cs2pr"
55+
56+
- name: "Install dependencies with Composer"
57+
uses: "ramsey/composer-install@v1"
58+
59+
- name: "Run a static analysis with vimeo/psalm"
60+
run: "vendor/bin/psalm

‎composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
]
1919
},
2020
"require": {
21-
"php": "^7.4 || ^8.0"
21+
"php": "^8.1"
2222
},
2323
"require-dev": {
2424
"bentools/cartesian-product": "^1.3",
2525
"doctrine/coding-standard": "^8.2",
26-
"pestphp/pest": "^1.0,<=1.13",
26+
"pestphp/pest": "^1.13",
2727
"phpstan/extension-installer": "^1.1",
2828
"phpstan/phpstan": "^0.12.67",
2929
"phpstan/phpstan-strict-rules": "^0.12.9",
3030
"symfony/var-dumper": "^5.2",
31-
"vimeo/psalm": "^4.4"
31+
"vimeo/psalm": "^5.23"
3232
},
3333
"config": {
3434
"sort-packages": true,

0 commit comments

Comments
 (0)
Please sign in to comment.