-
Improvement
-
Resolution: Unresolved
-
Low
-
None
(seems like I only create issues here, never resolve them..)
PHPStorm has some smart syntax checking which finds some actual bugs in moodle core. It'd be really nice if we do something like this magically on integration.
I had a quick look and discovered pfff from facebook, with Scheck looking perfect for it:
https://github.com/facebook/pfff/wiki/Scheck
Unfortunately the depdencies for that are a nightmare (i've yet to manage to compile it on OSX)
- has been marked as being related by
-
MDL-68782 Undefined variable in classes/contenttype.php
- Closed
-
MDL-53663 Code errors found by static analysis
- Closed
-
MDLSITE-2003 Run syntax check (lint) on all PHP files before the release
- Resolved
- will be (partly) resolved by
-
MDL-76452 Include phpstan configuration
- Open