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

Commit ff8e603

Browse files
committed
Merge branch 'master' of git://github.com/zendframework/zf2 into cache_interfaces
3 parents e9d405d + 49a871c + 4145ab4 commit ff8e603

30 files changed

+290
-114
lines changed

.travis/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
travisdir=$(dirname $(readlink /proc/$$/fd/255))
2+
travisdir=$(dirname "$0")
33
testdir="$travisdir/../tests"
44
testedcomponents=(`cat "$travisdir/tested-components"`)
55
result=0

.travis/skipped-components

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Zend/Amf
22
Zend/Date
3+
Zend/Dojo
34
Zend/Queue
45
Zend/Service
56
Zend/Test

.travis/tested-components

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,19 @@ Zend/Form
2222
Zend/GData
2323
Zend/Http
2424
Zend/InfoCard
25+
Zend/InputFilter
2526
Zend/Json
2627
Zend/Ldap
2728
Zend/Loader
2829
Zend/Locale
2930
Zend/Log
3031
Zend/Mail
3132
Zend/Markup
33+
Zend/Math
3234
Zend/Measure
3335
Zend/Memory
3436
Zend/Mime
35-
Zend/Module
37+
Zend/ModuleManager
3638
Zend/Mvc
3739
Zend/Navigation
3840
Zend/OAuth

src/Adapter/AdapterInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ interface AdapterInterface
3333
/**
3434
* Performs an authentication attempt
3535
*
36-
* @return Zend\Authentication\Result
37-
* @throws Zend\Authentication\Adapter\Exception\ExceptionInterface If authentication cannot be performed
36+
* @return \Zend\Authentication\Result
37+
* @throws \Zend\Authentication\Adapter\Exception\ExceptionInterface If authentication cannot be performed
3838
*/
3939
public function authenticate();
4040
}

src/Adapter/DbTable.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121

2222
namespace Zend\Authentication\Adapter;
2323

24-
use Zend\Authentication\Result as AuthenticationResult,
25-
Zend\Db\Adapter\Adapter as DbAdapter,
26-
Zend\Db\Sql\Select as DbSelect,
27-
Zend\Db\Sql\Expression,
28-
Zend\Db\ResultSet\ResultSet;
24+
use Zend\Authentication\Result as AuthenticationResult;
25+
use Zend\Db\Adapter\Adapter as DbAdapter;
26+
use Zend\Db\ResultSet\ResultSet;
27+
use Zend\Db\Sql\Expression;
28+
use Zend\Db\Sql\Select as DbSelect;
2929

