Skip to content

Commit 0f59dca

Browse files
committed
#144: Using coding standard as s reference is causing error
1 parent 7813049 commit 0f59dca

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

Magento2/Sniffs/Commenting/PHPDocFormattingValidator.php renamed to Magento2/Helpers/Commenting/PHPDocFormattingValidator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright © Magento. All rights reserved.
55
* See COPYING.txt for license details.
66
*/
7-
namespace Magento2\Sniffs\Commenting;
7+
namespace Magento2\Helpers\Commenting;
88

99
use PHP_CodeSniffer\Files\File;
1010

Magento2/Sniffs/Commenting/ClassAndInterfacePHPDocFormattingSniff.php

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77
namespace Magento2\Sniffs\Commenting;
88

9+
use Magento2\Helpers\Commenting\PHPDocFormattingValidator;
910
use PHP_CodeSniffer\Sniffs\Sniff;
1011
use PHP_CodeSniffer\Files\File;
1112

Magento2/Sniffs/Commenting/ConstantsPHPDocFormattingSniff.php

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
namespace Magento2\Sniffs\Commenting;
77

8+
use Magento2\Helpers\Commenting\PHPDocFormattingValidator;
89
use PHP_CodeSniffer\Sniffs\Sniff;
910
use PHP_CodeSniffer\Files\File;
1011

composer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
"autoload": {
1919
"classmap": [
2020
"PHP_CodeSniffer/Tokenizers/"
21-
]
21+
],
22+
"psr-4": {
23+
"Magento2\\": "Magento2/"
24+
}
2225
},
2326
"scripts": {
2427
"post-install-cmd": "vendor/bin/phpcs --config-set installed_paths ../../..",

0 commit comments

Comments
 (0)