Comments (2)
This has nothing to do with interfaces. Your class name HttpRequesr conflicts with internal PHP class. See, this works: https://phpstan.org/r/bed9b92c-2eab-4436-866b-6efd5919518b
Rename your class or use interfaces.
from phpstan.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from phpstan.
Related Issues (20)
- Unable to ignore an error by its type if it was found multiple times HOT 4
- Closure required to no return statement
- Possibly impure call to function array_map() in pure method - false positive
- array_filter(), array_map() and array_reduce() should be considered pure functions
- False positive `method.nonObject` if condition checked via temporary variable
- Add PHPStan version number to playground HOT 1
- Add a section about sponsoring this project to the phpstan.org main page HOT 2
- Variable $var might not be defined v2
- Array key of string[] property inside foreach suddenly changes type from int to int|string HOT 1
- Check array_fill_keys arguments
- Some parallel worker jobs have not finished HOT 3
- Get parent class of the node in a custom rule HOT 3
- Catch error in strtr HOT 1
- Error: smaller.invalid HOT 1
- Suggest unsetting a variable by reference after the loop
- False "Dead catch - Throwable is never thrown in the try block" on unitialized readonly propery HOT 2
- Call parameter for Autoconfigure attribute seems to get wrong signature detected HOT 3
- Show level next to error identifier HOT 1
- Add an error identifier to --error-format=raw
- Generics on primitives lost when inside generics
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.