3030
/**
3131
* @category Zend

src/Adapter/Digest.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class Digest implements AdapterInterface
6767
* @param mixed $realm
6868
* @param mixed $username
6969
* @param mixed $password
70-
* @return void
7170
*/
7271
public function __construct($filename = null, $realm = null, $username = null, $password = null)
7372
{
@@ -94,7 +93,7 @@ public function getFilename()
9493
* Sets the filename option value
9594
*
9695
* @param mixed $filename
97-
* @return Zend\Authentication\Adapter\Digest Provides a fluent interface
96+
* @return Digest Provides a fluent interface
9897
*/
9998
public function setFilename($filename)
10099
{
@@ -116,7 +115,7 @@ public function getRealm()
116115
* Sets the realm option value
117116
*
118117
* @param mixed $realm
119-
* @return Zend\Authentication\Adapter\Digest Provides a fluent interface
118+
* @return Digest Provides a fluent interface
120119
*/
121120
public function setRealm($realm)
122121
{
@@ -138,7 +137,7 @@ public function getUsername()
138137
* Sets the username option value
139138
*
140139
* @param mixed $username
141-
* @return Zend\Authentication\Adapter\Digest Provides a fluent interface
140+
* @return Digest Provides a fluent interface
142141
*/
143142
public function setUsername($username)
144143
{
@@ -160,7 +159,7 @@ public function getPassword()
160159
* Sets the password option value
161160
*
162161
* @param mixed $password
163-
* @return Zend\Authentication\Adapter\Digest Provides a fluent interface
162+
* @return Digest Provides a fluent interface
164163
*/
165164
public function setPassword($password)
166165
{
@@ -171,8 +170,8 @@ public function setPassword($password)
171170
/**
172171
* Defined by Zend\Authentication\Adapter\AdapterInterface
173172
*
174-
* @throws Zend\Authentication\Adapter\Exception\ExceptionInterface
175-
* @return Zend\Authentication\Result
173+
* @throws Exception\ExceptionInterface
174+
* @return AuthenticationResult
176175
*/
177176
public function authenticate()
178177
{

src/Adapter/Exception/ExceptionInterface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121

2222
namespace Zend\Authentication\Adapter\Exception;
2323

24+
use Zend\Authentication\Exception\ExceptionInterface as Exception;
25+
2426
/**
2527
* @category Zend
2628
* @package Zend_Authentication
2729
* @subpackage Adapter_Exception
2830
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
2931
* @license http://framework.zend.com/license/new-bsd New BSD License
3032
*/
31-
interface ExceptionInterface extends \Zend\Authentication\Exception\ExceptionInterface
32-
{}
33+
interface ExceptionInterface extends Exception
34+
{}

src/Adapter/Exception/InvalidArgumentException.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
namespace Zend\Authentication\Adapter\Exception;
44

5+
use Zend\Authentication\Exception;
6+
57
class InvalidArgumentException
6-
extends \InvalidArgumentException
8+
extends Exception\InvalidArgumentException
79
implements ExceptionInterface
810
{
911
}
Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
<?php
2+
/**
3+
* Zend Framework
4+
*
5+
* LICENSE
6+
*
7+
* This source file is subject to the new BSD license that is bundled
8+
* with this package in the file LICENSE.txt.
9+
* It is also available through the world-wide-web at this URL:
10+
* http://framework.zend.com/license/new-bsd
11+
* If you did not receive a copy of the license and are unable to
12+
* obtain it through the world-wide-web, please send an email
13+
* to license@zend.com so we can send you a copy immediately.
14+
*
15+
* @category Zend
16+
* @package Zend_Authentication
17+
* @subpackage Adapter
18+
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
19+
* @license http://framework.zend.com/license/new-bsd New BSD License
20+
*/
221

322
namespace Zend\Authentication\Adapter\Exception;
423

5-
class RuntimeException
6-
extends \RuntimeException
7-
implements ExceptionInterface
8-
{
24+
use Zend\Authentication\Exception;
925

26+
/**
27+
* @category Zend
28+
* @package Zend_Authentication
29+
* @subpackage Adapter
30+
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
31+
* @license http://framework.zend.com/license/new-bsd New BSD License
32+
*/
33+
class RuntimeException extends Exception\RuntimeException implements
34+
ExceptionInterface
35+
{
1036
}
Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,36 @@
11
<?php
2+
/**
3+
* Zend Framework
4+
*
5+
* LICENSE
6+
*
7+
* This source file is subject to the new BSD license that is bundled
8+
* with this package in the file LICENSE.txt.
9+
* It is also available through the world-wide-web at this URL:
10+
* http://framework.zend.com/license/new-bsd
11+
* If you did not receive a copy of the license and are unable to
12+
* obtain it through the world-wide-web, please send an email
13+
* to license@zend.com so we can send you a copy immediately.
14+
*
15+
* @category Zend
16+
* @package Zend_Authentication
17+
* @subpackage Adapter
18+
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
19+
* @license http://framework.zend.com/license/new-bsd New BSD License
20+
*/
221

322
namespace Zend\Authentication\Adapter\Exception;
423

5-
class UnexpectedValueException
6-
extends \UnexpectedValueException
7-
implements ExceptionInterface
24+
use Zend\Authentication\Exception;
25+
26+
/**
27+
* @category Zend
28+
* @package Zend_Authentication
29+
* @subpackage Adapter
30+
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
31+
* @license http://framework.zend.com/license/new-bsd New BSD License
32+
*/
33+
class UnexpectedValueException extends Exception\UnexpectedValueException implements
34+
ExceptionInterface
835
{
936
}

0 commit comments

Comments
 (0)