Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Update package files
Browse files Browse the repository at this point in the history
  • Loading branch information
Márk Sági-Kazár committed Jan 13, 2016
1 parent 19c56c0 commit c553ad7
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 121 deletions.
4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4

[*.yml*]
indent_style = space
indent_size = 2
7 changes: 6 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +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
CONTRIBUTING export-ignore
phpspec.yml.ci export-ignore
phpspec.yml.dist export-ignore
phpunit.xml.dist export-ignore
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.puli/
build/
vendor/
composer.lock
phpspec.yml
phpunit.xml
/.puli
13 changes: 13 additions & 0 deletions .php_cs
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();
13 changes: 5 additions & 8 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
filter:
paths: [src/*]
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
10 changes: 10 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
preset: symfony

finder:
exclude:
- "spec"
path:
- "src"

enabled:
- short_array_syntax
43 changes: 23 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,42 @@ language: php
sudo: false

cache:
directories:
- $HOME/.composer/cache
directories:
- $HOME/.composer/cache

php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm

env:
global:
- TEST_COMMAND="composer test"
global:
- TEST_COMMAND="composer test"

branches:
except:
- /^analysis-.*$/

matrix:
allow_failures:
- php: hhvm
include:
- php: 5.4
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
fast_finish: true
include:
- php: 5.4
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"

before_install:
- travis_retry composer self-update
- travis_retry composer self-update

install:
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction

before_script:
- vendor/bin/http_test_server > /dev/null 2>&1 &
- vendor/bin/http_test_server > /dev/null 2>&1 &

script:
- $TEST_COMMAND
- $TEST_COMMAND

after_script:
- 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Change Log


## UNRELEASED

### Changed

- Updated package files
- Updated to latest HTTPlug


## 0.1.0 - 2015-06-12

### Added
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING
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
80 changes: 0 additions & 80 deletions CONTRIBUTING.md

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright (c) 2014-2015 Eric GELOEN <[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
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@ Please see the [official documentation](http://php-http.readthedocs.org/en/lates
## Testing

``` bash
$ phpunit
$ composer test
```


## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).


## Security

If you discover any security related issues, please contact us at [[email protected]](mailto:[email protected]).
If you discover any security related issues, please contact us at [[email protected]](mailto:[email protected])
or [[email protected]](mailto:[email protected]).


## License
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Guzzle 5 HTTP Adapter",
"license": "MIT",
"keywords": ["guzzle", "http"],
"homepage": "http://php-http.org",
"homepage": "http://httplug.io",
"authors": [
{
"name": "Eric GELOEN",
Expand All @@ -16,14 +16,14 @@
],
"require": {
"php": ">=5.4",
"php-http/httplug": "1.0.0-beta",
"php-http/discovery": "~0.5",
"php-http/httplug": "^1.0",
"php-http/discovery": "~0.6.4",
"guzzlehttp/guzzle": "^5.1"
},
"require-dev": {
"ext-curl": "*",
"guzzlehttp/ringphp": "^1.1",
"php-http/adapter-integration-tests": "dev-master",
"php-http/adapter-integration-tests": "^0.2",
"php-http/client-common": "^0.1.1",
"guzzlehttp/psr7": "^1.2"
},
Expand Down

0 comments on commit c553ad7

Please sign in to comment.