FloeDesignTechnologies/phpcs-security-audit

Cannot redeclare class Security_Sniffs_Drupal7_SQLiSniff

andrewholgate opened this issue · 2 comments

The current dev version produces the following error:

PHP Fatal error:  Cannot redeclare class Security_Sniffs_Drupal7_SQLiSniff in pheromone/phpcs-security-audit/Security/Sniffs/Drupal7/SQLiSniff.php on line 4

This is caused by the incorrect declaration in:
pheromone/phpcs-security-audit/Security/Sniffs/Drupal7/AESModuleSniff.php

[pull #3 ] resolves this error.

willc commented

I'm getting this error now:

PHP Fatal error: Cannot redeclare class Security_Sniffs_Drupal7_SQLiSniff in /usr/share/php/PHP/CodeSniffer/Standards/Security/Sniffs/Drupal7/AESModuleSniff.php on line 4