Skip to content

Commit

Permalink
Merge pull request #24 from spryker-sdk/feature/frw-998/dev-php-upgra…
Browse files Browse the repository at this point in the history
…de-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
  • Loading branch information
asmarovydlo authored Nov 2, 2023
2 parents 5c90881 + 7b5b8f5 commit 90c2bfe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '7.3', '8.2' ]
php-version: [ '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: [ '7.3' ]
php-version: [ '8.0' ]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spryker PHPStan Extensions
[![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)
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%207.3-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://php.net/)
[![License](https://poser.pugx.org/spryker/code-sniffer/license.svg)](https://packagist.org/packages/spryker-sdk/phpstan-spryker)

* [PHPStan](https://github.com/phpstan/phpstan)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"require": {
"php": ">=7.3",
"php": ">=8.0",
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.0.0"
},
Expand Down
9 changes: 0 additions & 9 deletions tests/phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
includes:
- ../vendor/phpstan/phpstan-strict-rules/rules.neon

services:
scopeIsInClass:
class: PHPStan\Internal\ScopeIsInClassTypeSpecifyingExtension
arguments:
isInMethodName: isInClass
removeNullMethodName: getClassReflection
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension

parameters:
checkMissingIterableValueType: false
ignoreErrors:
Expand Down

0 comments on commit 90c2bfe

Please sign in to comment.