File tree Expand file tree Collapse file tree 5 files changed +27
-21
lines changed Expand file tree Collapse file tree 5 files changed +27
-21
lines changed Original file line number Diff line number Diff line change 1- # Travis CI (MIT License) configuration file
2- # @link https://travis-ci.org/
1+ # Travis CI
32
43# Use new container based environment
54sudo : false
65
76# Declare project language.
8- # @link http://about.travis-ci.org/docs/user/languages/php/
97language : php
108
119env :
@@ -40,16 +38,18 @@ matrix:
4038 # - php: 'nightly'
4139
4240before_install :
43- # Remove xdebug.
41+ # Remove xdebug. Needed for coverage.
4442 # - phpenv config-rm xdebug.ini
45- # Update composer to latest version
46- # - composer self-update
43+
44+ install :
45+ # Update composer to latest version.
46+ - composer self-update
4747 # Install project composer deps in composer.json
48- - composer install
49- # Install composer deps in composer.json.
50- # - composer require squizlabs/php_codesniffer:dev-master
51- # - composer require satooshi/ php-coveralls:dev-master
52- - phpenv rehash
48+ - composer install --no-interaction
49+
50+ before_script :
51+ # Rehash the php environment if testing on several PHP versions.
52+ # - phpenv rehash
5353
5454script :
5555 # Check for PHP syntax errors.
@@ -64,4 +64,4 @@ script:
6464 - ./vendor/bin/phpunit --debug --filter $STANDARD
6565
6666after_success :
67- - if [[ "$COVERALLS" == "1" ]]; then ./vendor/bin/coveralls -v -x ./build/logs/clover.xml; fi
67+ - if [[ "$COVERALLS" == "1" ]]; then ./vendor/bin/coveralls -v -x ./build/logs/coverage/clover/ clover.xml; fi
Original file line number Diff line number Diff line change 1515 <exclude-pattern >*/*.js</exclude-pattern >
1616 <exclude-pattern >*/*.xml</exclude-pattern >
1717 <exclude-pattern >*/autoload.php</exclude-pattern >
18- <exclude-pattern >*/app/ Middleware/*</exclude-pattern >
19- <exclude-pattern >*/app/ Console/Kernel.php</exclude-pattern >
20- <exclude-pattern >*/app/ Exceptions/Handler.php</exclude-pattern >
21- <exclude-pattern >*/app/ Http/Kernel.php</exclude-pattern >
22- <exclude-pattern >*/app/ Providers/*</exclude-pattern >
18+ <exclude-pattern >*/Middleware/*</exclude-pattern >
19+ <exclude-pattern >*/Console/Kernel.php</exclude-pattern >
20+ <exclude-pattern >*/Exceptions/Handler.php</exclude-pattern >
21+ <exclude-pattern >*/Http/Kernel.php</exclude-pattern >
22+ <exclude-pattern >*/Providers/*</exclude-pattern >
2323 <!-- Include the whole PSR-2 standard -->
2424 <rule ref =" PSR2" />
2525 <!--
Original file line number Diff line number Diff line change 11# Greynoise Design - Laravel 5 Standard
22
3- Version 1.0.1
3+ Version 1.0.2
44
55| Master | Develop |
66| :---: | :---: |
@@ -130,7 +130,12 @@ Set it to your preference.
130130 "*/*.css",
131131 "*/*.js",
132132 "*/*.xml",
133- "*/autoload.php"
133+ "*/autoload.php",
134+ "*/Middleware/*",
135+ "*/Console/Kernel.php",
136+ "*/Exceptions/Handler.php",
137+ "*/Http/Kernel.php",
138+ "*/Providers/*"
134139 ],
135140 }
136141 }
Original file line number Diff line number Diff line change 11{
22 "name" : " greynoise-design/laravel-coding-standard" ,
33 "description" : " Laravel 5 Coding Standard for PHP_CodeSniffer 3." ,
4- "version" :" 1.0.1 " ,
4+ "version" :" 1.0.2 " ,
55 "license" :" MIT" ,
66 "authors" : [
77 {
Original file line number Diff line number Diff line change 55 </testsuite >
66 </testsuites >
77 <logging >
8- <log type =" coverage-clover" target =" ./build/logs/clover.xml" />
8+ <log type =" coverage-clover" target =" ./build/logs/coverage/clover/clover.xml" />
9+ <log type =" coverage-html" target =" ./build/logs/coverage/html/" />
910 </logging >
1011 <filter >
1112 <whitelist >
You can’t perform that action at this time.
0 commit comments