Comments (6)
Thanks for opening your first ticket in this repo. This is a duplicate #249, I think.
I assume you are using a PHPStan version > 1.7.4. If so, downgrade to 1.7.4 that should fix it for now. At least that is the gist of the ticket I mentioned above. I still need to prepare a demo to let Ondrej from PHPStan have a look.
from phpstan-magento.
Hi, sorry i should've mentioned the version i'm using, we using phpstan/phpstan 1.7.2
from phpstan-magento.
Thanks for letting me know the PHPStan version you are using. Could you still try it with PHPStan 1.7.4? There have been quite a few problems with the autoloaders in the early PHPStan 1.7.x releases. Maybe you've been running into a regression of some form.
from phpstan-magento.
Using phpstan 1.7.4 worked. Thanks for your assistance
from phpstan-magento.
Awesome! Good to hear. Hopefully, we can get the PHPStan 1.8 upgrade done soonish and fix the issue in general.
from phpstan-magento.
@pvpcookie you can give the latest version 0.24.0 a try, it is compatible now with PHPStan 1.8 https://github.com/bitExpert/phpstan-magento/releases/tag/v0.24.0
from phpstan-magento.
Related Issues (20)
- Missing check when using factory constant HOT 1
- No coverage data is *not* sent to Coveralls
- Certain CI steps run several times without additional result HOT 1
- Move stubs out of src/ HOT 6
- Use Magento root for TestFrameworkAutoloader HOT 8
- Project config file at path app/code/Vendor/Module does not exist. HOT 5
- Factory generation misnames output class HOT 4
- Current release version not updated HOT 5
- Wrong directory used as "magentoRoot" when current working direcory is not magento root HOT 2
- private string $magentoRoot; not work in PHP 7.2 HOT 4
- Generated class ProductExtension is passed on incorrectly to phpstan HOT 30
- Missing Interface class HOT 9
- Add support for PHP 8.2 HOT 3
- Compatibility with PHPstan 1.10.x HOT 4
- Failure with `phpstan/phpstan-phpunit` and PHPStan cache usage HOT 19
- Version 0.30.0 fails with errors about unexpected items in parameters HOT 4
- Extend ci_neon_lint script to validate parametersSchema
- Incompatibility with phpstan & rector and 2.4.6 HOT 1
- Internal error: Class\Foo does not exist and has no extension interface in file class.php HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpstan-magento.