diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 92e2c39..8d92349 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1] + php: [8.1] dependency-version: [prefer-lowest, prefer-stable] os: [ubuntu-latest] diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index d5faa9c..8db5cb0 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -232,8 +232,6 @@ ]) ->name('*.php') ->notName('*.blade.php') - // Remove when dropping support for PHP 8.0 - ->notName('MethodsTest.php') ->ignoreDotFiles(true) ->ignoreVCS(true); diff --git a/CHANGELOG.md b/CHANGELOG.md index eda8eec..eb8a79b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to `sebastiaanluca/php-pipe-operator` will be documented in Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## 5.1.0 (2022-03-17) + +### Removed + +- Dropped support for PHP 8 + ## 5.0.1 (2022-03-17) ### Fixed diff --git a/composer.json b/composer.json index d80e079..ba1994a 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ } ], "require": { - "php": "~8.0|~8.1" + "php": "~8.1" }, "require-dev": { - "ext-mbstring": "*", + "ext-mbstring": "~8.1", "friendsofphp/php-cs-fixer": "^3.7", "phpunit/phpunit": "^9.5" }, diff --git a/tests/MethodsTest.php b/tests/MethodsTest.php index 8211d2e..2af9508 100644 --- a/tests/MethodsTest.php +++ b/tests/MethodsTest.php @@ -53,7 +53,6 @@ public function it can transform a value using a callable string method /** * @test - * @requires PHP >= 8.1 */ public function it can transform a value using a first class callable method(): void { @@ -67,7 +66,6 @@ public function it can transform a value using a first class callable  /** * @test - * @requires PHP >= 8.1 */ public function it can transform a value using a first class callable method with parameters(): void { @@ -125,7 +123,6 @@ public function it can transform a value using a public class method(): /** * @test - * @requires PHP >= 8.1 */ public function it can transform a value using a first class callable class method(): void {