Skip to content

Commit

Permalink
Merge branch 'release/5.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanluca committed Mar 17, 2022
2 parents fc95f4e + b8eaf80 commit da61b61
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 0 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@
])
->name('*.php')
->notName('*.blade.php')
// Remove when dropping support for PHP 8.0
->notName('MethodsTest.php')
->ignoreDotFiles(true)
->ignoreVCS(true);

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 0 additions & 3 deletions tests/MethodsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit da61b61

Please sign in to comment.