summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-02-16 11:16:59 +0100
committerBen Fuhrmannek2021-02-16 11:16:59 +0100
commit5484bcb5eb2714e7438927e2566c86a74d7c51af (patch)
treeb78326d2999397be4c08e06b23209981f82a4ea9 /scripts
parent7ac1e3866ef4f146c6c93a5ca13b9aebb14e936a (diff)
parentcecfdd808da67be908dbe7144cc8c74dfb3f855e (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate_rules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_rules.php b/scripts/generate_rules.php
index 68936ad..b988789 100644
--- a/scripts/generate_rules.php
+++ b/scripts/generate_rules.php
@@ -41,7 +41,7 @@ foreach($objects as $name => $object){
41 } 41 }
42 42
43 foreach(token_get_all($file_content) as $token) { 43 foreach(token_get_all($file_content) as $token) {
44 if ($token[0] != 319) { 44 if ($token[0] !== T_STRING) {
45 continue; 45 continue;
46 } 46 }
47 47