Skip to content

Commit 5668688

Browse files
authored
Merge pull request #22 from worksome/JIRA-15715-upgrade-worksome-pest-graphql-coverage-to-support-pest-4
feat: JIRA-15715 Add support for Pest 4
2 parents c8c3d7e + 79a45a3 commit 5668688

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
This plugin adds support for showing the coverage of the GraphQL schema (Lighthouse only).
77

8+
**Supports Pest 3 and Pest 4** - automatically detects and works with both versions.
9+
810
## Installation
911

1012
You can install the package via composer:
@@ -88,6 +90,15 @@ This also works natively with Pest (without using Artisan), as it is a Pest plug
8890
vendor/bin/pest --gql-coverage
8991
```
9092

93+
## Version Compatibility
94+
95+
This package supports both Pest 3 and Pest 4:
96+
97+
- **Pest 3**: Requires PHP 8.2+
98+
- **Pest 4**: Requires PHP 8.3+
99+
100+
The package will automatically work with whichever version of Pest you have installed. No code changes are required when upgrading from Pest 3 to Pest 4.
101+
91102
## License
92103

93104
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"php": "^8.2",
1313
"illuminate/contracts": "^11.0 || ^12.0",
1414
"nuwave/lighthouse": "^6.44",
15-
"pestphp/pest": "^3.0",
16-
"pestphp/pest-plugin-laravel": "^3.0"
15+
"pestphp/pest": "^3.0 || ^4.0",
16+
"pestphp/pest-plugin-laravel": "^3.0 || ^4.0"
1717
},
1818
"require-dev": {
1919
"larastan/larastan": "^3.1",

0 commit comments

Comments
 (0)