File tree Expand file tree Collapse file tree 13 files changed +79
-150
lines changed Expand file tree Collapse file tree 13 files changed +79
-150
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,3 @@ indent_size = 4
77indent_style = space
88insert_final_newline = true
99trim_trailing_whitespace = true
10-
11- [* .yml* ]
12- indent_size = 2
Original file line number Diff line number Diff line change 1+ spec / export-ignore
2+ tests / export-ignore
13.editorconfig export-ignore
24.gitattributes export-ignore
35.gitignore export-ignore
6+ .php_cs export-ignore
47.scrutinizer.yml export-ignore
8+ .styleci.yml export-ignore
59.travis.yml export-ignore
6- CONTRIBUTING.md export-ignore
10+ CONTRIBUTING export-ignore
11+ phpspec.yml.ci export-ignore
12+ phpspec.yml.dist export-ignore
13+ phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 1- .puli
1+ .puli /
22build /
33vendor /
44composer.lock
5+ phpspec.yml
6+ phpunit.xml
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ * In order to make it work, fabpot/php-cs-fixer and sllh/php-cs-fixer-styleci-bridge must be installed globally
5+ * with composer.
6+ *
7+ * @link https://github.com/Soullivaneuh/php-cs-fixer-styleci-bridge
8+ * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
9+ */
10+
11+ use SLLH \StyleCIBridge \ConfigBridge ;
12+
13+ return ConfigBridge::create ();
Original file line number Diff line number Diff line change 11filter :
2- paths : [src/*]
2+ paths : [src/*]
33checks :
4- php :
5- code_rating : true
6- duplication : true
4+ php :
5+ code_rating : true
6+ duplication : true
77tools :
8- external_code_coverage : true
9- php_code_sniffer :
10- config :
11- standard : " PSR2"
8+ external_code_coverage : true
Original file line number Diff line number Diff line change 1+ preset : symfony
2+
3+ finder :
4+ exclude :
5+ - " spec"
6+ path :
7+ - " src"
8+
9+ enabled :
10+ - short_array_syntax
Original file line number Diff line number Diff line change @@ -3,40 +3,45 @@ language: php
33sudo : false
44
55cache :
6- directories :
7- - $HOME/.composer/cache
6+ directories :
7+ - $HOME/.composer/cache
88
99php :
10- - 5.4
11- - 5.5
12- - 5.6
13- - 7.0
14- - hhvm
10+ - 5.4
11+ - 5.5
12+ - 5.6
13+ - 7.0
14+ - hhvm
1515
1616env :
17- global :
18- - TEST_COMMAND="composer test"
17+ global :
18+ - TEST_COMMAND="composer test"
19+
20+ branches :
21+ except :
22+ - /^analysis-.*$/
1923
2024matrix :
21- allow_failures :
22- - php : hhvm
23- fast_finish : true
24- include :
25- - php : 5.4
26- env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
25+ allow_failures :
26+ - php : hhvm
27+ fast_finish : true
28+ include :
29+ - php : 5.4
30+ env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
2731
2832before_install :
29- - travis_retry composer self-update
33+ - travis_retry composer self-update
3034
3135install :
32- - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
36+ - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
3337
34- before_script : vendor/bin/http_test_server > /dev/null 2>&1 &
38+ before_script :
39+ - vendor/bin/http_test_server > /dev/null 2>&1 &
3540
3641script :
37- - $TEST_COMMAND
38- - ./vendor/bin/phpunit tests/SocketClientFeatureTest.php --printer Http\\Client\\Tests\\FeatureTestListener || echo ""
42+ - $TEST_COMMAND
43+ - ./vendor/bin/phpunit tests/SocketClientFeatureTest.php --printer Http\\Client\\Tests\\FeatureTestListener || echo ""
3944
4045after_success :
41- - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
42- - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
46+ - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
47+ - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Please see http://docs.php-http.org/en/latest/development/contributing.html
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments