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 9364cdf

Browse files
committedMar 9, 2024··
Remove PHP 8.0 and PHPStan from GitHub CI workflow
The GitHub CI workflow has been updated to remove support for PHP 8.0 and the PHPStan static analysis tool. The workflow now emphasizes compatibility with PHP 8.1, PHPUnit 10.5 or 11.0, and prioritizes the use of Psalm for code analysis. Signed-off-by: Marcel Strahl <info@marcel-strahl.de>
1 parent 2df303b commit 9364cdf

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed
 

‎.github/workflows/ci.yml

-42
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,6 @@ on:
55
push:
66

77
jobs:
8-
php80:
9-
name: PHP 8.0
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: "Checkout"
13-
uses: "actions/checkout@v3"
14-
with:
15-
fetch-depth: 2
16-
17-
- name: "Install PHP 8.0"
18-
uses: "shivammathur/setup-php@v2"
19-
with:
20-
php-version: "8.0"
21-
22-
- name: "Cache composer packages"
23-
uses: "actions/cache@v3"
24-
with:
25-
path: "~/.composer/cache"
26-
key: "php-composer-locked-${{ hashFiles('composer.lock') }}"
27-
restore-keys: "php-composer-locked-"
28-
29-
- name: "Install dependencies with composer"
30-
run: "composer install --no-interaction"
31-
32-
- name: "Run PHPUnit Tests"
33-
run: "composer test"
34-
35-
- name: "Run PHP CS Check"
36-
run: "composer cs-check"
37-
38-
- name: "Run PHPStan"
39-
run: "composer analyze"
40-
41-
- name: "Run Psalm"
42-
run: "composer psalm"
43-
448
php81:
459
name: PHP 8.1
4610
runs-on: ubuntu-latest
@@ -71,9 +35,6 @@ jobs:
7135
- name: "Run PHP CS Check"
7236
run: "composer cs-check"
7337

74-
- name: "Run PHPStan"
75-
run: "composer analyze"
76-
7738
- name: "Run Psalm"
7839
run: "composer psalm"
7940

@@ -107,8 +68,5 @@ jobs:
10768
- name: "Run PHP CS Check"
10869
run: "PHP_CS_FIXER_IGNORE_ENV=1 composer cs-check"
10970

110-
- name: "Run PHPStan"
111-
run: "composer analyze"
112-
11371
- name: "Run Psalm"
11472
run: "composer psalm"

0 commit comments

Comments
 (0)
Please sign in to comment.