We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d62e097 commit 94c155cCopy full SHA for 94c155c
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