We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d62e097 + 7959427 commit b74f41fCopy full SHA for b74f41f
Magento2/Sniffs/Functions/DiscouragedFunctionSniff.php
@@ -228,5 +228,6 @@ class DiscouragedFunctionSniff extends ForbiddenFunctionsSniff
228
'^intval$' => '(int) construction',
229
'^strval$' => '(string) construction',
230
'^htmlspecialchars$' => '\Magento\Framework\Escaper->escapeHtml',
231
+ '^getimagesize$' => 'getimagesizefromstring',
232
];
233
}
0 commit comments