Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: abstract classes cannot be final - arch()->preset()->strict(); #1353

Open
19950512 opened this issue Feb 11, 2025 · 0 comments
Open
Labels

Comments

@19950512
Copy link

What Happened

When i use arch()->preset()->strict() in my tests, i get an error

arch('')->preset()->strict();

Image

But this class must necessarily be abstract, so it cannot be final.

How to Reproduce

clear && vendor/bin/pest --arch

Image

Image

Image

Image

Sample Repository

https://github.com/19950512/pestphp-poc-arch

Pest Version

3.7

PHP Version

8.3.15 (CLI)

Operation System

Linux

Notes

No response

@19950512 19950512 added the bug label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant