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
7
7
indent_style = space
8
8
insert_final_newline = true
9
9
trim_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
1
3
.editorconfig export-ignore
2
4
.gitattributes export-ignore
3
5
.gitignore export-ignore
6
+ .php_cs export-ignore
4
7
.scrutinizer.yml export-ignore
8
+ .styleci.yml export-ignore
5
9
.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 /
2
2
build /
3
3
vendor /
4
4
composer.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 1
1
filter :
2
- paths : [src/*]
2
+ paths : [src/*]
3
3
checks :
4
- php :
5
- code_rating : true
6
- duplication : true
4
+ php :
5
+ code_rating : true
6
+ duplication : true
7
7
tools :
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
3
3
sudo : false
4
4
5
5
cache :
6
- directories :
7
- - $HOME/.composer/cache
6
+ directories :
7
+ - $HOME/.composer/cache
8
8
9
9
php :
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
15
15
16
16
env :
17
- global :
18
- - TEST_COMMAND="composer test"
17
+ global :
18
+ - TEST_COMMAND="composer test"
19
+
20
+ branches :
21
+ except :
22
+ - /^analysis-.*$/
19
23
20
24
matrix :
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"
27
31
28
32
before_install :
29
- - travis_retry composer self-update
33
+ - travis_retry composer self-update
30
34
31
35
install :
32
- - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
36
+ - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
33
37
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 &
35
40
36
41
script :
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 ""
39
44
40
45
after_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