Open sarjona opened 3 years ago
Make a file test.php containing
<?php require_once(__DIR__ . '/config.php'); $test = context_system::instance ();
Feed it to code-checker. Note that it does not detect the extra space.
Reporter: Tim Hunt
Original issue: https://tracker.moodle.org/browse/CONTRIB-6256
This is detected in moodle-extra by PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket.
PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket
Make a file test.php containing
Feed it to code-checker. Note that it does not detect the extra space.
Reporter: Tim Hunt
Original issue: https://tracker.moodle.org/browse/CONTRIB-6256