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

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion src/Container/AbstractContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Container/AccessController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -97,7 +97,7 @@ public function unlock()
/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Container/ContainerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -48,7 +48,7 @@ public function unlock();
/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked();
}
4 changes: 2 additions & 2 deletions src/Container/Locked.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -57,7 +57,7 @@ public function unlock()
/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked()
{
Expand Down
6 changes: 3 additions & 3 deletions src/Container/Movable.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -102,7 +102,7 @@ public function unlock()
/**
* Return true if object is locked
*
* @return boolean
* @return bool
*/
public function isLocked()
{
Expand Down Expand Up @@ -248,7 +248,7 @@ public function markAsSwapped()
* Check if object is marked as swapped
*
* @internal
* @return boolean
* @return bool
*/
public function isSwapped()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down
4 changes: 2 additions & 2 deletions src/MemoryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -246,7 +246,7 @@ public function createLocked($value = '')
* Create new Zend_Memory object
*
* @param string $value
* @param boolean $locked
* @param bool $locked
* @return \Zend\Memory\Container\ContainerInterface
* @throws \Zend\Memory\Exception\ExceptionInterface
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -41,7 +41,7 @@ class Value implements ArrayAccess, Countable
/**
* Boolean flag which signals to trace value modifications
*
* @var boolean
* @var bool
*/
private $trace;

Expand Down Expand Up @@ -84,7 +84,7 @@ public function count()
* returns true if string offset exists
*
* @param integer $offset
* @return boolean
* @return bool
*/
public function offsetExists($offset)
{
Expand Down
8 changes: 4 additions & 4 deletions test/AccessControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -80,12 +80,12 @@ public function testLock()
$memoryManager = new Memory\MemoryManager($this->_cache);
$memObject = $memoryManager->create('012345678');

$this->assertFalse((boolean)$memObject->isLocked());
$this->assertFalse((bool) $memObject->isLocked());

$memObject->lock();
$this->assertTrue((boolean)$memObject->isLocked());
$this->assertTrue((bool) $memObject->isLocked());

$memObject->unlock();
$this->assertFalse((boolean)$memObject->isLocked());
$this->assertFalse((bool) $memObject->isLocked());
}
}
8 changes: 4 additions & 4 deletions test/LockedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -62,14 +62,14 @@ public function testLock()
$memObject = new Container\Locked('0123456789');

// It's always locked
$this->assertTrue((boolean)$memObject->isLocked());
$this->assertTrue((bool) $memObject->isLocked());

$memObject->lock();
$this->assertTrue((boolean)$memObject->isLocked());
$this->assertTrue((bool) $memObject->isLocked());

$memObject->unlock();
// It's always locked
$this->assertTrue((boolean)$memObject->isLocked());
$this->assertTrue((bool) $memObject->isLocked());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/MemoryManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down
10 changes: 5 additions & 5 deletions test/MovableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down Expand Up @@ -66,13 +66,13 @@ public function testLock()
$memoryManager = new DummyMemoryManager();
$memObject = new Container\Movable($memoryManager, 10, '0123456789');

$this->assertFalse((boolean)$memObject->isLocked());
$this->assertFalse((bool) $memObject->isLocked());

$memObject->lock();
$this->assertTrue((boolean)$memObject->isLocked());
$this->assertTrue((bool) $memObject->isLocked());

$memObject->unlock();
$this->assertFalse((boolean)$memObject->isLocked());
$this->assertFalse((bool) $memObject->isLocked());
}

/**
Expand Down Expand Up @@ -136,7 +136,7 @@ public function testInvalidSetThrowException()
*/
class DummyMemoryManager extends Memory\MemoryManager
{
/** @var boolean */
/** @var bool */
public $processUpdatePassed = false;

/** @var integer */
Expand Down
2 changes: 1 addition & 1 deletion test/ValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Memory
*/
Expand Down

0 comments on commit 21c18f9

Please sign in to comment.