diff --git a/.travis.yml b/.travis.yml index e7f684f..0ce4612 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ before_install: - if [ "$DEPS" == "low" ]; then echo -n " --prefer-lowest" >> install.sh; fi; - if [ "$DEPS" == "normal" ]; then echo -n " --prefer-stable" >> install.sh; fi; - sed -n '/prefer-stable/!p' composer.json > tmp.json && mv tmp.json composer.json; + - cat ./install.sh install: - travis_retry composer global require kherge/box --prefer-dist @@ -62,7 +63,7 @@ before_script: - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-add xdebug.ini ; fi script: - - $HOME/.composer/vendor/bin/phing continous -Ddeps=$DEPS -Dcitool=travis -Dphpversion=$TRAVIS_PHP_VERSION -Dcoveralls=$COVERALLS -verbose + - $HOME/.composer/vendor/bin/phing continous -Ddeps=$DEPS -Dcitool=travis -Dphpversion=$TRAVIS_PHP_VERSION -Dcoveralls=$COVERALLS after_success: - if [ "$COVERALLS" == "true" ]; then echo "Will export coveralls!"; fi diff --git a/composer.json b/composer.json index 973ea2e..f9baf27 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "phploc/phploc": ">=2.0,<4", "symfony/process": ">=2.3,<4", "seld/jsonlint": "^1.4", - "hexmedia/yaml-linter": "<2", + "hexmedia/yaml-linter": ">0.1,<2", "hexmedia/code-style": "dev-crontab" }, "suggest": { diff --git a/src/Variables.php b/src/Variables.php index 5ee35bc..6e06bd6 100644 --- a/src/Variables.php +++ b/src/Variables.php @@ -45,6 +45,7 @@ public function __construct(array $variables) * Return the current element * * @link http://php.net/manual/en/iterator.current.php + * * @return mixed Can return any type. * @since 5.0.0 */ @@ -57,6 +58,7 @@ public function current() * Move forward to next element * * @link http://php.net/manual/en/iterator.next.php + * * @return void Any returned value is ignored. * @since 5.0.0 */ @@ -69,6 +71,7 @@ public function next() * Return the key of the current element * * @link http://php.net/manual/en/iterator.key.php + * * @return mixed scalar on success, or null on failure. * @since 5.0.0 */ @@ -81,6 +84,7 @@ public function key() * Checks if current position is valid * * @link http://php.net/manual/en/iterator.valid.php + * * @return boolean The return value will be casted to boolean and then evaluated. * Returns true on success or false on failure. * @since 5.0.0 @@ -94,6 +98,7 @@ public function valid() * Rewind the Iterator to the first element * * @link http://php.net/manual/en/iterator.rewind.php + * * @return void Any returned value is ignored. * @since 5.0.0 */