Skip to content

Commit

Permalink
Merge pull request #107 from bmitch/bmitchell-106
Browse files Browse the repository at this point in the history
Fixes #106 - prevent instance from being used within source code
  • Loading branch information
bmitch authored Aug 24, 2017
2 parents 3ef8581 + 2ad19ca commit 8bb8d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- Forbid some functions -->
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array" value="mysql_fetch_assoc=>null,mysql_query=>null,mysql_connect=>null,dd=>null,die=>null,var_dump=>null,sizeof=>count,delete=>unset,create_function=>null"/>
<property name="forbiddenFunctions" type="array" value="instanceof=>null,mysql_fetch_assoc=>null,mysql_query=>null,mysql_connect=>null,dd=>null,die=>null,var_dump=>null,sizeof=>count,delete=>unset,create_function=>null"/>
</properties>
</rule>

Expand Down

0 comments on commit 8bb8d75

Please sign in to comment.