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

Travis master #42

Merged
merged 2 commits into from
Apr 8, 2015
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
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