File tree Expand file tree Collapse file tree 2 files changed +28
-9
lines changed Expand file tree Collapse file tree 2 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright © Magento, Inc. All rights reserved.
2
2
# See COPYING.txt for license details.
3
3
4
- echo "===============================UNIT TESTS==============================="
5
- vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit --coverage-xml build/coverage-xml
4
+ set -e
6
5
7
- echo "===============================VERIFICATION TESTS==============================="
8
- vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite verification --coverage-xml build/coverage-xml
6
+ echo "==============================="
7
+ echo " UNIT TESTS"
8
+ echo "==============================="
9
+ vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit
10
+
11
+ echo "==============================="
12
+ echo " VERIFICATION TESTS"
13
+ echo "==============================="
14
+ vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite verification
Original file line number Diff line number Diff line change 1
1
# Copyright © Magento, Inc. All rights reserved.
2
2
# See COPYING.txt for license details.
3
3
4
- echo "===============================PHP CODE SNIFFER REPORT==============================="
4
+ set -e
5
+
6
+ echo "==============================="
7
+ echo " CODE SNIFFER"
8
+ echo "==============================="
5
9
vendor/bin/phpcs ./src --standard=./dev/tests/static/Magento
6
10
vendor/bin/phpcs ./dev/tests/unit --standard=./dev/tests/static/Magento
7
11
vendor/bin/phpcs ./dev/tests/verification --standard=./dev/tests/static/Magento --ignore=dev/tests/verification/_generated
12
+ echo ""
8
13
9
- echo "===============================COPY PASTE DETECTOR REPORT==============================="
14
+ echo "==============================="
15
+ echo " COPY PASTE DETECTOR"
16
+ echo "==============================="
10
17
vendor/bin/phpcpd ./src
18
+ echo ""
11
19
12
20
# Uncomment lines as part of MQE-590
13
- # echo "===============================PHP MESS DETECTOR REPORT==============================="
21
+ # echo "==============================="
22
+ # echo " MAGENTO COPYRIGHT CHECK"
23
+ # echo "==============================="
14
24
# vendor/bin/phpmd ./src text /dev/tests/static/Magento/CodeMessDetector/ruleset.xml --exclude _generated
25
+ # echo ""
15
26
16
- echo "===============================MAGENTO COPYRIGHT REPORT==============================="
27
+ echo "==============================="
28
+ echo " MAGENTO COPYRIGHT CHECK"
29
+ echo "==============================="
17
30
bin/copyright-check
18
-
31
+ echo ""
You can’t perform that action at this time.
0 commit comments