Skip to content
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

Code style fixed. #13

Merged
merged 1 commit into from
Feb 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
5 changes: 5 additions & 0 deletions src/Variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand All @@ -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
Expand All @@ -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
*/
Expand Down