Skip to content

Commit

Permalink
Remove PHP 8.0 and PHPStan from GitHub CI workflow
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Dropelikeit committed Mar 9, 2024
1 parent 2df303b commit 9364cdf
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,6 @@ on:
push:

jobs:
php80:
name: PHP 8.0
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
with:
fetch-depth: 2

- name: "Install PHP 8.0"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"

- name: "Cache composer packages"
uses: "actions/cache@v3"
with:
path: "~/.composer/cache"
key: "php-composer-locked-${{ hashFiles('composer.lock') }}"
restore-keys: "php-composer-locked-"

- name: "Install dependencies with composer"
run: "composer install --no-interaction"

- name: "Run PHPUnit Tests"
run: "composer test"

- name: "Run PHP CS Check"
run: "composer cs-check"

- name: "Run PHPStan"
run: "composer analyze"

- name: "Run Psalm"
run: "composer psalm"

php81:
name: PHP 8.1
runs-on: ubuntu-latest
Expand Down Expand Up @@ -71,9 +35,6 @@ jobs:
- name: "Run PHP CS Check"
run: "composer cs-check"

- name: "Run PHPStan"
run: "composer analyze"

- name: "Run Psalm"
run: "composer psalm"

Expand Down Expand Up @@ -107,8 +68,5 @@ jobs:
- name: "Run PHP CS Check"
run: "PHP_CS_FIXER_IGNORE_ENV=1 composer cs-check"

- name: "Run PHPStan"
run: "composer analyze"

- name: "Run Psalm"
run: "composer psalm"

0 comments on commit 9364cdf

Please sign in to comment.