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 94c155c commit 7959427Copy full SHA for 7959427
Magento2/Sniffs/Functions/DiscouragedFunctionSniff.php
@@ -228,6 +228,6 @@ class DiscouragedFunctionSniff extends ForbiddenFunctionsSniff
228
'^intval$' => '(int) construction',
229
'^strval$' => '(string) construction',
230
'^htmlspecialchars$' => '\Magento\Framework\Escaper->escapeHtml',
231
- 'getimagesize' => 'getimagesizefromstring',
+ '^getimagesize$' => 'getimagesizefromstring',
232
];
233
}
0 commit comments