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 'zf2/master' into feature/doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 43 changed files with 107 additions and 382 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zendframework/zend-paginator",
"description": "Zend\\Paginator component",
"description": " ",
"license": "BSD-3-Clause",
"keywords": [
"zf2",
Expand All @@ -9,11 +9,11 @@
"homepage": "https://github.com/zendframework/zend-paginator",
"autoload": {
"psr-4": {
"Zend\\Paginator\\": "src/"
"Zend\\Paginator": "src/"
}
},
"require": {
"php": ">=5.3.23",
"php": ">=5.3.3",
"zendframework/zend-stdlib": "self.version"
},
"require-dev": {
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/AdapterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*
* @category Zend
* @package Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface AdapterInterface extends Countable
{
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/ArrayAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
/**
* @category Zend
* @package Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class ArrayAdapter implements AdapterInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/DbSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class DbSelect implements AdapterInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/DbTableSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class DbTableSelect extends DbSelect
{
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* @category Zend
* @package Zend_Paginator
* @subpackage Adapter
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface ExceptionInterface extends Exception
{}
2 changes: 0 additions & 2 deletions src/Adapter/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* @category Zend
* @package Zend\Paginator\Adapter
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException extends Exception\InvalidArgumentException implements
ExceptionInterface
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* @category Zend
* @package Zend\Paginator\Adapter
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException extends Exception\RuntimeException implements
ExceptionInterface
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* @category Zend
* @package Zend\Paginator\Adapter
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class UnexpectedValueException extends Exception\UnexpectedValueException implements
ExceptionInterface
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/Iterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Iterator implements AdapterInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/Adapter/Null.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Null implements AdapterInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/AdapterAggregateInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* @category Zend
* @package Zend_Paginator
* @subpackage Adapter
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface AdapterAggregateInterface
{
Expand Down
22 changes: 5 additions & 17 deletions src/AdapterPluginManager.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/**
* Zend Framework
* Zend Framework (http://framework.zend.com/)
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Paginator
*/

namespace Zend\Paginator;
Expand All @@ -31,8 +21,6 @@
*
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class AdapterPluginManager extends AbstractPluginManager
{
Expand Down
2 changes: 0 additions & 2 deletions src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface ExceptionInterface
{}
2 changes: 0 additions & 2 deletions src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @category Zend
* @package Zend\Paginator
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class InvalidArgumentException
extends \InvalidArgumentException
Expand Down
2 changes: 0 additions & 2 deletions src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @category Zend
* @package Zend\Paginator
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class RuntimeException
extends \RuntimeException
Expand Down
2 changes: 0 additions & 2 deletions src/Exception/UnexpectedValueException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @category Zend
* @package Zend\Paginator
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class UnexpectedValueException
extends \UnexpectedValueException
Expand Down
10 changes: 4 additions & 6 deletions src/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,26 @@

namespace Zend\Paginator;

use Zend\Paginator\ScrollingStyle\ScrollingStyleInterface;
use Zend\Paginator\Adapter\AdapterInterface;
use ArrayIterator;
use Countable;
use Iterator;
use IteratorAggregate;
use Traversable;
use Zend\Cache\Storage\StorageInterface as CacheStorage;
use Zend\Cache\Storage\IteratorInterface as CacheIterator;
use Zend\Cache\Storage\StorageInterface as CacheStorage;
use Zend\Db\Sql;
use Zend\Db\Table\AbstractRowset as DbAbstractRowset;
use Zend\Db\Table\Select as DbTableSelect;
use Zend\Db\Sql;
use Zend\Filter\FilterInterface;
use Zend\Json\Json;
use Zend\Paginator\Adapter\AdapterInterface;
use Zend\Paginator\ScrollingStyle\ScrollingStyleInterface;
use Zend\Stdlib\ArrayUtils;
use Zend\View;

/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Paginator implements Countable, IteratorAggregate
{
Expand Down
2 changes: 0 additions & 2 deletions src/ScrollingStyle/All.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class All implements ScrollingStyleInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/ScrollingStyle/Elastic.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
* @link http://www.google.com/search?q=Zend+Framework
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Elastic extends Sliding
{
Expand Down
2 changes: 0 additions & 2 deletions src/ScrollingStyle/Jumping.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
*
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Jumping implements ScrollingStyleInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/ScrollingStyle/ScrollingStyleInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
interface ScrollingStyleInterface
{
Expand Down
2 changes: 0 additions & 2 deletions src/ScrollingStyle/Sliding.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
* @link http://search.yahoo.com/search?p=Zend+Framework
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Sliding implements ScrollingStyleInterface
{
Expand Down
22 changes: 5 additions & 17 deletions src/ScrollingStylePluginManager.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/**
* Zend Framework
* Zend Framework (http://framework.zend.com/)
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Paginator
*/

namespace Zend\Paginator;
Expand All @@ -31,8 +21,6 @@
*
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class ScrollingStylePluginManager extends AbstractPluginManager
{
Expand Down
2 changes: 0 additions & 2 deletions src/SerializableLimitIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
/**
* @category Zend
* @package Zend_Paginator
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class SerializableLimitIterator extends \LimitIterator implements \Serializable, \ArrayAccess
{
Expand Down
23 changes: 5 additions & 18 deletions test/Adapter/ArrayTest.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
<?php
/**
* Zend Framework
* Zend Framework (http://framework.zend.com/)
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Paginator
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Paginator
*/

namespace ZendTest\Paginator\Adapter;
Expand All @@ -27,8 +16,6 @@
* @category Zend
* @package Zend_Paginator
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Paginator
*/
class ArrayTest extends \PHPUnit_Framework_TestCase
Expand Down
23 changes: 5 additions & 18 deletions test/Adapter/DbSelect/OracleTest.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
<?php
/**
* Zend Framework
* Zend Framework (http://framework.zend.com/)
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Paginator
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Paginator
*/

namespace ZendTest\Paginator\Adapter\DbSelect;
Expand All @@ -32,8 +21,6 @@
* @category Zend
* @package Zend_Paginator
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @group Zend_Paginator
*/
class OracleTest extends DbSelectTest
Expand Down
Loading

0 comments on commit c6ff37b

Please sign in to comment.