Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CONTRIB-6256] Codechecker does not detect extra space in class_name::static_method (); #16

Open
sarjona opened this issue Jan 15, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@sarjona
Copy link
Member

sarjona commented Jan 15, 2021

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

@sarjona sarjona added the bug Something isn't working label Jan 15, 2021
@stronk7 stronk7 transferred this issue from moodlehq/moodle-local_codechecker Sep 21, 2022
@jrchamp
Copy link
Contributor

jrchamp commented Sep 18, 2023

This is detected in moodle-extra by PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants