Skip to content

Commit a4bf3e2

Browse files
author
Lars Roettig
committed
Review fixes
1 parent 87cb1a9 commit a4bf3e2

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

Magento/Sniffs/Functions/ThrowCatchSniff.php renamed to Magento/Sniffs/Exceptions/ThrowCatchSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
namespace Magento\Sniffs\Functions;
7+
namespace Magento\Sniffs\Exceptions;
88

99
use function array_slice;
1010
use PHP_CodeSniffer\Sniffs\Sniff;

Magento/Tests/Functions/ThrowCatchUnitTest.php renamed to Magento/Tests/Exceptions/ThrowCatchUnitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
namespace Magento\Tests\Functions;
7+
namespace Magento\Tests\Exceptions;
88

99
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
1010

Magento/ruleset.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@
142142
<severity>8</severity>
143143
<type>warning</type>
144144
</rule>
145+
<rule ref="Magento.Exceptions.ThrowCatch">
146+
<severity>8</severity>
147+
<type>warning</type>
148+
</rule>
145149

146150
<!-- Severity 7 warnings: General code issues. -->
147151
<rule ref="Generic.Arrays.DisallowLongArraySyntax">

0 commit comments

Comments
 (0)