Skip to content

Commit

Permalink
Fixes #106 - prevent instance from being used within source code
Browse files Browse the repository at this point in the history
  • Loading branch information
bmitch committed Aug 24, 2017
1 parent 3ef8581 commit 2ad19ca
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 2ad19ca

Please sign in to comment.