Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Remove unused PHP use statements.
  • Loading branch information
Géza Búza committed Mar 4, 2019
1 parent 0415803 commit abdc8bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
"magento/framework": ">=100.1",
"container-interop/container-interop": "^1.2",
"symfony/dependency-injection": ">=2.0",
"symfony/event-dispatcher": ">=2.0"
"symfony/event-dispatcher": ">=2.0",
"magento/module-authorization": "*",
"magento/module-user": "*",
"magento/module-backend": "*"
},
"require-dev": {
"bex/behat-test-runner": "^1.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@

use Bex\Behat\Magento2Extension\Service\MagentoObjectManager;
use Interop\Container\ContainerInterface;
use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Backend\Model\Auth\Session;
use Magento\Framework\App\Bootstrap;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\App\State;
use Magento\Framework\ObjectManager\ConfigLoaderInterface;
use Magento\Framework\Registry;
use Magento\User\Model\UserFactory;
use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyServiceContainer;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
use Behat\Testwork\EventDispatcher\Event\BeforeSuiteTested;
use Behat\Testwork\EventDispatcher\Event\SuiteTested;
use Bex\Behat\Magento2Extension\ServiceContainer\Config;
use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Backend\Model\Auth\Session;
use Magento\Framework\App\Area;
use Magento\Framework\App\Bootstrap;
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\App\State;
use Magento\Framework\ObjectManager\ConfigLoaderInterface;
use Magento\Framework\Registry;
use Magento\User\Model\UserFactory;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Backend\Model\Auth\Session;
use Magento\User\Model\UserFactory;

class MagentoObjectManagerInitializer implements EventSubscriberInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Behat\Testwork\ServiceContainer\Extension;
use Behat\Testwork\ServiceContainer\ExtensionManager;
use Magento\Framework\App\Http as HttpApplication;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
Expand Down

0 comments on commit abdc8bf

Please sign in to comment.