-
Notifications
You must be signed in to change notification settings - Fork 50
Update package files #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
spec/ export-ignore | ||
Tests/ export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.php_cs export-ignore | ||
.scrutinizer.yml export-ignore | ||
.styleci.yml export-ignore | ||
.travis.yml export-ignore | ||
CONTRIBUTING.md export-ignore | ||
Tests/ export-ignore | ||
phpspec.yml.ci export-ignore | ||
phpspec.yml.dist export-ignore | ||
phpunit.xml.dist export-ignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
.puli/ | ||
build/ | ||
vendor/ | ||
composer.lock | ||
phpspec.yml | ||
phpunit.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/* | ||
* In order to make it work, fabpot/php-cs-fixer and sllh/php-cs-fixer-styleci-bridge must be installed globally | ||
* with composer. | ||
* | ||
* @link https://github.com/Soullivaneuh/php-cs-fixer-styleci-bridge | ||
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer | ||
*/ | ||
|
||
use SLLH\StyleCIBridge\ConfigBridge; | ||
|
||
return ConfigBridge::create(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
filter: | ||
exclude_paths: [vendor/*, Tests/*] | ||
paths: [src/*] | ||
checks: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
php: | ||
code_rating: true | ||
duplication: true | ||
tools: | ||
external_code_coverage: true | ||
php_code_sniffer: | ||
config: | ||
standard: "PSR2" | ||
external_code_coverage: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
preset: symfony | ||
|
||
finder: | ||
exclude: | ||
- "spec" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is no spec folder. but a Resources folder |
||
- "Tests" | ||
- "Resources" | ||
path: | ||
- "./" | ||
|
||
enabled: | ||
- short_array_syntax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,48 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
|
||
env: | ||
global: | ||
- TEST_COMMAND="composer test" | ||
matrix: | ||
- SYMFONY_VERSION=3.0.* | ||
- SYMFONY_VERSION=2.8.* | ||
- SYMFONY_VERSION=2.7.* | ||
global: | ||
- TEST_COMMAND="composer test" | ||
matrix: | ||
- SYMFONY_VERSION=3.0.* | ||
- SYMFONY_VERSION=2.8.* | ||
- SYMFONY_VERSION=2.7.* | ||
|
||
branches: | ||
except: | ||
- /^analysis-.*$/ | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: hhvm | ||
- env: SYMFONY_VERSION=3.0.* | ||
- php: 5.5 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" && COVERAGE=true && TEST_COMMAND="composer test-ci" && SYMFONY_VERSION=2.7.* | ||
fast_finish: true | ||
allow_failures: | ||
- php: hhvm | ||
- env: SYMFONY_VERSION=3.0.* | ||
- php: 5.5 | ||
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.7.* | ||
|
||
before_install: | ||
- travis_retry composer self-update | ||
- wget https://github.com/puli/cli/releases/download/1.0.0-beta9/puli.phar && chmod +x puli.phar | ||
- travis_retry composer self-update | ||
- wget https://github.com/puli/cli/releases/download/1.0.0-beta9/puli.phar && chmod +x puli.phar | ||
|
||
install: | ||
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update | ||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction | ||
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update | ||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction | ||
|
||
script: | ||
- $TEST_COMMAND | ||
- $TEST_COMMAND | ||
|
||
after_success: | ||
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi | ||
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi | ||
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi | ||
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please see http://docs.php-http.org/en/latest/development/contributing.html |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2015 PHP HTTP Team <[email protected]> | ||
Copyright (c) 2015-2016 PHP HTTP Team <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,14 @@ | |
"description": "Symfony bundle to integrate the Httplug generic HTTP client into Symfony", | ||
"type": "symfony-bundle", | ||
"keywords": ["http", "discovery", "adapter", "message", "factory", "bundle", "httplug", "php-http"], | ||
"homepage": "http://php-http.org", | ||
"homepage": "http://httplug.io", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "David Buchmann", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"require": { | ||
"php": ">=5.5", | ||
"php-http/discovery": "^0.6.3", | ||
|
@@ -43,5 +41,7 @@ | |
"branch-alias": { | ||
"dev-master": "1.0-dev" | ||
} | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need both scrutinizer AND styleci? it looks like scrutinizer is not active in thsi repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scrutinizer does some basic code checks, but I don't insist on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just removed the style checking. Will enable scrutinizer.