You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.
first of all, i want to thank you for this. I think it's a really good idea to have this rules so we all can follow the Codeigniter's coding styles.
I'm getting this error:
PHP Fatal error: Cannot redeclare class CodeIgniter_Sniffs_Strings_VariableUsageSniff in CodeSniffer/Standards/codeigniter/Sniffs/Strings/VariableUsageSniff.php on line 30 when using the rules within Netbeans
Any idea what could be the problem?
The text was updated successfully, but these errors were encountered:
Have you tried changing the name of your class to match the case of your directory structure? I.e. changing the class name to codeigniter_Sniffs_Strings_VariableUsageSniff with a lower case c and i in codeigniter.
I had a similar problem when setting up the Symfony2 code standards. For me the problem was that I symlinked a folder into the /usr/share/php/PHP/CodeSniffer/Standards directory wrong. The original directory was called something like "Symfony2-Code-Standards" but the symlink was called "Symfony2". Renaming the "Symfony2-Code-Standards" directory to "Symfony2" fixed my problem.
Hi,
first of all, i want to thank you for this. I think it's a really good idea to have this rules so we all can follow the Codeigniter's coding styles.
I'm getting this error:
PHP Fatal error: Cannot redeclare class CodeIgniter_Sniffs_Strings_VariableUsageSniff in CodeSniffer/Standards/codeigniter/Sniffs/Strings/VariableUsageSniff.php on line 30 when using the rules within Netbeans
Any idea what could be the problem?
The text was updated successfully, but these errors were encountered: