Skip to content

Add @feature directive to conditionally add a field based on a feature state (using Laravel Pennant) #2291

Add @feature directive to conditionally add a field based on a feature state (using Laravel Pennant)

Add @feature directive to conditionally add a field based on a feature state (using Laravel Pennant) #2291

Triggered via pull request September 6, 2023 10:15
Status Failure
Total duration 4m 42s
Artifacts

validate.yml

on: pull_request
Matrix: benchmarks
Matrix: coverage
Matrix: static-analysis
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

78 errors
benchmarks (8.2, ^9)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Only one of these can be installed: laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], illuminate/contracts[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it. - Only one of these can be installed: illuminate/view[dev-master, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/view and thus cannot coexist with it. - laravel/pennant[v1.0.0, ..., 1.x-dev] require illuminate/contracts ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., 10.x-dev]. - Conclusion: don't install laravel/framework v10.0.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result) - Conclusion: don'
benchmarks (8.2, ^9)
Process completed with exit code 2.
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies
Your requirements could not be resolved to an installable set of packages. Problem 1 - Only one of these can be installed: laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], illuminate/contracts[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it. - Only one of these can be installed: illuminate/view[dev-master, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/view and thus cannot coexist with it. - laravel/pennant[v1.0.0, ..., 1.x-dev] require illuminate/contracts ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., 10.x-dev]. - Conclusion: don't install laravel/framework v10.0.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result) - Conclusion: don'
PHPStan on PHP 8.2 with Laravel ^9 and highest dependencies
Process completed with exit code 2.
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires laravel/pennant ^1 -> satisfiable by laravel/pennant[v1.0.0, ..., 1.x-dev]. - Conclusion: don't install laravel/framework v10.21.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.21.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.20.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.19.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.18.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.17.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.17.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result) - Conclusion: don't install laravel/framework v1
PHPStan on PHP 8.2 with Laravel ^9 and lowest dependencies
Process completed with exit code 2.
coverage (8.2, ^9)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Only one of these can be installed: laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], illuminate/contracts[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it. - Only one of these can be installed: illuminate/view[dev-master, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/view and thus cannot coexist with it. - laravel/pennant[v1.0.0, ..., 1.x-dev] require illuminate/contracts ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., 10.x-dev]. - Conclusion: don't install laravel/framework v10.0.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result) - Conclusion: don'
coverage (8.2, ^9)
Process completed with exit code 2.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L12
Parameter $features of method Nuwave\Lighthouse\Pennant\FeatureDirective::__construct() has invalid type Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L12
Property Nuwave\Lighthouse\Pennant\FeatureDirective::$features has unknown class Laravel\Pennant\FeatureManager as its type.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L58
Call to method inactive() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L59
Call to method active() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L67
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L88
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L116
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: tests/TestCase.php#L76
Method Tests\TestCase::getPackageProviders() should return array<class-string<Illuminate\Support\ServiceProvider>> but returns array<int, string>.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies: tests/TestCase.php#L79
Class Laravel\Pennant\PennantServiceProvider not found.
PHPStan on PHP 8.1 with Laravel ^9 and lowest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L12
Parameter $features of method Nuwave\Lighthouse\Pennant\FeatureDirective::__construct() has invalid type Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L12
Property Nuwave\Lighthouse\Pennant\FeatureDirective::$features has unknown class Laravel\Pennant\FeatureManager as its type.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L58
Call to method inactive() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L59
Call to method active() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L67
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L88
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L116
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: tests/TestCase.php#L76
Method Tests\TestCase::getPackageProviders() should return array<class-string<Illuminate\Support\ServiceProvider>> but returns array<int, string>.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies: tests/TestCase.php#L79
Class Laravel\Pennant\PennantServiceProvider not found.
PHPStan on PHP 8.1 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: src/Pennant/FeatureDirective.php#L12
Parameter $features of method Nuwave\Lighthouse\Pennant\FeatureDirective::__construct() has invalid type Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: src/Pennant/FeatureDirective.php#L12
Property Nuwave\Lighthouse\Pennant\FeatureDirective::$features has unknown class Laravel\Pennant\FeatureManager as its type.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: src/Pennant/FeatureDirective.php#L58
Call to method inactive() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: src/Pennant/FeatureDirective.php#L59
Call to method active() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L67
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L88
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L116
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: tests/TestCase.php#L76
Method Tests\TestCase::getPackageProviders() should return array<class-string<Illuminate\Support\ServiceProvider>> but returns array<int, string>.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies: tests/TestCase.php#L79
Class Laravel\Pennant\PennantServiceProvider not found.
PHPStan on PHP 8.1 with Laravel ^10 and highest dependencies
Process completed with exit code 1.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L12
Parameter $features of method Nuwave\Lighthouse\Pennant\FeatureDirective::__construct() has invalid type Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L12
Property Nuwave\Lighthouse\Pennant\FeatureDirective::$features has unknown class Laravel\Pennant\FeatureManager as its type.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L58
Call to method inactive() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: src/Pennant/FeatureDirective.php#L59
Call to method active() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L67
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L88
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L116
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: tests/TestCase.php#L76
Method Tests\TestCase::getPackageProviders() should return array<class-string<Illuminate\Support\ServiceProvider>> but returns array<int, string>.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies: tests/TestCase.php#L79
Class Laravel\Pennant\PennantServiceProvider not found.
PHPStan on PHP 8.0 with Laravel ^9 and highest dependencies
Process completed with exit code 1.
PHPUnit on PHP 8.1 with Laravel ^9 and lowest dependencies
Process completed with exit code 2.
PHPUnit on PHP 8.0 with Laravel ^9 and lowest dependencies
Process completed with exit code 2.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L12
Parameter $features of method Nuwave\Lighthouse\Pennant\FeatureDirective::__construct() has invalid type Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L12
Property Nuwave\Lighthouse\Pennant\FeatureDirective::$features has unknown class Laravel\Pennant\FeatureManager as its type.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L58
Call to method inactive() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: src/Pennant/FeatureDirective.php#L59
Call to method active() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L67
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L88
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L116
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: tests/TestCase.php#L76
Method Tests\TestCase::getPackageProviders() should return array<class-string<Illuminate\Support\ServiceProvider>> but returns array<int, string>.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies: tests/TestCase.php#L79
Class Laravel\Pennant\PennantServiceProvider not found.
PHPStan on PHP 8.0 with Laravel ^9 and lowest dependencies
Process completed with exit code 1.
PHPUnit on PHP 8.1 with Laravel ^10 and highest dependencies
Process completed with exit code 2.
PHPUnit on PHP 8.2 with Laravel ^9 and highest dependencies
Your requirements could not be resolved to an installable set of packages. Problem 1 - Only one of these can be installed: laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], illuminate/contracts[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it. - Only one of these can be installed: illuminate/view[dev-master, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/view and thus cannot coexist with it. - laravel/pennant[v1.0.0, ..., 1.x-dev] require illuminate/contracts ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., 10.x-dev]. - Conclusion: don't install laravel/framework v10.0.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result) - Conclusion: don'
PHPUnit on PHP 8.2 with Laravel ^9 and highest dependencies
Process completed with exit code 2.
PHPUnit on PHP 8.2 with Laravel ^9 and lowest dependencies
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires laravel/pennant ^1 -> satisfiable by laravel/pennant[v1.0.0, ..., 1.x-dev]. - Conclusion: don't install laravel/framework v10.21.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.21.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.20.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.19.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.18.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.17.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.17.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result) - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result) - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result) - Conclusion: don't install laravel/framework v1
PHPUnit on PHP 8.2 with Laravel ^9 and lowest dependencies
Process completed with exit code 2.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: src/Pennant/FeatureDirective.php#L12
Parameter $features of method Nuwave\Lighthouse\Pennant\FeatureDirective::__construct() has invalid type Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: src/Pennant/FeatureDirective.php#L12
Property Nuwave\Lighthouse\Pennant\FeatureDirective::$features has unknown class Laravel\Pennant\FeatureManager as its type.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: src/Pennant/FeatureDirective.php#L58
Call to method inactive() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: src/Pennant/FeatureDirective.php#L59
Call to method active() on an unknown class Laravel\Pennant\FeatureManager.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L67
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L88
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: tests/Integration/Pennant/FeatureDirectiveTest.php#L116
Call to static method define() on an unknown class Laravel\Pennant\Feature.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: tests/TestCase.php#L76
Method Tests\TestCase::getPackageProviders() should return array<class-string<Illuminate\Support\ServiceProvider>> but returns array<int, string>.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies: tests/TestCase.php#L79
Class Laravel\Pennant\PennantServiceProvider not found.
PHPStan on PHP 8.1 with Laravel ^10 and lowest dependencies
Process completed with exit code 1.
PHPUnit on PHP 8.0 with Laravel ^9 and highest dependencies
Process completed with exit code 2.
PHPUnit on PHP 8.1 with Laravel ^10 and lowest dependencies
Process completed with exit code 2.
PHPUnit on PHP 8.1 with Laravel ^9 and highest dependencies
Process completed with exit code 2.