Skip to content

Commit e453814

Browse files
author
Lars Roettig
committed
#24 Review and static fixes
1 parent d5c1bb6 commit e453814

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Magento/Sniffs/Functions/StaticFunctionSniff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class StaticFunctionSniff implements Sniff
1919
*
2020
* @var string
2121
*/
22-
protected $warningMessage = 'The use of `static` methods is discouraged';
22+
protected $warningMessage = 'Static method cannot be intercepted and its use is discouraged.';
2323

2424
/**
2525
* Warning violation code.

Magento/Tests/Functions/StaticFunctionUnitTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Copyright © Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
76
namespace Magento\Tests\Functions;
87

98
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;

0 commit comments

Comments
 (0)