Skip to content

Commit e1b663c

Browse files
committed
MQE-586: Ignore _generated folder for mftf code sniffer
1 parent 39bfa9f commit e1b663c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bin/blacklist.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
bin/blacklist.txt
77
dev/tests/static/Magento/Sniffs/Annotations/Helper.php
88
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedAttributesSniff.php
9-
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedMethodsSniff.php
9+
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedMethodsSniff.php
10+
dev/tests/verification/_generated

bin/static-checks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
echo "===============================PHP CODE SNIFFER REPORT==============================="
55
vendor/bin/phpcs ./src --standard=./dev/tests/static/Magento
66
vendor/bin/phpcs ./dev/tests/unit --standard=./dev/tests/static/Magento
7-
vendor/bin/phpcs ./dev/tests/verification --standard=./dev/tests/static/Magento
7+
vendor/bin/phpcs ./dev/tests/verification --standard=./dev/tests/static/Magento --ignore=dev/tests/verification/_generated
88

99
echo "===============================COPY PASTE DETECTOR REPORT==============================="
1010
vendor/bin/phpcpd ./src

0 commit comments

Comments
 (0)