Skip to content

Commit

Permalink
chore: drop PHP 7.2, 7.3,7.4,8.0 and upgrade phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Mar 22, 2023
1 parent 3528113 commit 93863e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-and-analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.2"
php-version: "8.1"
- name: Install dependencies
run: composer install --no-interaction
- name: Lint files
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.2"
php-version: "8.1"
- name: Install dependencies
run: composer install --no-interaction
- name: Analyse files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
php-version: ["8.1", "8.2"]
os: [ubuntu-latest]
experimental: [false]
composer-options: ['']
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
}
},
"require": {
"php": "^7.2.9 || ^8.0",
"php": "^8.1",
"twig/twig": "^3",
"phpmyadmin/twig-i18n-extension": "^4.0"
},
"require-dev": {
"phpunit/phpunit": "^7 || ^8 || ^9",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan": "^1.10",
"wdes/coding-standard": "^3"
},
"config": {
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
parameters:
checkMissingIterableValueType: false
level: max
excludes_analyse:
- vendor/*
paths:
- src/
- example/
Expand Down

0 comments on commit 93863e1

Please sign in to comment.