-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Added phpstan level 0 and fixed various import issues #2510
Conversation
For offsetGet there should be a mixed return type but this is only supported since php 8.1. The Attribute will be treated as a comment on lower php versions.
…eeded for phpstan
# Conflicts: # system/modules/isotope/library/Isotope/Model/Attribute/Downloads.php # system/modules/isotope/library/Isotope/Model/Attribute/Price.php # system/modules/isotope/library/Isotope/Model/Attribute/PriceTiers.php # system/modules/isotope/library/Isotope/Model/Attribute/ShippingPrice.php # system/modules/isotope/library/Isotope/Model/Attribute/Weight.php # system/modules/isotope/library/Isotope/Model/Payment.php # system/modules/isotope/library/Isotope/Model/ProductCollection.php
Thank you @Shadow-Devil ! |
I am a bit confused, since when I now run: There is no |
There are two
|
btw, you can simply run |
|
Idk, I get the error when I run phpstan, I never asked for why it is there 😉 |
Part of #2509.
Adds phpstan with level 0, but there were some issues:
FrontendTemplateTrait::getTemplate()
static contao/contao#6692)