File tree Expand file tree Collapse file tree 8 files changed +51
-31
lines changed Expand file tree Collapse file tree 8 files changed +51
-31
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 11spec / export-ignore
2+ tests / export-ignore
23.editorconfig export-ignore
34.gitattributes export-ignore
45.gitignore export-ignore
6+ .php_cs export-ignore
57.scrutinizer.yml export-ignore
8+ .styleci.yml export-ignore
69.travis.yml export-ignore
7- CONTRIBUTING.md export-ignore
810CONDUCT.md export-ignore
11+ CONTRIBUTING.md export-ignore
912phpspec.yml.ci export-ignore
1013phpspec.yml.dist export-ignore
14+ phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 22vendor /
33composer.lock
44phpspec.yml
5+ 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+ path :
5+ - " src"
6+
7+ enabled :
8+ - short_array_syntax
Original file line number Diff line number Diff line change @@ -3,35 +3,35 @@ 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"
1919
2020matrix :
21- fast_finish : true
22- include :
23- - php : 5.4
24- env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
21+ fast_finish : true
22+ include :
23+ - php : 5.4
24+ env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
2525
2626before_install :
27- - travis_retry composer self-update
27+ - travis_retry composer self-update
2828
2929install :
30- - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
30+ - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
3131
3232script :
33- - $TEST_COMMAND
33+ - $TEST_COMMAND
3434
3535after_success :
36- - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
37- - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
36+ - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
37+ - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ $ git rebase -i HEAD~3
7575If your branch conflicts with the master branch, you will need to rebase and repush it with the following commands:
7676
7777``` bash
78- $ git remote add upstream git@github.com:php-http /repo-name.git
78+ $ git remote add upstream git@github.com:orga /repo-name.git
7979$ git pull --rebase upstream master
8080$ git push -f origin feature-or-bug-fix-description
8181```
You can’t perform that action at this time.
0 commit comments