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

Commit

Permalink
Merge branch 'master' into ValidatorMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 44 changed files with 1 addition and 156 deletions.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"dev-develop": "2.3-dev"
}
},
"suggest": {
"zendframework/zend-stdlib": "Zend\\Stdlib component"
},
"autoload-dev": {
"psr-4": {
"ZendTest\\Loader\\": "test/"
Expand Down
2 changes: 1 addition & 1 deletion src/ClassMapAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static function realPharPath($path)
return ($p !== '' && $p !== '.');
}));

array_walk($parts, function ($value, $key) use(&$parts) {
array_walk($parts, function ($value, $key) use (&$parts) {
if ($value === '..') {
unset($parts[$key], $parts[$key-1]);
$parts = array_values($parts);
Expand Down
1 change: 0 additions & 1 deletion test/AutoloadDoesNotHideParseError.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

Zend_Loader::registerAutoload();
Expand Down
6 changes: 0 additions & 6 deletions test/AutoloadableClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

/**
* @category Zend
* @package Zend_Loader
* @subpackage UnitTests
*/
class Zend_Loader_AutoloadableClass
{
}
4 changes: 0 additions & 4 deletions test/AutoloaderFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader;
Expand All @@ -14,9 +13,6 @@
use Zend\Loader\AutoloaderFactory;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class AutoloaderFactoryTest extends \PHPUnit_Framework_TestCase
Expand Down
4 changes: 0 additions & 4 deletions test/ClassMapAutoloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader;
Expand All @@ -14,9 +13,6 @@
use Zend\Loader\Exception\InvalidArgumentException;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class ClassMapAutoloaderTest extends \PHPUnit_Framework_TestCase
Expand Down
1 change: 0 additions & 1 deletion test/ModuleAutoloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\ModuleAutoloaderTest;
Expand Down
5 changes: 0 additions & 5 deletions test/MyLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

/**
* Static methods for loading classes and files.
*
* @category Zend
* @package Zend_Loader
* @subpackage UnitTests
*/
class Zend_Loader_MyLoader extends Zend_Loader
{
Expand Down
5 changes: 0 additions & 5 deletions test/MyOverloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,10 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

/**
* Static methods for loading classes and files.
*
* @category Zend
* @package Zend_Loader
* @subpackage UnitTests
*/
class Zend_Loader_MyOverloader extends Zend_Loader
{
Expand Down
4 changes: 0 additions & 4 deletions test/PluginClassLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader;

use Zend\Loader\PluginClassLoader;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class PluginClassLoaderTest extends \PHPUnit_Framework_TestCase
Expand Down
4 changes: 0 additions & 4 deletions test/StandardAutoloaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader;
Expand All @@ -15,9 +14,6 @@
use ReflectionClass;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class StandardAutoloaderTest extends \PHPUnit_Framework_TestCase
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/ClassMappedClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\UnusualNamespace;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class ClassMappedClass
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/CustomClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset;

use Zend\Loader\PluginClassLoader;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class CustomClassLoader extends PluginClassLoader
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/ExtendedPluginClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset;

use Zend\Loader\PluginClassLoader;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class ExtendedPluginClassLoader extends PluginClassLoader
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/Name_Space/Namespaced/Class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\UnusualNamespace\Name_Space;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class Namespaced_Class
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/NamespacedClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\UnusualNamespace;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class NamespacedClass
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/PrefixedClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class ZendTest_UnusualPrefix_PrefixedClass
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/SamplePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class SamplePlugin
Expand Down
1 change: 0 additions & 1 deletion test/TestAsset/ServiceLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset;
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/StandardAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset;

use Zend\Loader\StandardAutoloader as Psr0Autoloader;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class StandardAutoloader extends Psr0Autoloader
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/TestNamespace/FallbackCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace TestNamespace;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class FallbackCase
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/TestNamespace/NoDuplicateAutoloadersCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace TestNamespace;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class NoDuplicateAutoloadersCase
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/TestPluginMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class TestPluginMap implements \IteratorAggregate
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/TestPlugins/Bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset\TestPlugins;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class Bar
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/TestPlugins/Baz.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset\TestPlugins;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class Baz
Expand Down
4 changes: 0 additions & 4 deletions test/TestAsset/TestPlugins/Foo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @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_Loader
*/

namespace ZendTest\Loader\TestAsset\TestPlugins;

/**
* @category Zend
* @package Loader
* @subpackage UnitTests
* @group Loader
*/
class Foo
Expand Down
Loading

0 comments on commit 8e47bbf

Please sign in to comment.