Fix issue with modified backtrace

php allows the backtrace arguments to be modified via the
backtrace. By using array_map we make sure that we do not overwrite
references.
This commit is contained in:
Jaapio
2020-08-12 18:07:00 +02:00
parent f0af3b7263
commit 6ff90eb7bd
3 changed files with 110 additions and 20 deletions
+4
View File
@@ -15,4 +15,8 @@
<rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
<exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements.UnusedMethod">
<exclude-pattern>*/src/DocBlock/Tags/InvalidTag.php</exclude-pattern>
</rule>
</ruleset>