Vladimir Reznichenko
Vladimir Reznichenko
Description (screenshot): -- if the method is used in the class only (and in no interfaces) — warn that it should be private. If it's used in child only —...
Organizations: 50 €/year, 5 €/month (excl. VAT) Individual: 25 €/year, 2.50 €/month (excl. VAT) Preparations: - legal (tax ID) - JB marketplace plugin version - new prices rollout
- multiple imports of the same class (e.g. regular + aliased) - same NS classes
For myself: enhance CallableMethodValidityInspector Also following needs to be covered (implicit callable type declaration): whatever('__function'); whatever(array()); whatever(array($this, '__missing')); whatever(array('__Missing', 'method')); whatever(array('__Existing', '__private_or_non_static')); whatever(array(new self(), '__private_or_protected'));
https://3v4l.org/cNpt9 ```php
Same as for Java: ``` Reports dangling Javadoc comments. Javadoc comment are dangling if they don't belong to any class, method or field. For example a Javadoc comment in between...
https://twitter.com/kalessil/status/847049161023328256 `@deprecated since x, use {@link } instead`
Same for interfaces
https://twitter.com/juanmacias/status/997385916267356160 Another suggestion for a new inspection. All ActiveRecord->save() method returns if the model has been saved. You must check it. Many developer don't do it and relay that the...