Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #42 from FriendsOfCake/travis-master
Browse files Browse the repository at this point in the history
Travis master
  • Loading branch information
ceeram committed Apr 8, 2015
2 parents 6b4ba45 + 49f08e2 commit 4d91c2b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6

env:
global:
Expand All @@ -12,17 +13,17 @@ env:
- REQUIRE=""

matrix:
- DB=mysql CAKE_VERSION=master
- DB=mysql CAKE_VERSION=2.5
- DB=mysql CAKE_VERSION=2.6
- DB=mysql CAKE_VERSION=2.7

matrix:
include:
- php: 5.4
env:
- DB=mysql CAKE_VERSION=master COVERALLS=1
- DB=mysql CAKE_VERSION=2.6 COVERALLS=1
- php: 5.4
env:
- DB=mysql CAKE_VERSION=master PHPCS=1
- DB=mysql CAKE_VERSION=2.6 PHPCS=1

before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
Expand Down
2 changes: 1 addition & 1 deletion Controller/Component/Auth/CookieAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getUser(CakeRequest $request) {
*
* @param CakeRequest $request Request object.
* @param CakeResponse $response Response object.
* @return array|boolean Array of user info on success, false on falure.
* @return array|bool Array of user info on success, false on failure.
*/
public function authenticate(CakeRequest $request, CakeResponse $response) {
return $this->getUser($request);
Expand Down
4 changes: 2 additions & 2 deletions Controller/Component/Auth/TokenAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function __construct(ComponentCollection $collection, $settings) {
*
* @param CakeRequest $request The request object.
* @param CakeResponse $response response object.
* @return boolean Always false.
* @return bool Always false.
*/
public function authenticate(CakeRequest $request, CakeResponse $response) {
return false;
Expand All @@ -92,7 +92,7 @@ public function authenticate(CakeRequest $request, CakeResponse $response) {
*
* @param CakeRequest $request The request object.
* @param CakeResponse $response The response object.
* @return boolean False on failure, user on success.
* @return bool False on failure, user on success.
* @throws HttpException or the one specified using $settings['unauthorized']
*/
public function unauthenticated(CakeRequest $request, CakeResponse $response) {
Expand Down

0 comments on commit 4d91c2b

Please sign in to comment.