From fbf9391577dce832487339bb5dec9146226ae1ee Mon Sep 17 00:00:00 2001 From: Bibu Mathew Date: Thu, 18 Dec 2014 14:44:38 -0600 Subject: [PATCH 1/2] MAGETWO-30808: Remove include-path from composer.json - Removed include path from composer.json - updates test to use composer autoloader --- composer.json | 3 --- .../Magento/Framework/Api/Code/Generator/DataBuilderTest.php | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 7d2f652018410..a3b1ecdba3238 100644 --- a/composer.json +++ b/composer.json @@ -185,9 +185,6 @@ "tinymce/tinymce": "lib/web/tiny_mce" } }, - "config": { - "use-include-path": true - }, "autoload": { "psr-4": { "Magento\\Framework\\": "lib/internal/Magento/Framework/" diff --git a/dev/tests/integration/testsuite/Magento/Framework/Api/Code/Generator/DataBuilderTest.php b/dev/tests/integration/testsuite/Magento/Framework/Api/Code/Generator/DataBuilderTest.php index 96ed8757a588e..57bca0c46f11b 100644 --- a/dev/tests/integration/testsuite/Magento/Framework/Api/Code/Generator/DataBuilderTest.php +++ b/dev/tests/integration/testsuite/Magento/Framework/Api/Code/Generator/DataBuilderTest.php @@ -16,7 +16,8 @@ class DataBuilderTest extends \PHPUnit_Framework_TestCase protected function setUp() { - \Magento\Framework\Filesystem\FileResolver::addIncludePath([__DIR__ . '/../../_files']); + $autoloadWrapper = \Magento\Framework\Autoload\AutoloaderRegistry::getAutoloader(); + $autoloadWrapper->addPsr4('Magento\\Wonderland\\', realpath(__DIR__ . '/../../_files/Magento/Wonderland')); $this->_objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager(); $this->_objectManager->configure( [ From 13f66221ef549e6249cde9656da6f18dc0e25677 Mon Sep 17 00:00:00 2001 From: Joan He Date: Tue, 6 Jan 2015 10:02:36 -0600 Subject: [PATCH 2/2] MAGETWO-30808: Remove include-path from composer.json --- composer.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index 990692a84d28d..1555108c6caf9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "0c7573953aece5e5227468ebff4539da", + "hash": "92e39ae537cd58698bf74e13721f17f3", "packages": [ { "name": "composer/composer", @@ -290,16 +290,16 @@ }, { "name": "seld/jsonlint", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "a7bc2ec9520ad15382292591b617c43bdb1fec35" + "reference": "863ae85c6d3ef60ca49cb12bd051c4a0648c40c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/a7bc2ec9520ad15382292591b617c43bdb1fec35", - "reference": "a7bc2ec9520ad15382292591b617c43bdb1fec35", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/863ae85c6d3ef60ca49cb12bd051c4a0648c40c4", + "reference": "863ae85c6d3ef60ca49cb12bd051c4a0648c40c4", "shasum": "" }, "require": { @@ -332,7 +332,7 @@ "parser", "validator" ], - "time": "2014-09-05 15:36:20" + "time": "2015-01-04 21:18:15" }, { "name": "symfony/console", @@ -2670,16 +2670,16 @@ }, { "name": "sebastian/version", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43" + "reference": "a77d9123f8e809db3fbdea15038c27a95da4058b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43", - "reference": "b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/a77d9123f8e809db3fbdea15038c27a95da4058b", + "reference": "a77d9123f8e809db3fbdea15038c27a95da4058b", "shasum": "" }, "type": "library", @@ -2701,7 +2701,7 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2014-03-07 15:35:33" + "time": "2014-12-15 14:25:24" }, { "name": "sjparkinson/static-review",