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 d5c1bb6 commit e453814Copy full SHA for e453814
Magento/Sniffs/Functions/StaticFunctionSniff.php
@@ -19,7 +19,7 @@ class StaticFunctionSniff implements Sniff
19
*
20
* @var string
21
*/
22
- protected $warningMessage = 'The use of `static` methods is discouraged';
+ protected $warningMessage = 'Static method cannot be intercepted and its use is discouraged.';
23
24
/**
25
* Warning violation code.
Magento/Tests/Functions/StaticFunctionUnitTest.php
@@ -3,7 +3,6 @@
3
* Copyright © Magento. All rights reserved.
4
* See COPYING.txt for license details.
5
6
-
7
namespace Magento\Tests\Functions;
8
9
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
0 commit comments