[TASK] Update to class-alias-loader 2.x 36/42336/4
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 6 Aug 2015 22:12:49 +0000 (00:12 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 7 Aug 2015 09:35:24 +0000 (11:35 +0200)
Update to latest refactored version of the class-alias-loader.
This might be the last iteration before this package is moved
to TYPO3 namespace.

The alias loader has been refactored, cleaned up, moved to PSR-2.
Documentation and tests have been added.

Releases: master
Resolves: #68811
Change-Id: Ice960936712b39f095d4398ce342947d09b79153
Reviewed-on: http://review.typo3.org/42336
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
composer.json
composer.lock
typo3/sysext/backend/Classes/Console/Application.php
typo3/sysext/backend/Classes/Http/Application.php
typo3/sysext/compatibility6/composer.json
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/ClassLoadingInformation.php
typo3/sysext/frontend/Classes/Http/Application.php
typo3/sysext/install/Classes/Http/Application.php
typo3/sysext/mediace/composer.json

index be50e62..735b43b 100644 (file)
@@ -40,7 +40,7 @@
                "symfony/console": "~2.5.11",
                "symfony/finder": "^2.6.9",
                "doctrine/instantiator": "~1.0.4",
-               "helhum/class-alias-loader": "^1.1.9",
+               "helhum/class-alias-loader": "^2.0.0",
                "typo3/cms-composer-installers": "^1.2.2",
                "psr/http-message": "~1.0"
        },
index 00de44c..73525cb 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "hash": "2d3f58d0523e76748072a590be255017",
+    "hash": "67334195c29a2d5cfb17e446317824f6",
     "packages": [
         {
             "name": "doctrine/instantiator",
         },
         {
             "name": "helhum/class-alias-loader",
-            "version": "1.1.10",
+            "version": "2.0.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/helhum/class-alias-loader.git",
-                "reference": "a5206c1ccfdaeac401eca76a723bfee06e38a111"
+                "reference": "28e9155b8ab3f2871f32899d4fa355fd14daba95"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/helhum/class-alias-loader/zipball/a5206c1ccfdaeac401eca76a723bfee06e38a111",
-                "reference": "a5206c1ccfdaeac401eca76a723bfee06e38a111",
+                "url": "https://api.github.com/repos/helhum/class-alias-loader/zipball/28e9155b8ab3f2871f32899d4fa355fd14daba95",
+                "reference": "28e9155b8ab3f2871f32899d4fa355fd14daba95",
                 "shasum": ""
             },
             "require": {
-                "composer-plugin-api": "^1.0"
+                "composer-plugin-api": "^1.0",
+                "php": ">=5.3.7"
             },
             "require-dev": {
-                "composer/composer": "dev-master"
+                "composer/composer": "dev-master",
+                "mikey179/vfsstream": "1.4.*@dev",
+                "phpunit/phpunit": "~4.7.0"
             },
             "type": "composer-plugin",
             "extra": {
-                "class": "Helhum\\ClassAliasLoader\\Composer\\Plugin",
+                "class": "Helhum\\ClassAliasLoader\\Plugin",
                 "branch-alias": {
-                    "dev-master": "1.1.x-dev"
+                    "dev-master": "2.0.x-dev"
                 }
             },
             "autoload": {
                 "psr-4": {
-                    "Helhum\\ClassAliasLoader\\": "Classes/"
+                    "Helhum\\ClassAliasLoader\\": "src/"
                 }
             },
             "notification-url": "https://packagist.org/downloads/",
                 "classloader",
                 "composer"
             ],
-            "time": "2015-07-08 08:08:04"
+            "time": "2015-08-06 22:03:20"
         },
         {
             "name": "pear/http_request2",
index 1389a31..c86b453 100644 (file)
@@ -44,7 +44,7 @@ class Application implements ApplicationInterface {
        /**
         * Constructor setting up legacy constants and register available Request Handlers
         *
-        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\Composer\ClassAliasLoader $classLoader an instance of the class loader
+        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\ClassAliasLoader $classLoader an instance of the class loader
         */
        public function __construct($classLoader) {
                $this->checkEnvironmentOrDie();
index b43ac7f..3b77c66 100644 (file)
@@ -50,7 +50,7 @@ class Application implements ApplicationInterface {
        /**
         * Constructor setting up legacy constant and register available Request Handlers
         *
-        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\Composer\ClassAliasLoader $classLoader an instance of the class loader
+        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\ClassAliasLoader $classLoader an instance of the class loader
         */
        public function __construct($classLoader) {
                $this->defineLegacyConstants();
index 470bcbf..a9a0de4 100644 (file)
                "compatibility6": "*"
        },
        "extra": {
-               "class-alias-maps": [
-                       "Migrations/Code/ClassAliasMap.php"
-               ]
+               "helhum/class-alias-loader": {
+                       "class-alias-maps": [
+                               "Migrations/Code/ClassAliasMap.php"
+                       ]
+               }
        },
        "autoload": {
                "psr-4": {
index c6a9db0..8bdc82d 100644 (file)
@@ -192,7 +192,7 @@ class Bootstrap {
        /**
         * Sets the class loader to the bootstrap
         *
-        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\Composer\ClassAliasLoader $classLoader an instance of the class loader
+        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\ClassAliasLoader $classLoader an instance of the class loader
         * @return Bootstrap
         * @internal This is not a public API method, do not use in own extensions
         */
index fa332ee..9497304 100644 (file)
@@ -15,7 +15,7 @@ namespace TYPO3\CMS\Core\Core;
  */
 
 use Composer\Autoload\ClassLoader as ComposerClassLoader;
-use Helhum\ClassAliasLoader\Composer\ClassAliasLoader;
+use Helhum\ClassAliasLoader\ClassAliasLoader;
 use TYPO3\CMS\Core\Package\PackageInterface;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
index 4ca07a8..43d29d4 100644 (file)
@@ -13,10 +13,10 @@ namespace TYPO3\CMS\Frontend\Http;
  *
  * The TYPO3 project - inspiring people to share!
  */
+
 use TYPO3\CMS\Core\Core\ApplicationInterface;
 use TYPO3\CMS\Core\Core\Bootstrap;
 
-
 /**
  * Entry point for the TYPO3 Frontend
  */
@@ -45,7 +45,7 @@ class Application implements ApplicationInterface {
        /**
         * Constructor setting up legacy constant and register available Request Handlers
         *
-        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\Composer\ClassAliasLoader $classLoader an instance of the class loader
+        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\ClassAliasLoader $classLoader an instance of the class loader
         */
        public function __construct($classLoader) {
                $this->defineLegacyConstants();
index ae5629a..929fe4c 100644 (file)
@@ -43,7 +43,7 @@ class Application implements ApplicationInterface {
        /**
         * Constructor setting up legacy constant and register available Request Handlers
         *
-        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\Composer\ClassAliasLoader $classLoader an instance of the class loader
+        * @param \Composer\Autoload\ClassLoader|\Helhum\ClassAliasLoader\ClassAliasLoader $classLoader an instance of the class loader
         */
        public function __construct($classLoader) {
                $this->defineLegacyConstants();
index b05d0c0..86054c8 100644 (file)
                "mediace": "*"
        },
        "extra": {
-               "class-alias-maps": [
-                       "Migrations/Code/ClassAliasMap.php"
-               ]
+               "helhum/class-alias-loader": {
+                       "class-alias-maps": [
+                               "Migrations/Code/ClassAliasMap.php"
+                       ]
+               }
        },
        "autoload": {
                "psr-4": {