Skip to content

Commit 6671240

Browse files
ENGCOM-2433: Delete all unused imports of lib/internal/Magento #16946
- Merge Pull Request #16946 from osrecio/magento2:2.2-libmagento_unused_import - Merged commits: 1. ea7bcc2
2 parents c90c183 + ea7bcc2 commit 6671240

File tree

70 files changed

+0
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+0
-105
lines changed

lib/internal/Magento/Framework/Api/CombinedFilterGroup.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
namespace Magento\Framework\Api;
99

10-
use Magento\Framework\Api\AbstractSimpleObject;
11-
use Magento\Framework\DB\Select;
1210
use Magento\Framework\Exception\InputException;
1311
use Magento\Framework\Phrase;
1412

lib/internal/Magento/Framework/App/Cache/Frontend/Factory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
namespace Magento\Framework\App\Cache\Frontend;
1111

1212
use Magento\Framework\App\Filesystem\DirectoryList;
13-
use Magento\Framework\App\ResourceConnection;
1413
use Magento\Framework\Filesystem;
15-
use Magento\Framework\Filesystem\DriverInterface;
1614

1715
/**
1816
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)

lib/internal/Magento/Framework/Archive/Tar.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Magento\Framework\Archive;
1313

1414
use Magento\Framework\Archive\Helper\File;
15-
use Magento\Framework\Filesystem\DriverInterface;
1615

1716
class Tar extends \Magento\Framework\Archive\AbstractArchive implements \Magento\Framework\Archive\ArchiveInterface
1817
{

lib/internal/Magento/Framework/Backup/Filesystem/Rollback/Ftp.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*/
66
namespace Magento\Framework\Backup\Filesystem\Rollback;
77

8-
use Magento\Framework\Filesystem\DriverInterface;
9-
108
/**
119
* Rollback worker for rolling back via ftp
1210
*

lib/internal/Magento/Framework/Composer/Test/Unit/ComposerInformationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
use Composer\Composer;
99
use Composer\Package\Locker;
10-
use Magento\Framework\Composer\ComposerInformation;
1110
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
1211

1312
class ComposerInformationTest extends \PHPUnit\Framework\TestCase

lib/internal/Magento/Framework/Console/Cli.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Magento\Setup\Model\ObjectManagerProvider;
2121
use Symfony\Component\Console;
2222
use Magento\Framework\Config\ConfigOptionsListConstants;
23-
use Zend\ServiceManager\ServiceManager;
2423

2524
/**
2625
* Magento 2 CLI Application.

lib/internal/Magento/Framework/Console/Test/Unit/QuestionPerformer/YesNoTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
use Symfony\Component\Console\Output\OutputInterface;
1212
use Symfony\Component\Console\Question\QuestionFactory;
1313
use Symfony\Component\Console\Question\Question;
14-
use Magento\Framework\Exception\LocalizedException;
15-
use Magento\Framework\Phrase;
1614

1715
class YesNoTest extends \PHPUnit\Framework\TestCase
1816
{

lib/internal/Magento/Framework/DB/AbstractMapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Magento\Framework\Data\ObjectFactory;
1111
use Magento\Framework\DB\Adapter\AdapterInterface;
1212
use Psr\Log\LoggerInterface as Logger;
13-
use Magento\Framework\DataObject;
1413

1514
/**
1615
* Class AbstractMapper

lib/internal/Magento/Framework/DB/Select/GroupRenderer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
namespace Magento\Framework\DB\Select;
77

88
use Magento\Framework\DB\Select;
9-
use Magento\Framework\DB\Platform;
109
use Magento\Framework\DB\Platform\Quote;
1110

1211
/**

lib/internal/Magento/Framework/DB/SelectFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
namespace Magento\Framework\DB;
88

9-
use Magento\Framework\DB\Select;
109
use Magento\Framework\DB\Select\SelectRenderer;
1110
use Magento\Framework\DB\Adapter\AdapterInterface;
1211

0 commit comments

Comments
 (0)