Skip to content

Commit

Permalink
Merge pull request #153 from koriym/phpdoc
Browse files Browse the repository at this point in the history
fix @return type as void
  • Loading branch information
koriym authored Oct 15, 2018
2 parents 99dc42d + 57975d7 commit 0585192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
- 7
- 7.1
- 7.2
- 7.3
cache:
directories:
- vendor
Expand All @@ -13,11 +14,11 @@ env:
- DEPENDENCIES=""
- DEPENDENCIES="--prefer-lowest --prefer-stable"
before_script:
- cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp
- phpenv config-rm xdebug.ini
- if [[ $TRAVIS_PHP_VERSION = '7.2' ]]; then cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp; fi
- if [[ $TRAVIS_PHP_VERSION != '7.3' ]]; then phpenv config-rm xdebug.ini ; fi
- composer self-update
- composer update $DEPENDENCIES
- if [[ $TRAVIS_PHP_VERSION = '7.2' ]]; then composer require --dev phpstan/phpstan-shim ^0.9 friendsofphp/php-cs-fixer ^2.0 vimeo/psalm ^2.0; fi
- if [[ $TRAVIS_PHP_VERSION = '7.2' ]]; then composer require --dev phpstan/phpstan-shim ^0.9 friendsofphp/php-cs-fixer ^2.0 vimeo/psalm ^2.0; fi
script:
- ./vendor/bin/phpunit $COVERAGE;
- php demo/run.php
Expand Down
2 changes: 0 additions & 2 deletions src/TransferInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ interface TransferInterface
*
* @param ResourceObject $ro Resource object
* @param array $server $_SERVER value
*
* @return mixed
*/
public function __invoke(ResourceObject $ro, array $server);
}

0 comments on commit 0585192

Please sign in to comment.