GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
$foo = clone(FOO);
$foo = clone FOO;
Hrm, should this be here in the IncludingFilesSniff? Or create a new LanguageConstructsSniff or something like that?
Add 'clone' and 'echo' to the list of known PHP statements to avoid t…
…he use of parenthesis.
Move the sniff to a proper file and remove obsolete code.
It was out of laziness, but you are obviously right, so I moved the code to a proper sniff and removed the rest that had been disabled long ago.
Merge pull request #63 from elkuku/statement-not-function
Add 'clone' and 'echo' to the list of known PHP statements to avoid the use of parenthesis.