Skip to content

Commit

Permalink
PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
SocalNick committed Apr 1, 2013
1 parent 37e4cb8 commit 2746fab
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ before_script:

script:
- (cd test ; phpunit -c phpunit.xml)
- output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
- output=$(php php-cs-fixer.phar fix -v --dry-run .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
1 change: 1 addition & 0 deletions src/ScnSocialAuth/Authentication/Adapter/HybridAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public function authenticate(AuthEvent $authEvent)
$authEvent->setCode(Result::FAILURE_UNCATEGORIZED)
->setMessages(array('A record with the supplied identity is not active.'));
$this->setSatisfied(false);

return false;
}
}
Expand Down
1 change: 0 additions & 1 deletion test/ScnSocialAuthTest/Controller/UserControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ public function testProviderLoginInvalidProvider()
$this->assertEquals('Page not found', $result->content);
}
}

1 change: 0 additions & 1 deletion test/ScnSocialAuthTest/RouteAssemblyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ public function testCanAssembleAuthenticationRouteWithRedirect()
$this->assertEquals('/user/authenticate?provider=facebook&redirect=another-url', $url);
}
}

0 comments on commit 2746fab

Please sign in to comment.