Skip to content

Commit

Permalink
Fix docblock and add -n flag to phpcs build
Browse files Browse the repository at this point in the history
  • Loading branch information
tanuck committed Mar 3, 2015
1 parent f6e3688 commit f5a7cf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ before_script:

script:
- sh -c "if [ '$PHPCS' != '1' ]; then phpunit; fi"
- sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=tests/bootstrap.php ./src ./tests; fi"
- sh -c "if [ '$PHPCS' = '1' ]; then vendor/bin/phpcs -p -n --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP --ignore=tests/bootstrap.php ./src ./tests; fi"

notifications:
email: false
2 changes: 1 addition & 1 deletion src/View/Helper/MarkdownHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MarkdownHelper extends Helper
* Parse Markdown input to HTML 5.
*
* @param string $input Markdown to be parsed.
* @return void|string
* @return void|string if `$input` is not string return null, otherwise return parsed markdown string
*/
public function transform($input)
{
Expand Down

0 comments on commit f5a7cf4

Please sign in to comment.