File tree Expand file tree Collapse file tree 5 files changed +26
-20
lines changed
Expand file tree Collapse file tree 5 files changed +26
-20
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ tests export-ignore
55.gitattributes export-ignore
66.gitignore export-ignore
77.travis.yml export-ignore
8- codeception.yml export-ignore
98Makefile export-ignore
109phpstan.neon export-ignore
1110README.md export-ignore
Original file line number Diff line number Diff line change 77
88# Tests
99/temp
10+ /coverage.html
1011/coverage.xml
Original file line number Diff line number Diff line change 1- .PHONY : install qa cs csf phpstan tests coverage-clover coverage-html
1+ .PHONY : install qa cs csf phpstan tests coverage
22
33install :
44 composer update
@@ -7,7 +7,7 @@ qa: phpstan cs
77
88cs :
99ifdef GITHUB_ACTION
10- vendor/bin/codesniffer -q --report=checkstyle src tests | cs2pr
10+ vendor/bin/codesniffer -q --report=checkstyle src tests | cs2pr
1111else
1212 vendor/bin/codesniffer src tests
1313endif
1616 vendor/bin/codefixer src tests
1717
1818phpstan :
19- vendor/bin/phpstan analyse -l 8 - c phpstan.neon src
19+ vendor/bin/phpstan analyse -c phpstan.neon
2020
2121tests :
2222 vendor/bin/codecept build
2323 vendor/bin/codecept run --debug
2424
25- coverage-clover :
25+ coverage :
26+ ifdef GITHUB_ACTION
2627 vendor/bin/codecept build
2728 phpdbg -qrr vendor/bin/codecept run --coverage-xml
28-
29- coverage-html :
29+ else
3030 vendor/bin/codecept build
3131 phpdbg -qrr vendor/bin/codecept run --coverage-html
32+ endif
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ includes:
66 - extension.neon
77
88parameters :
9+ level : 9
10+ paths :
11+ - src
12+
913 excludePaths :
1014 - %currentWorkingDirectory%/tests/_*
1115
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<ruleset name =" Contributte" >
33 <!-- Contributte Coding Standard -->
4- <rule ref =" vendor/ninjify/coding-standard/contributte.xml" >
4+ <rule ref =" vendor/ninjify/coding-standard/contributte.xml" >
55 <exclude name =" SlevomatCodingStandard.Classes.UnusedPrivateElements.WriteOnlyProperty" />
6- </rule >
6+ </rule >
77
88 <!-- Specific rules -->
9- <rule ref =" SlevomatCodingStandard.Files.TypeNameMatchesFileName" >
10- <properties >
11- <property name =" rootNamespaces" type =" array" value ="
12- src=>Contributte\Codeception
13- " />
14- </properties >
15- </rule >
9+ <rule ref =" SlevomatCodingStandard.Files.TypeNameMatchesFileName" >
10+ <properties >
11+ <property name =" rootNamespaces" type =" array" >
12+ <element key =" src" value =" Contributte\Codeception" />
13+ <element key =" tests" value =" Tests" />
14+ </property >
15+ </properties >
16+ </rule >
1617
17- <rule ref =" SlevomatCodingStandard.Files.TypeNameMatchesFileName.NoMatchBetweenTypeNameAndFileName" >
18- <exclude-pattern >/tests/functional</exclude-pattern >
19- </rule >
18+ <rule ref =" SlevomatCodingStandard.Files.TypeNameMatchesFileName.NoMatchBetweenTypeNameAndFileName" >
19+ <exclude-pattern >/tests/functional</exclude-pattern >
20+ </rule >
2021
21- <!-- Exclude folders -->
22+ <!-- Exclude folders -->
2223 <exclude-pattern >/tests/_output</exclude-pattern >
2324 <exclude-pattern >/tests/_support</exclude-pattern >
2425 <exclude-pattern >/tests/_temp</exclude-pattern >
You can’t perform that action at this time.
0 commit comments