Skip to content

Commit 547824c

Browse files
authored
Merge pull request #17 from faissaloux/pest4-support
Support pest4
2 parents 78483d4 + c994c2f commit 547824c

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@ jobs:
99
matrix:
1010
os: [ubuntu-latest, macos-latest]
1111
php: ['8.1', '8.2', '8.3', '8.4']
12-
pest: ['2.14', '3.0']
12+
pest: ['2.14', '3.0', '4.0']
1313
dependency-version: [prefer-lowest, prefer-stable]
1414
exclude:
1515
- php: '8.1'
1616
pest: '3.0'
17+
- php: '8.1'
18+
pest: '4.0'
19+
- php: '8.2'
20+
pest: '4.0'
1721

1822
name: PHP ${{ matrix.php }} - PEST ^${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
1923

@@ -41,4 +45,4 @@ jobs:
4145
with:
4246
token: ${{ secrets.CODECOV_TOKEN }}
4347
files: ./coverage.xml
44-
verbose: true
48+
verbose: true

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ This plugin checks what's inside the files.
55

66
[![Tests](https://github.com/faissaloux/pest-plugin-inside/actions/workflows/tests.yml/badge.svg)](https://github.com/faissaloux/pest-plugin-inside/actions/workflows/tests.yml) ![Codecov](https://img.shields.io/codecov/c/github/faissaloux/pest-plugin-inside) ![Packagist Version](https://img.shields.io/packagist/v/faissaloux/pest-plugin-inside) ![Packagist License](https://img.shields.io/packagist/l/faissaloux/pest-plugin-inside)
77

8+
## Requirements
9+
10+
| pest | php | pest-plugin-inside |
11+
| ------------------- | ------- | ---------------------- |
12+
| ^2.14 | ^8.1 | ^1.0.0 |
13+
| ^3.0 | ^8.2 | ^1.2.0 |
14+
| ^4.0 | ^8.3 | ^1.7.0 |
15+
816
## Available Expectations
917
### toReturnLowercase
1018
Make sure a file or directory files returns an array with all lowercase values.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"require": {
3636
"php": "^8.1",
37-
"pestphp/pest": "^2.14 || ^3.0"
37+
"pestphp/pest": "^2.14|^3.0|^4.0"
3838
},
3939
"require-dev": {
4040
"phpstan/phpstan": "^1.11.0",

0 commit comments

Comments
 (0)