Skip to content

Commit 90c2bfe

Browse files
authored
Merge pull request #24 from spryker-sdk/feature/frw-998/dev-php-upgrade-and-drop-8
FRW-998 Switched PHP version from 7.3 to 8.0 by default, enabled support of PHP 8.1 and 8.2
2 parents 5c90881 + 7b5b8f5 commit 90c2bfe

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php-version: [ '7.3', '8.2' ]
14+
php-version: [ '8.1', '8.2' ]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
php-version: [ '7.3' ]
57+
php-version: [ '8.0' ]
5858

5959
steps:
6060
- name: Checkout

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Spryker PHPStan Extensions
22
[![Build Status](https://github.com/spryker-sdk/phpstan-spryker/workflows/CI/badge.svg?branch=master)](https://github.com/spryker-sdk/phpstan-spryker/actions?query=workflow%3ACI+branch%3Amaster)
3-
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%207.3-8892BF.svg)](https://php.net/)
3+
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://php.net/)
44
[![License](https://poser.pugx.org/spryker/code-sniffer/license.svg)](https://packagist.org/packages/spryker-sdk/phpstan-spryker)
55

66
* [PHPStan](https://github.com/phpstan/phpstan)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": ">=7.3",
17+
"php": ">=8.0",
1818
"phpunit/phpunit": "^9.5",
1919
"phpstan/phpstan": "^1.0.0"
2020
},

tests/phpstan.neon

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
includes:
22
- ../vendor/phpstan/phpstan-strict-rules/rules.neon
33

4-
services:
5-
scopeIsInClass:
6-
class: PHPStan\Internal\ScopeIsInClassTypeSpecifyingExtension
7-
arguments:
8-
isInMethodName: isInClass
9-
removeNullMethodName: getClassReflection
10-
tags:
11-
- phpstan.typeSpecifier.methodTypeSpecifyingExtension
12-
134
parameters:
145
checkMissingIterableValueType: false
156
ignoreErrors:

0 commit comments

Comments
 (0)