Closed tianmingxing closed 6 years ago
That sounds like PHPMD complaining.
@tillkruss Maybe you can give me an explanation, I will thank you very much!
@tillkruss I want to know if the PHP syntax specification is recommended for this encoding method? Even if you can write code like this, is there really no problem?
Description:
I am writing code using IDE (phpstorm), I get a hint in several files "Non-static method 'middleware' should not be called statically", why should I tolerate this error, although the program is runnable?
The use of this kind of error makes me feel awkward. What is the purpose of this design? Is it possible to allow this encoding in the new version of PHP?