init
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Magento\Framework\App\Utility\Files;
|
||||
|
||||
class CodingStandardsIgnoreAnnotationUsageTest extends TestCase
|
||||
{
|
||||
public function testAnnotationUsage()
|
||||
{
|
||||
$invoker = new \Magento\Framework\App\Utility\AggregateInvoker($this);
|
||||
$invoker(
|
||||
function ($filename) {
|
||||
$fileText = file_get_contents($filename);
|
||||
if (strpos($fileText, '@codingStandardsIgnoreFile') !== false) {
|
||||
$this->fail(
|
||||
'@codingStandardsIgnoreFile annotation must be avoided. '
|
||||
. 'Use codingStandardsIgnoreStart/codingStandardsIgnoreEnd to suppress code fragment '
|
||||
. 'or use codingStandardsIgnoreLine to suppress line. '
|
||||
. $filename
|
||||
);
|
||||
}
|
||||
},
|
||||
Files::init()->getPhpFiles(
|
||||
Files::INCLUDE_APP_CODE
|
||||
| Files::INCLUDE_PUB_CODE
|
||||
| Files::INCLUDE_LIBS
|
||||
| Files::AS_DATA_SET
|
||||
| Files::INCLUDE_NON_CLASSES
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
use Magento\TestFramework\Utility\AddedFiles;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* Static test for parameterized data fixtures
|
||||
*/
|
||||
class LegacyFixtureTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* Prevent creating new fixture files
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testNew(): void
|
||||
{
|
||||
$docUrl = 'https://developer.adobe.com/commerce/testing/guide/integration/attributes/data-fixture/';
|
||||
$files = AddedFiles::getAddedFilesList(__DIR__ . '/..');
|
||||
$legacyFixtureFiles = [];
|
||||
//pattern to ignore skip and filter files
|
||||
$skip_pattern = '/(.*(filter|skip)-list(_ee|_b2b|).php)/';
|
||||
foreach ($files as $file) {
|
||||
if (pathinfo($file, PATHINFO_EXTENSION) === 'php'
|
||||
&& !preg_match($skip_pattern, $file)
|
||||
&& (
|
||||
preg_match('/(integration\/testsuite|api-functional\/testsuite).*\/(_files|Fixtures)/', $file)
|
||||
// Cover the case when tests are located in the module folder instead of dev/tests.
|
||||
// for instance inventory
|
||||
|| (
|
||||
strpos($file, 'dev/tests/') === false
|
||||
&& preg_match('/app\/code\/.*\/Test.*\/(_files|Fixtures)/', $file)
|
||||
&& !preg_match('/app\/code\/.*\/Tests?\/Performance\/(_files|Fixtures)/', $file)
|
||||
)
|
||||
)
|
||||
) {
|
||||
$legacyFixtureFiles[] = str_replace(BP . '/', '', $file);
|
||||
}
|
||||
}
|
||||
|
||||
$this->assertCount(
|
||||
0,
|
||||
$legacyFixtureFiles,
|
||||
"The format used for creating fixtures is deprecated. Please use parameterized fixture format.\n"
|
||||
. "For details please look at $docUrl.\r\n"
|
||||
. "The following fixture files were added:\r\n"
|
||||
. implode(PHP_EOL, $legacyFixtureFiles)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Verify that there are no files in the old locations of web and php libraries
|
||||
*/
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
class LibraryLocationTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* Root path of Magento
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected static $root;
|
||||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
self::$root = BP;
|
||||
}
|
||||
|
||||
public function testOldWebLibrariesLocation()
|
||||
{
|
||||
$oldLocation = self::$root . '/pub/lib';
|
||||
$this->assertFileDoesNotExist($oldLocation, "The web libraries have been moved from 'pub/lib' to 'lib/web'");
|
||||
}
|
||||
|
||||
public function testOldPhpLibrariesLocation()
|
||||
{
|
||||
$libLocation = self::$root . '/lib';
|
||||
|
||||
$permittedEntries = [
|
||||
self::$root . '/lib/web',
|
||||
self::$root . '/lib/internal',
|
||||
self::$root . '/.htaccess',
|
||||
];
|
||||
|
||||
$entries = glob("{$libLocation}/*");
|
||||
$excessiveEntries = [];
|
||||
foreach ($entries as $entry) {
|
||||
$entry = str_replace('\\', '/', $entry);
|
||||
$permitted = false;
|
||||
foreach ($permittedEntries as $permittedEntry) {
|
||||
if ($permittedEntry == $entry) {
|
||||
$permitted = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!$permitted) {
|
||||
$excessiveEntries[] = $entry;
|
||||
}
|
||||
}
|
||||
|
||||
$this->assertEmpty(
|
||||
$excessiveEntries,
|
||||
"All files and directories have been moved from 'lib' to 'lib/internal'"
|
||||
);
|
||||
}
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Magento\Test\Legacy\Magento\Framework\App\Action;
|
||||
|
||||
use Magento\Framework\App\Action\AbstractAction;
|
||||
use Magento\Framework\App\ActionInterface;
|
||||
use Magento\Framework\App\Utility\Files;
|
||||
use Magento\Framework\Exception\LocalizedException;
|
||||
use Magento\TestFramework\Utility\AddedFiles;
|
||||
use Magento\TestFramework\Utility\ChildrenClassesSearch;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* Test newly created controllers must do not extend AbstractAction.
|
||||
*/
|
||||
class AbstractActionTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var ChildrenClassesSearch
|
||||
*/
|
||||
private $childrenClassesSearch;
|
||||
|
||||
/**
|
||||
* @var Files
|
||||
*/
|
||||
private $fileUtilities;
|
||||
|
||||
/**
|
||||
* @throws LocalizedException
|
||||
*/
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->childrenClassesSearch = new ChildrenClassesSearch();
|
||||
$this->fileUtilities = Files::init();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test newly created controllers do not extend deprecated AbstractAction.
|
||||
*
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function testNewControllersDoNotExtendAbstractAction(): void
|
||||
{
|
||||
$files = $this->getTestFiles();
|
||||
|
||||
$found = $this->childrenClassesSearch->getClassesWhichAreChildrenOf($files, AbstractAction::class);
|
||||
|
||||
$this->assertEmpty(
|
||||
$found,
|
||||
"The following new controller(s) extend " . AbstractAction::class . "\r\n"
|
||||
. "All new controller classes must implement " . ActionInterface::class . " instead.\r\n"
|
||||
. print_r($found, true)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide files for test.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function getTestFiles(): array
|
||||
{
|
||||
$phpFiles = AddedFiles::getAddedFilesList($this->getChangedFilesBaseDir());
|
||||
|
||||
$phpFiles = Files::composeDataSets($phpFiles);
|
||||
$fileTypes = Files::INCLUDE_APP_CODE | Files::INCLUDE_LIBS | Files::AS_DATA_SET;
|
||||
return array_intersect_key($phpFiles, $this->fileUtilities->getPhpFiles($fileTypes));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns base directory for generated lists.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function getChangedFilesBaseDir(): string
|
||||
{
|
||||
return BP . DIRECTORY_SEPARATOR . 'dev' . DIRECTORY_SEPARATOR . 'tests' . DIRECTORY_SEPARATOR . 'static' .
|
||||
DIRECTORY_SEPARATOR . 'testsuite' . DIRECTORY_SEPARATOR . 'Magento' . DIRECTORY_SEPARATOR . 'Test';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Scan source code for DB schema or data updates for patch releases in non-actual branches
|
||||
* Backwards compatibility test
|
||||
*/
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
class ModuleDBChangeTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private static $branchesFilesPattern = __DIR__ . '/../_files/branches*';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private static $changedFilesPattern = __DIR__ . '/../_files/changed_files*';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private static $changedFileList = '';
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
private static $actualBranch = false;
|
||||
|
||||
/**
|
||||
* Set changed files paths and list for all projects
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
foreach (glob(self::$branchesFilesPattern) as $branchesFile) {
|
||||
//get the current branchname from the first line
|
||||
$branchName = trim(file($branchesFile)[0]);
|
||||
if ($branchName === 'develop') {
|
||||
self::$actualBranch = true;
|
||||
} else {
|
||||
//get current minor branch name
|
||||
preg_match('|^(\d+\.\d+)|', $branchName, $minorBranch);
|
||||
if (isset($minorBranch[0])) {
|
||||
$branchName = $minorBranch[0];
|
||||
|
||||
//get all version branches
|
||||
preg_match_all('|^(\d+\.\d+)|m', file_get_contents($branchesFile), $matches);
|
||||
|
||||
//check is this a latest release branch
|
||||
self::$actualBranch = ($branchName == max($matches[0]));
|
||||
} else {
|
||||
self::$actualBranch = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (glob(self::$changedFilesPattern) as $changedFile) {
|
||||
self::$changedFileList .= file_get_contents($changedFile) . PHP_EOL;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test changes for files in Module Setup dir
|
||||
*/
|
||||
public function testModuleSetupFiles()
|
||||
{
|
||||
if (!self::$actualBranch) {
|
||||
preg_match_all('|app/code/Magento/[^/]+/Setup/[^/]+$|mi', self::$changedFileList, $matches);
|
||||
$this->assertEmpty(
|
||||
reset($matches),
|
||||
'Code with changes for DB schema or data in non-actual branches are not allowed:' . PHP_EOL .
|
||||
implode(PHP_EOL, array_values(reset($matches)))
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,979 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tests to find various obsolete code usage
|
||||
* (deprecated and removed Magento 1 legacy methods, properties, classes, etc.)
|
||||
*/
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
use Magento\Framework\App\Utility\AggregateInvoker;
|
||||
use Magento\Framework\App\Utility\Files;
|
||||
use Magento\Framework\Component\ComponentRegistrar;
|
||||
use Magento\TestFramework\Utility\ChangedFiles;
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
|
||||
*/
|
||||
class ObsoleteCodeTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**@#+
|
||||
* Lists of obsolete entities from fixtures
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected static $_classes = [];
|
||||
|
||||
protected static $_constants = [];
|
||||
|
||||
protected static $_methods = [];
|
||||
|
||||
protected static $_attributes = [];
|
||||
|
||||
protected static $_namespaces = [];
|
||||
|
||||
protected static $_paths = [];
|
||||
|
||||
/**#@-*/
|
||||
|
||||
/**
|
||||
* Read fixtures into memory as arrays
|
||||
*/
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
$errors = [];
|
||||
self::_populateList(self::$_classes, $errors, 'obsolete_classes*.php', false);
|
||||
self::_populateList(self::$_constants, $errors, 'obsolete_constants*.php');
|
||||
self::_populateList(self::$_methods, $errors, 'obsolete_methods*.php');
|
||||
self::_populateList(self::$_paths, $errors, 'obsolete_paths*.php', false);
|
||||
self::_populateList(self::$_namespaces, $errors, 'obsolete_namespaces*.php', false);
|
||||
self::_populateList(self::$_attributes, $errors, 'obsolete_properties*.php');
|
||||
if ($errors) {
|
||||
$message = 'Duplicate patterns identified in list declarations:' . PHP_EOL . PHP_EOL;
|
||||
foreach ($errors as $file => $list) {
|
||||
$message .= $file . PHP_EOL;
|
||||
foreach ($list as $key) {
|
||||
$message .= " {$key}" . PHP_EOL;
|
||||
}
|
||||
$message .= PHP_EOL;
|
||||
}
|
||||
throw new \Exception($message);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Read the specified file pattern and merge it with the list
|
||||
*
|
||||
* Duplicate entries will be recorded into errors array.
|
||||
*
|
||||
* @param array $list
|
||||
* @param array $errors
|
||||
* @param string $filePattern
|
||||
* @param bool $hasScope
|
||||
*/
|
||||
protected static function _populateList(array &$list, array &$errors, $filePattern, $hasScope = true)
|
||||
{
|
||||
foreach (glob(__DIR__ . '/_files/' . $filePattern) as $file) {
|
||||
$readList = include $file;
|
||||
foreach ($readList as $row) {
|
||||
list($item, $scope, $replacement, $isDeprecated) = self::_padRow($row, $hasScope);
|
||||
$key = "{$item}|{$scope}";
|
||||
if (isset($list[$key])) {
|
||||
$errors[$file][] = $key;
|
||||
} else {
|
||||
$list[$key] = [$item, $scope, $replacement, $isDeprecated];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Populate insufficient row elements regarding to whether the row supposed to have scope value
|
||||
*
|
||||
* @param array $row
|
||||
* @param bool $hasScope
|
||||
* @return array
|
||||
*/
|
||||
protected static function _padRow($row, $hasScope)
|
||||
{
|
||||
if ($hasScope) {
|
||||
return array_pad($row, 4, '');
|
||||
}
|
||||
list($item, $replacement) = array_pad($row, 2, '');
|
||||
return [$item, '', $replacement, ''];
|
||||
}
|
||||
|
||||
public function testPhpFiles()
|
||||
{
|
||||
$invoker = new AggregateInvoker($this);
|
||||
$changedFiles = ChangedFiles::getPhpFiles(__DIR__ . '/../_files/changed_files*');
|
||||
$blacklistFiles = $this->getBlacklistFiles();
|
||||
foreach ($blacklistFiles as $blacklistFile) {
|
||||
unset($changedFiles[$blacklistFile]);
|
||||
}
|
||||
$invoker(
|
||||
function ($file) {
|
||||
$content = file_get_contents($file);
|
||||
$this->_testObsoleteClasses($content);
|
||||
$this->_testObsoleteNamespaces($content);
|
||||
$this->_testObsoleteMethods($content, $file);
|
||||
$this->_testGetChildSpecialCase($content, $file);
|
||||
$this->_testGetOptionsSpecialCase($content);
|
||||
$this->_testObsoleteMethodArguments($content);
|
||||
$this->_testObsoleteProperties($content);
|
||||
$this->_testObsoleteActions($content);
|
||||
$this->_testObsoleteConstants($content);
|
||||
$this->_testObsoletePropertySkipCalculate($content);
|
||||
},
|
||||
$changedFiles
|
||||
);
|
||||
}
|
||||
|
||||
public function testClassFiles()
|
||||
{
|
||||
$invoker = new AggregateInvoker($this);
|
||||
$invoker(
|
||||
function ($file) {
|
||||
$this->_testObsoletePaths($file);
|
||||
},
|
||||
Files::init()->getPhpFiles()
|
||||
);
|
||||
}
|
||||
|
||||
public function testTemplateMageCalls()
|
||||
{
|
||||
$invoker = new AggregateInvoker($this);
|
||||
$invoker(
|
||||
function ($file) {
|
||||
$content = file_get_contents($file);
|
||||
$this->_assertNotRegExp(
|
||||
'/\bMage::(\w+?)\(/iS',
|
||||
$content,
|
||||
"Static Method of 'Mage' class is obsolete."
|
||||
);
|
||||
},
|
||||
Files::init()->getPhpFiles(
|
||||
Files::INCLUDE_TEMPLATES
|
||||
| Files::INCLUDE_TESTS
|
||||
| Files::AS_DATA_SET
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function testXmlFiles()
|
||||
{
|
||||
$invoker = new AggregateInvoker($this);
|
||||
$invoker(
|
||||
function ($file) {
|
||||
$content = file_get_contents($file);
|
||||
$this->_testObsoleteClasses($content);
|
||||
$this->_testObsoleteNamespaces($content);
|
||||
$this->_testObsoletePaths($file);
|
||||
},
|
||||
Files::init()->getXmlFiles()
|
||||
);
|
||||
}
|
||||
|
||||
public function testJsFiles()
|
||||
{
|
||||
$invoker = new AggregateInvoker($this);
|
||||
$invoker(
|
||||
function ($file) {
|
||||
$content = file_get_contents($file);
|
||||
$this->_testObsoletePropertySkipCalculate($content);
|
||||
if (strpos($file, 'requirejs-config.js') === false
|
||||
&& (
|
||||
strpos($file, '/view/frontend/web/') !== false
|
||||
|| strpos($file, '/view/base/web/') !== false
|
||||
)
|
||||
) {
|
||||
$this->_testJqueryUiLibraryIsNotUsedInJs($content);
|
||||
}
|
||||
},
|
||||
Files::init()->getJsFiles()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that obsolete classes are not used in the content
|
||||
*
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoleteClasses($content)
|
||||
{
|
||||
/* avoid collision between obsolete class name and valid namespace and package tag */
|
||||
$content = preg_replace('/namespace[^;]+;/', '', $content);
|
||||
$content = preg_replace('/\@package\s[a-zA-Z0-9\\\_]+/', '', $content);
|
||||
foreach (self::$_classes as $row) {
|
||||
list($class, , $replacement) = $row;
|
||||
$this->_assertNotRegExp(
|
||||
'/[^a-z\d_\$]' . preg_quote($class, '/') . '[^a-z\d_\\\\]/iS',
|
||||
$content,
|
||||
$this->_suggestReplacement(sprintf("Class '%s' is obsolete.", $class), $replacement)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that obsolete classes are not used in the content
|
||||
*
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoleteNamespaces($content)
|
||||
{
|
||||
foreach (self::$_namespaces as $row) {
|
||||
list($namespace, , $replacement) = $row;
|
||||
$this->_assertNotRegExp(
|
||||
'/namespace\s+' . preg_quote($namespace, '/') . ';/S',
|
||||
$content,
|
||||
$this->_suggestReplacement(sprintf("Namespace '%s' is obsolete.", $namespace), $replacement)
|
||||
);
|
||||
$this->_assertNotRegExp(
|
||||
'/[^a-zA-Z\d_]' . preg_quote($namespace . '\\', '/') . '/S',
|
||||
$content,
|
||||
$this->_suggestReplacement(sprintf("Namespace '%s' is obsolete.", $namespace), $replacement)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that obsolete methods or functions are not used in the content
|
||||
*
|
||||
* If class context is not specified, declaration/invocation of all functions or methods (of any class)
|
||||
* will be matched across the board
|
||||
*
|
||||
* If context is specified, only the methods will be matched as follows:
|
||||
* - usage of class::method
|
||||
* - usage of $this, self and static within the class and its descendants
|
||||
*
|
||||
* @param string $content
|
||||
* @param string $file
|
||||
*/
|
||||
protected function _testObsoleteMethods($content, $file)
|
||||
{
|
||||
foreach (self::$_methods as $row) {
|
||||
list($method, $class, $replacement, $isDeprecated) = $row;
|
||||
$quotedMethod = preg_quote($method, '/');
|
||||
if ($class) {
|
||||
$message = $this->_suggestReplacement(
|
||||
"Method '{$class}::{$method}()' is obsolete in file '{$file}'.",
|
||||
$replacement
|
||||
);
|
||||
// without opening parentheses to match static callbacks notation
|
||||
$this->_assertNotRegExp(
|
||||
'/' . preg_quote($class, '/') . '::\s*' . $quotedMethod . '[^a-z\d_]/iS',
|
||||
$content,
|
||||
$message
|
||||
);
|
||||
if ($this->_isClassOrInterface($content, $class) || $this->_isDirectDescendant($content, $class)) {
|
||||
if (!$isDeprecated) {
|
||||
$this->_assertNotRegExp('/function\s*' . $quotedMethod . '\s*\(/iS', $content, $message);
|
||||
}
|
||||
$this->_assertNotRegExp('/this->' . $quotedMethod . '\s*\(/iS', $content, $message);
|
||||
$this->_assertNotRegExp(
|
||||
'/(self|static|parent)::\s*' . $quotedMethod . '\s*\(/iS',
|
||||
$content,
|
||||
$message
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$message = $this->_suggestReplacement(
|
||||
"Function or method '{$method}()' is obsolete in file '{$file}'.",
|
||||
$replacement
|
||||
);
|
||||
$this->_assertNotRegExp(
|
||||
'/(?<!public|protected|private|static)\s+function\s*' . $quotedMethod . '\s*\(/iS',
|
||||
$content,
|
||||
$message
|
||||
);
|
||||
$this->_assertNotRegExp(
|
||||
'/(?<![a-z\d_:]|->|function\s)' . $quotedMethod . '\s*\(/iS',
|
||||
$content,
|
||||
$message
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that obsolete paths are not used in the content
|
||||
*
|
||||
* This method will search the content for references to class
|
||||
* that start with obsolete namespace
|
||||
*
|
||||
* @param string $file
|
||||
*/
|
||||
protected function _testObsoletePaths($file)
|
||||
{
|
||||
foreach (self::$_paths as $row) {
|
||||
list($obsoletePath, , $replacementPath) = $row;
|
||||
$relativePath = str_replace(BP, '', $file);
|
||||
$message = $this->_suggestReplacement(
|
||||
"Path '{$obsoletePath}' is obsolete.",
|
||||
$replacementPath
|
||||
);
|
||||
$this->assertStringStartsNotWith($obsoletePath . '/', $relativePath, $message);
|
||||
$this->assertStringStartsNotWith($obsoletePath . '.', $relativePath, $message);
|
||||
$this->assertStringStartsNotWith($obsoletePath . 'Factory.', $relativePath, $message);
|
||||
$this->assertStringStartsNotWith($obsoletePath . 'Interface.', $relativePath, $message);
|
||||
$this->assertStringStartsNotWith($obsoletePath . 'Test.', $relativePath, $message);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Special case: don't allow usage of getChild() method anywhere within app directory
|
||||
*
|
||||
* In Magento 1.x it used to belong only to abstract block (therefore all blocks)
|
||||
* At the same time, the name is pretty generic and can be encountered in other directories, such as lib
|
||||
*
|
||||
* @param string $content
|
||||
* @param string $file
|
||||
*/
|
||||
protected function _testGetChildSpecialCase($content, $file)
|
||||
{
|
||||
$componentRegistrar = new ComponentRegistrar();
|
||||
foreach ($componentRegistrar->getPaths(ComponentRegistrar::MODULE) as $modulePath) {
|
||||
if (0 === strpos($file, $modulePath)) {
|
||||
$this->_assertNotRegexp(
|
||||
'/[^a-z\d_]getChild\s*\(/iS',
|
||||
$content,
|
||||
'Block method getChild() is obsolete. ' .
|
||||
'Replacement suggestion: \Magento\Framework\View\Element\AbstractBlock::getChildBlock()'
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Special case for ->getConfig()->getOptions()->
|
||||
*
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testGetOptionsSpecialCase($content)
|
||||
{
|
||||
$this->_assertNotRegexp(
|
||||
'/getOptions\(\)\s*->get(Base|App|Code|Design|Etc|Lib|Locale|Js|Media' .
|
||||
'|Var|Tmp|Cache|Log|Session|Upload|Export)?Dir\(/S',
|
||||
$content,
|
||||
'The class \Magento\Core\Model\Config\Options is obsolete. '
|
||||
. 'Replacement suggestion: \Magento\Framework\Filesystem'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoleteMethodArguments($content)
|
||||
{
|
||||
$this->_assertNotRegExp(
|
||||
'/[^a-z\d_]getTypeInstance\s*\(\s*[^\)]+/iS',
|
||||
$content,
|
||||
'Backwards-incompatible change: method getTypeInstance() is not supposed to be invoked with any arguments.'
|
||||
);
|
||||
$this->_assertNotRegExp(
|
||||
'/\->getUsedProductIds\(([^\)]+,\s*[^\)]+)?\)/',
|
||||
$content,
|
||||
'Backwards-incompatible change: method getUsedProductIds($product)' .
|
||||
' must be invoked with one and only one argument - product model object'
|
||||
);
|
||||
|
||||
$this->_assertNotRegExp(
|
||||
'#->_setActiveMenu\([\'"]([\w\d/_]+)[\'"]\)#Ui',
|
||||
$content,
|
||||
'Backwards-incompatible change: method _setActiveMenu()' .
|
||||
' must be invoked with menu item identifier than xpath for menu item'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoleteProperties($content)
|
||||
{
|
||||
foreach (self::$_attributes as $row) {
|
||||
list($attribute, $class, $replacement) = $row;
|
||||
if ($class) {
|
||||
if (!$this->_isClassOrInterface($content, $class) && !$this->_isDirectDescendant($content, $class)) {
|
||||
continue;
|
||||
}
|
||||
$fullyQualified = "{$class}::\${$attribute}";
|
||||
} else {
|
||||
$fullyQualified = $attribute;
|
||||
}
|
||||
$this->_assertNotRegExp(
|
||||
'/[^a-z\d_]' . preg_quote($attribute, '/') . '[^a-z\d_]/iS',
|
||||
$content,
|
||||
$this->_suggestReplacement(sprintf("Class attribute '%s' is obsolete.", $fullyQualified), $replacement)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoleteActions($content)
|
||||
{
|
||||
$suggestion = 'Resizing images upon the client request is obsolete, use server-side resizing instead';
|
||||
$this->_assertNotRegExp(
|
||||
'#[^a-z\d_/]catalog/product/image[^a-z\d_/]#iS',
|
||||
$content,
|
||||
"Action 'catalog/product/image' is obsolete. {$suggestion}"
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that obsolete constants are not defined/used in the content
|
||||
*
|
||||
* Without class context, only presence of the literal will be checked.
|
||||
*
|
||||
* In context of a class, match:
|
||||
* - fully qualified constant notation (with class)
|
||||
* - usage with self::/parent::/static:: notation
|
||||
*
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoleteConstants($content)
|
||||
{
|
||||
foreach (self::$_constants as $row) {
|
||||
list($constant, $class, $replacement) = $row;
|
||||
if ($class) {
|
||||
$class = ltrim($class, '\\');
|
||||
$this->_checkConstantWithFullClasspath($constant, $class, $replacement, $content);
|
||||
$this->_checkConstantWithClasspath($constant, $class, $replacement, $content);
|
||||
} else {
|
||||
$regex = '\b' . preg_quote($constant, '/') . '\b';
|
||||
$this->_checkExistenceOfObsoleteConstants($regex, '', $content, $constant, $replacement, $class);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Build regular expression from Obsolete Constants with correspond to contents
|
||||
*
|
||||
* @param string $classPartialPath
|
||||
* @param string $content
|
||||
* @param string $constant
|
||||
* @return string
|
||||
*/
|
||||
private function buildRegExFromObsoleteConstant($classPartialPath, $content, $constant)
|
||||
{
|
||||
$regex = preg_quote("{$classPartialPath}::{$constant}");
|
||||
if ($this->_isClassOrInterface($content, $classPartialPath)) {
|
||||
$regex .= '|' . $this->_getClassConstantDefinitionRegExp($constant)
|
||||
. '|' . preg_quote("self::{$constant}", '/')
|
||||
. '|' . preg_quote("static::{$constant}", '/');
|
||||
} elseif ($this->_isDirectDescendant($content, $classPartialPath)) {
|
||||
$regex .= '|' . preg_quote("parent::{$constant}", '/');
|
||||
if (!$this->_isClassConstantDefined($content, $constant)) {
|
||||
$regex .= '|' . preg_quote("self::{$constant}", '/') . '|' . preg_quote("static::{$constant}", '/');
|
||||
}
|
||||
}
|
||||
return $regex;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks condition of using full classpath in 'use' with 'as' (Example: 'use A\B\C as D')
|
||||
* where A\B\C is the class where the constant is obsolete
|
||||
*
|
||||
* @param string $constant
|
||||
* @param string $class
|
||||
* @param string $replacement
|
||||
* @param string $content
|
||||
*/
|
||||
private function _checkConstantWithFullClasspath($constant, $class, $replacement, $content)
|
||||
{
|
||||
$constantRegex = preg_quote($constant, '/');
|
||||
$classRegex = preg_quote($class);
|
||||
$this->_checkExistenceOfObsoleteConstants(
|
||||
$constantRegex,
|
||||
$classRegex,
|
||||
$content,
|
||||
"{$class}::{$constant}",
|
||||
$replacement,
|
||||
$class
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check all combinations of classpath with constant
|
||||
*
|
||||
* @param string $constant
|
||||
* @param string $class
|
||||
* @param string $replacement
|
||||
* @param string $content
|
||||
*/
|
||||
private function _checkConstantWithClasspath($constant, $class, $replacement, $content)
|
||||
{
|
||||
$classPathParts = explode('\\', $class);
|
||||
$classPartialPath = '';
|
||||
for ($count = count($classPathParts), $i = $count - 1; $i >= 0; $i--) {
|
||||
if ($i === ($count - 1)) {
|
||||
$classPartialPath = $classPathParts[$i] . $classPartialPath;
|
||||
} else {
|
||||
$classPartialPath = $classPathParts[$i] . '\\' . $classPartialPath;
|
||||
}
|
||||
$constantRegex = $this->buildRegExFromObsoleteConstant($classPartialPath, $content, $constant);
|
||||
$regexClassPartialPath = preg_replace('/' . preg_quote($classPartialPath) . '$/', '', $class);
|
||||
$classRegex = preg_quote($regexClassPartialPath . $classPathParts[$i]);
|
||||
if ($regexClassPartialPath !== '') {
|
||||
$classRegex .= '|' . preg_quote(rtrim($regexClassPartialPath, '\\'));
|
||||
}
|
||||
// Checks condition when classpath is distributed over namespace and class definition
|
||||
$classRegexNamespaceClass = '/namespace\s+' . preg_quote('\\') . '?(' . $classRegex . ')(\s|;)(\r?\n)+'
|
||||
. 'class\s+' . preg_quote('\\') . '?(' . preg_quote(rtrim($classPartialPath, '\\')) . ')\s*/';
|
||||
$matchNamespaceClass = preg_match($classRegexNamespaceClass, $content);
|
||||
$constantRegexPartial = '/\b(?P<classWithConst>([a-zA-Z0-9_' . preg_quote('\\') . ']*))('
|
||||
. preg_quote('::') . ')*' . '(' . preg_quote($constant, '/') . '\b)(\s*|;)/';
|
||||
$matchConstantPartial = preg_match($constantRegexPartial, $content, $match);
|
||||
if (($matchNamespaceClass === 1) && ($matchConstantPartial === 1) && ($match['classWithConst'] === '')) {
|
||||
$this->assertSame(
|
||||
0,
|
||||
1,
|
||||
$this->_suggestReplacement(sprintf("Constant '%s' is obsolete.", $constant), $replacement)
|
||||
);
|
||||
} else {
|
||||
$this->_checkExistenceOfObsoleteConstants(
|
||||
$constantRegex,
|
||||
$classRegex,
|
||||
$content,
|
||||
"{$classPartialPath}::{$constant}",
|
||||
$replacement,
|
||||
$class
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check existence of Obsolete Constant in current content
|
||||
*
|
||||
* @param string $constantRegex
|
||||
* @param string $classRegex
|
||||
* @param string $content
|
||||
* @param string $constant
|
||||
* @param string $replacement
|
||||
* @param string $class
|
||||
*/
|
||||
private function _checkExistenceOfObsoleteConstants(
|
||||
$constantRegex,
|
||||
$classRegex,
|
||||
$content,
|
||||
$constant,
|
||||
$replacement,
|
||||
$class
|
||||
) {
|
||||
$constantRegexFull = '/\b(?P<constPart>((?P<classWithConst>([a-zA-Z0-9_' . preg_quote('\\') . ']*))('
|
||||
. preg_quote('::') . ')*' . '(' . $constantRegex . '\b)))(\s*|;)/';
|
||||
$matchConstant = preg_match_all($constantRegexFull, $content, $matchConstantString);
|
||||
$result = 0;
|
||||
if ($matchConstant === 1) {
|
||||
if ($classRegex !== '') {
|
||||
$classRegexFull = '/(?P<useOrNamespace>(use|namespace))\s+(?P<classPath>(' . preg_quote('\\')
|
||||
. '?(' . $classRegex . ')))(\s+as\s+(?P<classAlias>([\w\d_]+)))?(\s|;)/';
|
||||
$matchClass = preg_match($classRegexFull, $content, $matchClassString);
|
||||
if ($matchClass === 1) {
|
||||
if ($matchClassString['classAlias']) {
|
||||
$result = $this->_checkAliasUseNamespace(
|
||||
$constantRegex,
|
||||
$matchConstantString,
|
||||
$matchClassString,
|
||||
$class
|
||||
);
|
||||
} else {
|
||||
$result = $this->_checkNoAliasUseNamespace($matchConstantString, $matchClassString, $class);
|
||||
}
|
||||
} else {
|
||||
foreach ($matchConstantString['classWithConst'] as $constantMatch) {
|
||||
if (trim($constantMatch, '\\') === $class) {
|
||||
$result = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$result = 1;
|
||||
}
|
||||
}
|
||||
$this->assertSame(
|
||||
0,
|
||||
$result,
|
||||
$this->_suggestReplacement(sprintf("Constant '%s' is obsolete.", $constant), $replacement)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check proper usage of 'as' alias in 'use' or 'namespace' in context of constant
|
||||
*
|
||||
* @param string $constantRegex
|
||||
* @param string $matchConstantString
|
||||
* @param string $matchClassString
|
||||
* @param string $class
|
||||
* @return int
|
||||
*/
|
||||
private function _checkAliasUseNamespace(
|
||||
$constantRegex,
|
||||
$matchConstantString,
|
||||
$matchClassString,
|
||||
$class
|
||||
) {
|
||||
$foundProperUse = false;
|
||||
$foundAsComponent = false;
|
||||
$asComponent = $matchClassString['classAlias'];
|
||||
foreach ($matchConstantString['constPart'] as $constantMatch) {
|
||||
$expectedOnlyConst = '/' . $asComponent . preg_quote('::') . $constantRegex . '/';
|
||||
$expectedConstPartialClass = '/' . $asComponent . preg_quote('\\')
|
||||
. $constantRegex . '/';
|
||||
if ((preg_match($expectedOnlyConst, $constantMatch) === 1)
|
||||
|| (preg_match($expectedConstPartialClass, $constantMatch) === 1)) {
|
||||
$foundAsComponent = true;
|
||||
}
|
||||
if (strpos($constantMatch, '::') !== false) {
|
||||
$foundProperUse = $this->_checkCompletePathOfClass(
|
||||
$constantMatch,
|
||||
$matchClassString,
|
||||
$class,
|
||||
$foundAsComponent,
|
||||
$asComponent
|
||||
);
|
||||
if ($foundProperUse) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($foundProperUse) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check proper usage of classpath in constant and 'use'/'namespace' when there is no 'as' alias
|
||||
*
|
||||
* @param string $matchConstantString
|
||||
* @param string $matchClassString
|
||||
* @param string $class
|
||||
* @return int
|
||||
*/
|
||||
private function _checkNoAliasUseNamespace(
|
||||
$matchConstantString,
|
||||
$matchClassString,
|
||||
$class
|
||||
) {
|
||||
$foundProperUse = false;
|
||||
foreach ($matchConstantString['constPart'] as $constantMatch) {
|
||||
$foundProperUse = $this->_checkCompletePathOfClass(
|
||||
$constantMatch,
|
||||
$matchClassString,
|
||||
$class
|
||||
);
|
||||
if ($foundProperUse) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($foundProperUse) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if class path with constant and in 'use' or 'namespace' forms complete classpath
|
||||
*
|
||||
* @param string $constantMatch
|
||||
* @param array $matchClassString
|
||||
* @param string $class
|
||||
* @param bool $foundAsComponent
|
||||
* @param string $asComponent
|
||||
* @return bool
|
||||
*/
|
||||
private function _checkCompletePathOfClass(
|
||||
$constantMatch,
|
||||
$matchClassString,
|
||||
$class,
|
||||
$foundAsComponent = false,
|
||||
$asComponent = ''
|
||||
) {
|
||||
$temp = explode('::', $constantMatch);
|
||||
$pathWithConst = trim(ltrim(str_replace('\\\\', '\\', $temp[0]), '\\'));
|
||||
if ($pathWithConst === $class) {
|
||||
return true;
|
||||
}
|
||||
if ($foundAsComponent) {
|
||||
$pathWithConst = ltrim(preg_replace('/^' . $asComponent . '/', '', $pathWithConst), '\\');
|
||||
if ($pathWithConst === '') {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
$pathWithConstParts = explode('\\', $pathWithConst);
|
||||
$pathInUseNamespace = trim($matchClassString['classPath'], '\\');
|
||||
$pathInUseNamespaceTruncated = trim(
|
||||
trim(
|
||||
preg_replace(
|
||||
'/' . preg_quote($pathWithConstParts[0]) . '$/',
|
||||
'',
|
||||
$pathInUseNamespace
|
||||
),
|
||||
'\\'
|
||||
)
|
||||
);
|
||||
if ($this->_checkClasspathProperDivisionNoConstantPath(
|
||||
$pathInUseNamespaceTruncated,
|
||||
$pathInUseNamespace,
|
||||
$matchClassString,
|
||||
$class,
|
||||
$foundAsComponent
|
||||
)) {
|
||||
return true;
|
||||
} else {
|
||||
return $this->_checkClasspathProperDivisionWithConstantPath(
|
||||
$pathInUseNamespaceTruncated,
|
||||
$pathInUseNamespace,
|
||||
$pathWithConst,
|
||||
$class,
|
||||
$foundAsComponent
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if classpath is divided in two places with correct constant name
|
||||
*
|
||||
* @param string $pathInUseNamespaceTruncated
|
||||
* @param string $pathInUseNamespace
|
||||
* @param array $matchClassString
|
||||
* @param string $class
|
||||
* @param bool $foundAsComponent
|
||||
* @return bool
|
||||
*/
|
||||
private function _checkClasspathProperDivisionNoConstantPath(
|
||||
$pathInUseNamespaceTruncated,
|
||||
$pathInUseNamespace,
|
||||
$matchClassString,
|
||||
$class,
|
||||
$foundAsComponent
|
||||
) {
|
||||
if ($pathInUseNamespaceTruncated === $pathInUseNamespace && $pathInUseNamespaceTruncated !== $class
|
||||
&& ($foundAsComponent || (strpos($matchClassString['useOrNamespace'], 'namespace') !== false))) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if classpath is divided in two places with constant properly with or without alias
|
||||
*
|
||||
* @param string $pathInUseNamespaceTruncated
|
||||
* @param string $pathInUseNamespace
|
||||
* @param string $pathWithConst
|
||||
* @param string $class
|
||||
* @param bool $foundAsComponent
|
||||
* @return bool
|
||||
*/
|
||||
private function _checkClasspathProperDivisionWithConstantPath(
|
||||
$pathInUseNamespaceTruncated,
|
||||
$pathInUseNamespace,
|
||||
$pathWithConst,
|
||||
$class,
|
||||
$foundAsComponent
|
||||
) {
|
||||
if ((($pathInUseNamespaceTruncated . '\\' . $pathWithConst === $class)
|
||||
&& ($pathInUseNamespaceTruncated !== $pathInUseNamespace) && !$foundAsComponent)
|
||||
|| (($pathInUseNamespaceTruncated === $class) && (strpos($pathWithConst, '\\') === false)
|
||||
&& $foundAsComponent)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether a class constant is defined in the content or not
|
||||
*
|
||||
* @param string $content
|
||||
* @param string $constant
|
||||
* @return bool
|
||||
*/
|
||||
protected function _isClassConstantDefined($content, $constant)
|
||||
{
|
||||
return (bool)preg_match('/' . $this->_getClassConstantDefinitionRegExp($constant) . '/S', $content);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve a PCRE matching a class constant definition
|
||||
*
|
||||
* @param string $constant
|
||||
* @return string
|
||||
*/
|
||||
protected function _getClassConstantDefinitionRegExp($constant)
|
||||
{
|
||||
return '\bconst\s+' . preg_quote($constant, '/') . '\b';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $content
|
||||
*/
|
||||
protected function _testObsoletePropertySkipCalculate($content)
|
||||
{
|
||||
$this->_assertNotRegExp(
|
||||
'/[^a-z\d_]skipCalculate[^a-z\d_]/iS',
|
||||
$content,
|
||||
"Configuration property 'skipCalculate' is obsolete."
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Analyze contents to determine whether this is declaration of specified class/interface
|
||||
*
|
||||
* @param string $content
|
||||
* @param string $name
|
||||
* @return bool
|
||||
*/
|
||||
protected function _isClassOrInterface($content, $name)
|
||||
{
|
||||
$name = preg_quote($name, '/');
|
||||
return (bool)preg_match('/\b(?:class|interface)\s+' . $name . '\b[^{]*\{/iS', $content);
|
||||
}
|
||||
|
||||
/**
|
||||
* Analyze contents to determine whether this is a direct descendant of specified class/interface
|
||||
*
|
||||
* @param string $content
|
||||
* @param string $name
|
||||
* @return bool
|
||||
*/
|
||||
protected function _isDirectDescendant($content, $name)
|
||||
{
|
||||
$name = preg_quote($name, '/');
|
||||
return (bool)preg_match(
|
||||
'/\s+extends\s+' . $name . '\b|\s+implements\s+[^{]*\b' . $name . '\b[^{^\\\\]*\{/iS',
|
||||
$content
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Append a "suggested replacement" part to the string
|
||||
*
|
||||
* @param string $original
|
||||
* @param string $suggestion
|
||||
* @return string
|
||||
*/
|
||||
private function _suggestReplacement($original, $suggestion)
|
||||
{
|
||||
if ($suggestion) {
|
||||
return "{$original} Suggested replacement: {$suggestion}";
|
||||
}
|
||||
return $original;
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom replacement for assertNotRegexp()
|
||||
*
|
||||
* In this particular test the original assertNotRegexp() cannot be used
|
||||
* because of too large text $content, which obfuscates tests output
|
||||
*
|
||||
* @param string $regex
|
||||
* @param string $content
|
||||
* @param string $message
|
||||
*/
|
||||
protected function _assertNotRegexp($regex, $content, $message)
|
||||
{
|
||||
$this->assertSame(0, preg_match($regex, $content), $message);
|
||||
}
|
||||
|
||||
public function testMageMethodsObsolete()
|
||||
{
|
||||
$ignored = $this->getBlacklistFiles(true);
|
||||
$files = Files::init()->getPhpFiles(
|
||||
Files::INCLUDE_APP_CODE
|
||||
| Files::INCLUDE_TESTS
|
||||
| Files::INCLUDE_DEV_TOOLS
|
||||
| Files::INCLUDE_LIBS
|
||||
);
|
||||
$files = array_map('realpath', $files);
|
||||
$files = array_diff($files, $ignored);
|
||||
$files = Files::composeDataSets($files);
|
||||
|
||||
$invoker = new AggregateInvoker($this);
|
||||
$invoker(
|
||||
/**
|
||||
* Check absence of obsolete Mage class usages
|
||||
*
|
||||
* @param string $file
|
||||
*/
|
||||
function ($file) {
|
||||
$this->_assertNotRegExp(
|
||||
'/[^a-z\d_]Mage\s*::/i',
|
||||
file_get_contents($file),
|
||||
'"Mage" class methods are obsolete'
|
||||
);
|
||||
},
|
||||
$files
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $appPath
|
||||
* @param string $pattern
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
*/
|
||||
private function processPattern($appPath, $pattern)
|
||||
{
|
||||
$files = [];
|
||||
$relativePathStart = strlen($appPath);
|
||||
|
||||
$fileSet = glob($appPath . DIRECTORY_SEPARATOR . $pattern, GLOB_NOSORT);
|
||||
foreach ($fileSet as $file) {
|
||||
$files[] = ltrim(substr($file, $relativePathStart), '/');
|
||||
}
|
||||
|
||||
return $files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads list of blacklisted files
|
||||
*
|
||||
* @param bool $absolutePath
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
*/
|
||||
private function getBlacklistFiles($absolutePath = false)
|
||||
{
|
||||
$blackList = include __DIR__ . '/_files/blacklist/obsolete_mage.php';
|
||||
$ignored = [];
|
||||
$appPath = BP;
|
||||
foreach ($blackList as $file) {
|
||||
if ($absolutePath) {
|
||||
// phpcs:ignore
|
||||
$ignored = array_merge($ignored, glob($appPath . DIRECTORY_SEPARATOR . $file, GLOB_NOSORT));
|
||||
} else {
|
||||
// phpcs:ignore
|
||||
$ignored = array_merge($ignored, $this->processPattern($appPath, $file));
|
||||
}
|
||||
}
|
||||
return $ignored;
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that jquery/ui library is not used in JS content.
|
||||
*
|
||||
* @param string $fileContent
|
||||
*/
|
||||
private function _testJqueryUiLibraryIsNotUsedInJs($fileContent)
|
||||
{
|
||||
$this->_assertNotRegexp(
|
||||
'/(["\'])jquery\/ui\1/',
|
||||
$fileContent,
|
||||
$this->_suggestReplacement(
|
||||
sprintf("Dependency '%s' is redundant.", 'jquery/ui'),
|
||||
'Use separate jquery ui widget instead of all library.'
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Legacy tests to find themes non-modular local.xml files declaration
|
||||
*/
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
use Magento\Framework\Component\ComponentRegistrar;
|
||||
|
||||
class ObsoleteThemeLocalXmlTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testLocalXmlFilesAbsent()
|
||||
{
|
||||
$componentRegistrar = new ComponentRegistrar();
|
||||
foreach ($componentRegistrar->getPaths(ComponentRegistrar::THEME) as $themeDir) {
|
||||
$this->assertEmpty(glob($themeDir . '/local.xml'));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Tests, that perform search of words, that signal of obsolete code
|
||||
*/
|
||||
namespace Magento\Test\Legacy;
|
||||
|
||||
use Magento\Framework\Component\ComponentRegistrar;
|
||||
|
||||
class WordsTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @var \Magento\TestFramework\Inspection\WordsFinder
|
||||
*/
|
||||
protected static $_wordsFinder;
|
||||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
self::$_wordsFinder = new \Magento\TestFramework\Inspection\WordsFinder(
|
||||
glob(__DIR__ . '/_files/words_*.xml'),
|
||||
BP,
|
||||
new ComponentRegistrar()
|
||||
);
|
||||
}
|
||||
|
||||
public function testWords()
|
||||
{
|
||||
$invoker = new \Magento\Framework\App\Utility\AggregateInvoker($this);
|
||||
$invoker(
|
||||
/**
|
||||
* @param string $file
|
||||
*/
|
||||
function ($file) {
|
||||
$words = self::$_wordsFinder->findWords(realpath($file));
|
||||
if ($words) {
|
||||
$this->fail("Found words: '" . implode("', '", $words) . "' in '{$file}' file");
|
||||
}
|
||||
},
|
||||
\Magento\Framework\App\Utility\Files::init()->getAllFiles()
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
return [
|
||||
'dev/tests/static/testsuite/Magento/Test/Legacy/ObsoleteCodeTest.php',
|
||||
'dev/tests/static/testsuite/Magento/Test/Integrity/ClassesTest.php',
|
||||
'dev/tests/static/testsuite/Magento/Test/Legacy/_files/*obsolete*.php',
|
||||
'dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_classes.php',
|
||||
'lib/internal/Magento/Framework/ObjectManager/Test/Unit/Factory/CompiledTest.php',
|
||||
'dev/tests/integration/testsuite/Magento/Indexer/Model/Config/_files/result.php',
|
||||
'lib/internal/Magento/Framework/Encryption/Test/Unit/EncryptorTest.php',
|
||||
'lib/internal/Magento/Framework/Encryption/Test/Unit/CryptTest.php',
|
||||
'setup/src/Zend/Mvc/Controller/LazyControllerAbstractFactory.php',
|
||||
'app/code/Magento/CatalogInventory/Block/Adminhtml/Form/Field/Stock.php',
|
||||
];
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/**
|
||||
* Obsolete configuration nodes
|
||||
*
|
||||
* Format: <class_name> => <replacement>
|
||||
*
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
return [
|
||||
'/config/global/fieldsets' => '',
|
||||
'/config/global/cache/betatypes' => '',
|
||||
'/config/admin/fieldsets' => '',
|
||||
'/config/general/locale' => 'This configuration moved to Di configuration of \Magento\Framework\Locale\ConfigInterface',
|
||||
'/config/global/can_use_base_url' => 'This configuration moved to Di configuration of \Magento\Backend\App\Action\Context class',
|
||||
'/config/global/locale/allow/codes' => 'This configuration moved to Di configuration of \Magento\Framework\Locale\ConfigInterface',
|
||||
'/config/global/locale/allow/currencies' => 'This configuration moved to Di configuration of \Magento\Framework\Locale\ConfigInterface',
|
||||
'/config/global/mime/types' => 'This configuration moved to Di configuration for \Magento\Downloadable\Helper\File class',
|
||||
'/config/global/models/*/deprecatedNode' => '',
|
||||
'/config/global/models/*/entities/*/table' => '',
|
||||
'/config/global/models/*/class' => '',
|
||||
'/config/global/helpers/*/class' => '',
|
||||
'/config/global/blocks/*/class' => '',
|
||||
'/config/global/models/*/resourceModel' => '',
|
||||
'/config/global/page/layouts' => 'Moved to page_layouts.xml',
|
||||
'/config/global/cms/layouts' => 'This was never used and is no longer supported',
|
||||
'/config/global/payment/cc/types/*/validator' => 'This configuration was moved to DI configuration of \Magento\Centinel\Model\StateFactory',
|
||||
'/config/global/payment' => 'Move them to payment.xml.',
|
||||
'/config/adminhtml/menu' => 'Move them to adminhtml.xml.',
|
||||
'/config/adminhtml/acl' => 'Move them to adminhtml.xml.',
|
||||
'/config/adminhtml/global_search' => 'This configuration moved to Di configuration of \Magento\Backend\Controller\Index',
|
||||
'/config/*[self::global|self::adminhtml|self::frontend]/di' => 'This configuration moved to di.xml file',
|
||||
'/config/*[self::global|self::adminhtml|self::frontend]/events' => 'This configuration moved to events.xml file',
|
||||
'/config/*[self::global|self::adminhtml|self::frontend]/routers' => 'Routes configuration moved to routes.xml file,' .
|
||||
'routers list can be set through Di configuration of \Magento\Framework\App\RouterList model',
|
||||
'/config/global/importexport' => 'This configuration moved to import.xml and export.xml files',
|
||||
'/config/global/catalog/product/type' => 'This configuration moved to product_types.xml file',
|
||||
'/config/global/catalog/product/options' => 'This configuration moved to product_options.xml file',
|
||||
'/config/global/catalog/product/media/image_types' => 'This configuration moved to Di configuration of ' .
|
||||
'\Magento\Backend\Block\Catalog\Product\Frontend\Product\Watermark',
|
||||
'/config/global/eav_attributes' => 'This configuration moved to eav_attributes.xml file',
|
||||
'/config/global/index' => 'This configuration moved to indexers.xml file',
|
||||
'/config/global/catalogrule' => 'This configuration moved to Di configuration of \Magento\CatalogRule\Model\Rule',
|
||||
'/config/global/salesrule' => 'This configuration moved to Di configuration of \Magento\SalesRule\Helper\Coupon',
|
||||
'/config/global/session' => 'This configuration moved to Di configuration of \Magento\Framework\Session\Validator',
|
||||
'/config/global/ignore_user_agents' => 'This configuration moved to Di configuration of \Magento\Log\Model\Visitor',
|
||||
'/config/global/request' => 'This configuration moved to Di configuration of \Magento\Framework\App\RequestInterface',
|
||||
'/config/global/secure_url' => 'This configuration moved to Di configuration of \Magento\Framework\Url\SecurityInfo',
|
||||
'/config/global/dev' => 'This configuration moved to Di configuration of \Magento\Framework\App\Action\Context',
|
||||
'/config/global/webapi' => 'This configuration moved to Di configuration of \Magento\Webapi\Controller\Request\Rest\Interpreter\Factory' .
|
||||
' and \Magento\Webapi\Controller\Response\Rest\Renderer\Factory',
|
||||
'/config/global/cms' => 'This configuration moved to Di configuration of \Magento\Cms\Model\Wysiwyg\Images\Storage' .
|
||||
' and \Magento\Cms\Model\Wysiwyg\Config',
|
||||
'/config/global/widget' => 'This configuration moved to Di configuration of \Magento\Cms\Model\Template\FilterProvider',
|
||||
'/config/global/catalog/product/flat/max_index_count' => 'This configuration moved to Di configuration of \Magento\Catalog\Model\ResourceModel\Product\Flat\Indexer',
|
||||
'/config/global/catalog/product/flat/attribute_groups' => 'This configuration moved to Di configuration of \Magento\Catalog\Model\ResourceModel\Product\Flat\Indexer',
|
||||
'/config/global/catalog/product/flat/add_filterable_attributes' => 'This configuration moved to Di configuration of \Magento\Catalog\Helper\Product\Flat\Indexer',
|
||||
'/config/global/catalog/product/flat/add_child_data' => 'This configuration moved to Di configuration of \Magento\Catalog\Helper\Product\Flat\Indexer',
|
||||
'/config/global/catalog/content/template_filter' => 'This configuration moved to Di configuration of \Magento\Catalog\Helper\Data',
|
||||
'/config/frontend/catalog/per_page_values/list' => 'This configuration moved to Di configuration of \Magento\Catalog\Model\Config\Source\ListPerPage',
|
||||
'/config/frontend/catalog/per_page_values/grid' => 'This configuration moved to Di configuration of \Magento\Catalog\Model\Config\Source\GridPerPage',
|
||||
'/config/global/catalog/product/design' => 'This configuration moved to Di configuration of' .
|
||||
' \Magento\Catalog\Model\Entity\Product\Attribute\Design\Option\Container',
|
||||
'/config/global/catalog/product/attributes' => 'This configuration moved catalog_attributes.xml',
|
||||
'/config/global/eav_frontendclasses' => 'This configuration was removed. ' .
|
||||
'Please pluginize \Magento\Eav\Helper\Data::getFrontendClasses to extend frontend classes list',
|
||||
'/config/global/resources' => 'This configuration moved to Di configuration of \Magento\Framework\App\ResourceConnection',
|
||||
'/config/global/resource' => 'This configuration moved to Di configuration of \Magento\Framework\App\ResourceConnection',
|
||||
'/config/*/events/core_block_abstract_to_html_after' => 'Event has been replaced with "core_layout_render_element"',
|
||||
'/config/*/events/catalog_controller_product_delete' => '',
|
||||
'/config//observers/*/args' => 'This was an undocumented and unused feature in event subscribers',
|
||||
'/config/default/design/theme' => 'Relocated to /config/<area>/design/theme',
|
||||
'/config/global/theme' => 'Configuration moved to DI file settings',
|
||||
'/config/default/web/*/base_js_url' => '',
|
||||
'/config/default/web/*/base_skin_url' => '/config/default/web/*/base_static_url',
|
||||
'/config/default/web/*/base_cache_url' => '/config/default/web/*/base_static_url',
|
||||
'/config/global/cache/types/*/tags' => 'use /config/global/cache/types/*/class node instead',
|
||||
'/config/global/disable_local_modules' => '',
|
||||
'/config/global/newsletter/tempate_filter' => 'Use DI configs to setup model for template processing',
|
||||
'/config/*/layout' => 'Use convention for layout files placement instead of configuration',
|
||||
'/config/frontend/product/collection/attributes' => 'Use /config/group[@name="catalog_product"] of catalog_attributes.xml',
|
||||
'/config/frontend/category/collection/attributes' => 'Use /config/group[@name="catalog_category"] of catalog_attributes.xml',
|
||||
'/config/global/sales/quote/item/product_attributes' => 'Use /config/group[@name="quote_item"] of catalog_attributes.xml',
|
||||
'/config/global/wishlist/item/product_attributes' => 'Use /config/group[@name="wishlist_item"] of catalog_attributes.xml',
|
||||
'/config/global/catalog/product/flat/attribute_nodes' => 'Use /config/global/catalog/product/flat/attribute_groups',
|
||||
'/config/global/customer/address/formats' => 'Use /config/format of address_formats.xml',
|
||||
'/config/global/pdf' => 'Use configuration in pdf.xml',
|
||||
'/config/install' => 'Configurations moved to DI file settings',
|
||||
'/config/install/design' => 'Configurations moved to DI file settings',
|
||||
'/config/adminhtml/design' => 'Configurations moved to DI file settings',
|
||||
'/config/frontend/design' => 'Configurations moved to DI file settings',
|
||||
'/config/crontab' => 'All cron configurations moved to crontab.xml',
|
||||
'/config/global/areas' => 'Configurations moved to DI file settings',
|
||||
'/config/vde' => 'Was moved to di',
|
||||
'/config/global/ignoredModules' => 'Was replaced using di',
|
||||
'/config/global/helpers' => 'Was replaced using di',
|
||||
'/config/global/external_cache' => 'Was replaced using di',
|
||||
'/config/global/currency/import/services' => 'Configurations moved to DI file settings',
|
||||
'/config/global/template' => 'Use /config/template of email_templates.xml',
|
||||
'/config/default/general/file/sitemap_generate_valid_paths' => '/config/default/sitemap/file/valid_paths',
|
||||
'/config/dev/css/minify_adapter' => 'Was replaced using di',
|
||||
'/config/dev/js/minify_adapter' => 'Was replaced using di',
|
||||
];
|
||||
@@ -0,0 +1,956 @@
|
||||
<?php
|
||||
/**
|
||||
* Obsolete constants
|
||||
*
|
||||
* Format: array(<constant_name>[, <class_scope> = ''[, <replacement>]])
|
||||
*
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
return [
|
||||
['ADMIN_STORE_ID', 'Magento\Framework\AppInterface'],
|
||||
['BACKORDERS_BELOW'],
|
||||
['DS'],
|
||||
['BACKORDERS_YES'],
|
||||
['CACHE_TAG', 'Magento\Api\Model\Config', 'Magento_Api_Model_Cache_Type::CACHE_TAG'],
|
||||
['CACHE_TAG', 'Magento\Framework\AppInterface'],
|
||||
[
|
||||
'CACHE_TAG',
|
||||
'Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection',
|
||||
'Magento_Core_Model_Cache_Type_Collection::CACHE_TAG',
|
||||
],
|
||||
['CACHE_TAG', 'Magento\Framework\Translate', 'Magento_Core_Model_Cache_Type_Translate::CACHE_TAG'],
|
||||
['CACHE_TAG', 'Magento\Rss\Block\Catalog\NotifyStock'],
|
||||
['CACHE_TAG', 'Magento\Rss\Block\Catalog\Review'],
|
||||
['CACHE_TAG', 'Magento\Rss\Block\Order\NewOrder'],
|
||||
['CATEGORY_APPLY_CATEGORY_AND_PRODUCT_ONLY'],
|
||||
['CATEGORY_APPLY_CATEGORY_AND_PRODUCT_RECURSIVE'],
|
||||
['CATEGORY_APPLY_CATEGORY_ONLY'],
|
||||
['CATEGORY_APPLY_CATEGORY_RECURSIVE'],
|
||||
['CHECKOUT_METHOD_GUEST'],
|
||||
['CHECKOUT_METHOD_REGISTER'],
|
||||
['CHECKSUM_KEY_NAME'],
|
||||
['CONFIG_TEMPLATE_INSTALL_DATE'],
|
||||
['CONFIG_XML_PATH_DEFAULT_PRODUCT_TAX_GROUP'],
|
||||
['CONFIG_XML_PATH_DISPLAY_FULL_SUMMARY'],
|
||||
['CONFIG_XML_PATH_DISPLAY_TAX_COLUMN'],
|
||||
['CONFIG_XML_PATH_DISPLAY_ZERO_TAX'],
|
||||
['CONFIG_XML_PATH_SHOW_IN_CATALOG'],
|
||||
[
|
||||
'DEFAULT_SETUP_RESOURCE',
|
||||
'Mage_Core_Model_Resource',
|
||||
'Magento_Core_Model_Config_Resource::DEFAULT_SETUP_CONNECTION',
|
||||
],
|
||||
[
|
||||
'DEFAULT_READ_RESOURCE',
|
||||
'Mage_Core_Model_Resource',
|
||||
'Magento_Core_Model_Config_Resource::DEFAULT_READ_CONNECTION',
|
||||
],
|
||||
[
|
||||
'DEFAULT_WRITE_RESOURCE',
|
||||
'Mage_Core_Model_Resource',
|
||||
'Magento_Core_Model_Config_Resource::DEFAULT_WRITE_CONNECTION',
|
||||
],
|
||||
[
|
||||
'DEFAULT_READ_RESOURCE',
|
||||
'Magento\Framework\App\ResourceConnection',
|
||||
],
|
||||
[
|
||||
'DEFAULT_WRITE_RESOURCE',
|
||||
'Magento\Framework\App\ResourceConnection',
|
||||
],
|
||||
[
|
||||
'DEFAULT_SETUP_CONNECTION',
|
||||
'\Magento\Framework\App\ResourceConnection\Config',
|
||||
],
|
||||
['DEFAULT_READ_CONNECTION', 'Magento\Framework\App\ResourceConnection\Config'],
|
||||
['DEFAULT_WRITE_CONNECTION', 'Magento\Framework\App\ResourceConnection\Config'],
|
||||
['DEFAULT_ERROR_HANDLER', 'Mage'],
|
||||
['DEFAULT_THEME_NAME', 'Magento\Core\Model\Design\PackageInterface'],
|
||||
['DEFAULT_THEME_NAME', 'Magento\Core\Model\Design\Package'],
|
||||
['DEFAULT_STORE_ID', 'Magento\Catalog\Model\AbstractModel', 'Magento\Store\Model\Store::DEFAULT_STORE_ID'],
|
||||
['DEFAULT_VALUE_TABLE_PREFIX'],
|
||||
['DIRECTORY_PERMISSION', 'Magento\Framework\Code\Generator\Io'],
|
||||
['DIVIDE_EPSILON', 'Magento\Core\Helper\Data'],
|
||||
['ENTITY_PRODUCT', 'Magento\Review\Model\Review'],
|
||||
['EXCEPTION_CODE_IS_GROUPED_PRODUCT'],
|
||||
['FALLBACK_MAP_DIR', 'Magento\Core\Model\Design\PackageInterface'],
|
||||
['GALLERY_IMAGE_TABLE', 'Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Media'],
|
||||
['HASH_ALGO'],
|
||||
['INIT_OPTION_DIRS', 'Magento\Core\Model\App', 'Magento_Core_Model_App::PARAM_APP_DIRS'],
|
||||
['INIT_OPTION_REQUEST', 'Magento\Core\Model\App'],
|
||||
['INIT_OPTION_RESPONSE', 'Magento\Core\Model\App'],
|
||||
['INIT_OPTION_SCOPE_CODE', 'Magento\Core\Model\App', 'Magento_Core_Model_App::PARAM_RUN_CODE'],
|
||||
['INIT_OPTION_SCOPE_TYPE', 'Magento\Core\Model\App', 'Magento_Core_Model_App::PARAM_RUN_TYPE'],
|
||||
['INIT_OPTION_URIS', 'Magento\Core\Model\App'],
|
||||
['INSTALLER_HOST_RESPONSE', 'Magento\Install\Model\Installer'],
|
||||
[
|
||||
'LAYOUT_GENERAL_CACHE_TAG',
|
||||
'Magento\Core\Model\Layout\Merge',
|
||||
'Magento_Core_Model_Cache_Type_Layout::CACHE_TAG',
|
||||
],
|
||||
['LOCALE_CACHE_KEY', 'Magento\Backend\Block\Page\Footer'],
|
||||
['LOCALE_CACHE_LIFETIME', 'Magento\Backend\Block\Page\Footer'],
|
||||
['LOCALE_CACHE_TAG', 'Magento\Backend\Block\Page\Footer'],
|
||||
['PARAM_CACHE_OPTIONS', '\Magento\Core\Model\App', '\Magento\Core\Model\App::PARAM_CACHE_FORCED_OPTIONS'],
|
||||
['PATH_PREFIX_CUSTOMIZATION', 'Magento\Core\Model\Theme'],
|
||||
['PATH_PREFIX_CUSTOMIZED', 'Magento\Core\Model\Theme\Files'],
|
||||
['PUBLIC_BASE_THEME_DIR', 'Magento\Core\Model\Design\PackageInterface'],
|
||||
['PUBLIC_CACHE_TAG', 'Magento\Core\Model\Design\PackageInterface'],
|
||||
[
|
||||
'PUBLIC_MODULE_DIR',
|
||||
'Magento\Core\Model\Design\PackageInterface',
|
||||
'Magento_Core_Model_Design_Package::PUBLIC_MODULE_DIR',
|
||||
],
|
||||
['PUBLIC_MODULE_DIR', 'Magento\Framework\View\Publisher', 'Magento\Framework\View\Publisher\FileInterface::PUBLIC_MODULE_DIR'],
|
||||
[
|
||||
'PUBLIC_THEME_DIR',
|
||||
'Magento\Core\Model\Design\PackageInterface',
|
||||
'Magento_Core_Model_Design_Package::PUBLIC_THEME_DIR',
|
||||
],
|
||||
['PUBLIC_THEME_DIR', 'Magento\Framework\View\Publisher', 'Magento\Framework\View\Publisher\FileInterface::PUBLIC_THEME_DIR'],
|
||||
[
|
||||
'PUBLIC_VIEW_DIR',
|
||||
'Magento\Core\Model\Design\PackageInterface',
|
||||
'Magento_Core_Model_Design_Package::PUBLIC_VIEW_DIR',
|
||||
],
|
||||
['PUBLIC_VIEW_DIR', 'Magento\Framework\View\Publisher', 'Magento\Framework\View\Publisher\FileInterface::PUBLIC_VIEW_DIR'],
|
||||
['REGISTRY_FORM_PARAMS_KEY', null, 'direct value'],
|
||||
['RULE_PERM_ALLOW', '\Magento\Framework\Math\Random'],
|
||||
['RULE_PERM_DENY', '\Magento\Framework\Math\Random'],
|
||||
['RULE_PERM_INHERIT', '\Magento\Framework\Math\Random'],
|
||||
['SCOPE_TYPE_GROUP', 'Magento\Core\Model\App', 'Magento\Store\Model\ScopeInterface::SCOPE_GROUP'],
|
||||
['SCOPE_TYPE_STORE', 'Magento\Core\Model\App', 'Magento\Store\Model\ScopeInterface::SCOPE_STORE'],
|
||||
[
|
||||
'SCOPE_TYPE_WEBSITE',
|
||||
'Magento\Core\Model\App',
|
||||
'Magento\Store\Model\ScopeInterface::SCOPE_WEBSITE',
|
||||
],
|
||||
['SEESION_MAX_COOKIE_LIFETIME'],
|
||||
['TYPE_BINARY', null, 'Magento_DB_Ddl_Table::TYPE_BLOB'],
|
||||
['TYPE_CHAR', null, 'Magento_DB_Ddl_Table::TYPE_TEXT'],
|
||||
['TYPE_CLOB', null, 'Magento_DB_Ddl_Table::TYPE_TEXT'],
|
||||
['TYPE_DOUBLE', null, 'Magento_DB_Ddl_Table::TYPE_FLOAT'],
|
||||
['TYPE_LONGVARBINARY', null, 'Magento_DB_Ddl_Table::TYPE_BLOB'],
|
||||
['TYPE_LONGVARCHAR', null, 'Magento_DB_Ddl_Table::TYPE_TEXT'],
|
||||
['TYPE_REAL', null, 'Magento_DB_Ddl_Table::TYPE_FLOAT'],
|
||||
['TYPE_TIME', null, 'Magento_DB_Ddl_Table::TYPE_TIMESTAMP'],
|
||||
['TYPE_TINYINT', null, 'Magento_DB_Ddl_Table::TYPE_SMALLINT'],
|
||||
['TYPE_VARCHAR', null, 'Magento_DB_Ddl_Table::TYPE_TEXT'],
|
||||
['URL_TYPE_SKIN'],
|
||||
['URL_TYPE_CACHE'],
|
||||
['XML_NODE_PAGE_TEMPLATE_FILTER', 'Magento\Cms\Helper\Data'],
|
||||
['XML_NODE_BLOCK_TEMPLATE_FILTER', 'Magento\Cms\Helper\Data'],
|
||||
['XML_NODE_RELATED_CACHE', 'Magento\Widget\Model\Widget\Instance'],
|
||||
['XML_CHARSET_NODE', 'Magento\SalesRule\Helper\Coupon'],
|
||||
['XML_CHARSET_SEPARATOR', 'Magento\SalesRule\Helper\Coupon'],
|
||||
['XML_NODE_RELATED_CACHE', 'Magento\CatalogRule\Model\Rule'],
|
||||
[
|
||||
'XML_PATH_ALLOW_DUPLICATION',
|
||||
'Magento\Core\Model\Design\PackageInterface',
|
||||
'Magento_Core_Model_Design_Package::XML_PATH_ALLOW_DUPLICATION',
|
||||
],
|
||||
['XML_PATH_ALLOW_MAP_UPDATE', 'Mage_Core_Model_Design_PackageInterface'],
|
||||
['XML_PATH_BACKEND_FRONTNAME', 'Mage_Backend_Helper_Data'],
|
||||
['XML_PATH_CACHE_BETA_TYPES'],
|
||||
['XML_PATH_CHECK_EXTENSIONS', 'Magento\Install\Model\Config'],
|
||||
['XML_PATH_CONNECTION_TYPE', 'Magento\Framework\App\ResourceConnection\Config'],
|
||||
['XML_PATH_CONNECTION_TYPE', 'Magento\Core\Helper\Data'],
|
||||
['XML_PATH_COUNTRY_DEFAULT', 'Magento\Paypal\Model\System\Config\Backend\MerchantCountry'],
|
||||
[
|
||||
'XML_PATH_DEBUG_TEMPLATE_HINTS',
|
||||
'Magento\Framework\View\Element\Template',
|
||||
],
|
||||
[
|
||||
'XML_PATH_DEBUG_TEMPLATE_HINTS_BLOCKS',
|
||||
'Magento\Framework\View\Element\Template',
|
||||
'Magento\Core\Model\TemplateEngine\Plugin::XML_PATH_DEBUG_TEMPLATE_HINTS_BLOCKS',
|
||||
],
|
||||
['XML_PATH_DEFAULT_COUNTRY', 'Magento\Core\Helper\Data', 'Magento\Directory\Helper\Data::XML_PATH_DEFAULT_COUNTRY'],
|
||||
['XML_PATH_DEFAULT_LOCALE', 'Magento\Core\Helper\Data', 'Magento\Directory\Helper\Data::XML_PATH_DEFAULT_LOCALE'],
|
||||
[
|
||||
'XML_PATH_DEFAULT_TIMEZONE',
|
||||
'Magento\Core\Helper\Data',
|
||||
'Magento\Directory\Helper\Data::XML_PATH_DEFAULT_TIMEZONE',
|
||||
],
|
||||
[
|
||||
'XML_PATH_DEV_ALLOW_IPS',
|
||||
'Magento\Core\Helper\Data',
|
||||
'Magento\Developer\Helper\Data::XML_PATH_DEV_ALLOW_IPS',
|
||||
],
|
||||
['XML_PATH_INSTALL_DATE', 'Mage_Core_Model_App', 'Mage_Core_Model_Config_Primary::XML_PATH_INSTALL_DATE'],
|
||||
['XML_PATH_LOCALE_INHERITANCE', 'Mage_Core_Model_Translate'],
|
||||
['XML_PATH_PRODUCT_ATTRIBUTES', 'Magento\Wishlist\Model\Config'],
|
||||
['XML_PATH_PRODUCT_COLLECTION_ATTRIBUTES', 'Magento\Catalog\Model\Config'],
|
||||
['XML_PATH_QUOTE_PRODUCT_ATTRIBUTES', 'Magento\Quote\Model\Quote\Config'],
|
||||
['XML_PATH_SENDING_SET_RETURN_PATH', 'Mage_Newsletter_Model_Subscriber'],
|
||||
[
|
||||
'XML_PATH_SKIP_PROCESS_MODULES_UPDATES',
|
||||
'Mage_Core_Model_App',
|
||||
'Mage_Core_Model_Db_UpdaterInterface::XML_PATH_SKIP_PROCESS_MODULES_UPDATES',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STATIC_FILE_SIGNATURE',
|
||||
'Magento\Core\Helper\Data',
|
||||
'Magento_Core_Model_Design_Package::XML_PATH_STATIC_FILE_SIGNATURE',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STORE_ADDRESS1',
|
||||
'Magento\Shipping\Model\Shipping',
|
||||
'Magento\Sales\Model\Order\Shipment::XML_PATH_STORE_ADDRESS1',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STORE_ADDRESS2',
|
||||
'Magento\Shipping\Model\Shipping',
|
||||
'Magento\Sales\Model\Order\Shipment::XML_PATH_STORE_ADDRESS2',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STORE_CITY',
|
||||
'Magento\Shipping\Model\Shipping',
|
||||
'Magento\Sales\Model\Order\Shipment::XML_PATH_STORE_CITY',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STORE_REGION_ID',
|
||||
'Magento\Shipping\Model\Shipping',
|
||||
'Magento\Sales\Model\Order\Shipment::XML_PATH_STORE_REGION_ID',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STORE_ZIP',
|
||||
'Magento\Shipping\Model\Shipping',
|
||||
'Magento\Sales\Model\Order\Shipment::XML_PATH_STORE_ZIP',
|
||||
],
|
||||
[
|
||||
'XML_PATH_STORE_COUNTRY_ID',
|
||||
'Magento\Shipping\Model\Shipping',
|
||||
'Magento\Sales\Model\Order\Shipment::XML_PATH_STORE_COUNTRY_ID',
|
||||
],
|
||||
['XML_PATH_TEMPLATE_EMAIL', 'Magento\Core\Model\Email\Template'],
|
||||
[
|
||||
'XML_PATH_TEMPLATE_FILTER',
|
||||
'Magento\Newsletter\Helper\Data',
|
||||
'Use directly model \Magento\Newsletter\Model\Template\Filter',
|
||||
],
|
||||
[
|
||||
'XML_PATH_THEME',
|
||||
'Magento\Core\Model\Design\PackageInterface',
|
||||
'Magento_Core_Model_Design_Package::XML_PATH_THEME',
|
||||
],
|
||||
[
|
||||
'XML_PATH_THEME_ID',
|
||||
'Magento\Core\Model\Design\PackageInterface',
|
||||
'Magento_Core_Model_Design_Package::XML_PATH_THEME_ID',
|
||||
],
|
||||
['XML_STORE_ROUTERS_PATH', 'Mage_Core_Controller_Varien_Front'],
|
||||
['XML_PATH_SESSION_MESSAGE_MODELS', 'Magento\Catalog\Helper\Product\View'],
|
||||
[
|
||||
'VALIDATOR_KEY',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::VALIDATOR_KEY',
|
||||
],
|
||||
[
|
||||
'VALIDATOR_HTTP_USER_AGENT_KEY',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::VALIDATOR_HTTP_USER_AGENT_KEY',
|
||||
],
|
||||
[
|
||||
'VALIDATOR_HTTP_X_FORVARDED_FOR_KEY',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::VALIDATOR_HTTP_X_FORWARDED_FOR_KEY',
|
||||
],
|
||||
[
|
||||
'VALIDATOR_HTTP_VIA_KEY',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::VALIDATOR_HTTP_VIA_KEY',
|
||||
],
|
||||
[
|
||||
'VALIDATOR_REMOTE_ADDR_KEY',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::VALIDATOR_REMOTE_ADDR_KEY',
|
||||
],
|
||||
[
|
||||
'XML_PATH_USE_REMOTE_ADDR',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::XML_PATH_USE_REMOTE_ADDR',
|
||||
],
|
||||
[
|
||||
'XML_PATH_USE_HTTP_VIA',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::XML_PATH_USE_HTTP_VIA',
|
||||
],
|
||||
[
|
||||
'XML_PATH_USE_X_FORWARDED',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::XML_PATH_USE_X_FORWARDED',
|
||||
],
|
||||
[
|
||||
'XML_PATH_USE_USER_AGENT',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento_Core_Model_Session_Validator::XML_PATH_USE_USER_AGENT',
|
||||
],
|
||||
['XML_NODE_DIRECT_FRONT_NAMES', 'Magento\Framework\App\Request\Http'],
|
||||
['XML_NODE_USET_AGENT_SKIP', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
['XML_PAGE_TYPE_RENDER_INHERITED', 'Magento\Framework\App\Action\Action'],
|
||||
['XML_PATH_ALLOW_MAP_UPDATE', 'Magento\Core\Model\Design\FileResolution\StrategyPool'],
|
||||
['XML_PATH_WEBAPI_REQUEST_INTERPRETERS', 'Magento\Webapi\Controller\Request\Rest\Interpreter\Factory'],
|
||||
['XML_PATH_WEBAPI_RESPONSE_RENDERS', 'Magento\Webapi\Controller\Response\Rest\Renderer\Factor'],
|
||||
['XML_PATH_THEME'],
|
||||
['XML_PATH_ALLOW_DUPLICATION'],
|
||||
['XML_NODE_BUNDLE_PRODUCT_TYPE', 'Magento\Bundle\Helper\Data'],
|
||||
['XML_PATH_CONFIGURABLE_ALLOWED_TYPES', 'Magento\Catalog\Helper\Product\Configuration'],
|
||||
['XML_PATH_GROUPED_ALLOWED_PRODUCT_TYPES', 'Magento\Catalog\Model\Config'],
|
||||
['PRODUCT_OPTIONS_GROUPS_PATH', 'Magento\Catalog\Model\Config\Source\Product\Options\Type'],
|
||||
['XML_NODE_ADD_FILTERABLE_ATTRIBUTES', 'Magento\Catalog\Helper\Product\Flat'],
|
||||
['XML_NODE_ADD_CHILD_DATA', 'Magento\Catalog\Helper\Product\Flat'],
|
||||
['XML_PATH_CONTENT_TEMPLATE_FILTER', 'Magento\Catalog\Helper\Data'],
|
||||
['XML_PATH_UNASSIGNABLE_ATTRIBUTES', 'Magento\Catalog\Helper\Product'],
|
||||
['XML_PATH_ATTRIBUTES_USED_IN_AUTOGENERATION', 'Magento\Catalog\Helper\Product'],
|
||||
['XML_PATH_PRODUCT_TYPE_SWITCHER_LABEL', 'Magento\Catalog\Helper\Product'],
|
||||
['CONFIG_KEY_ENTITIES', 'Magento\ImportExport\Model\Export'],
|
||||
['CONFIG_KEY_FORMATS', 'Magento\ImportExport\Model\Export'],
|
||||
['CONFIG_KEY_ENTITIES', 'Magento\ImportExport\Model\Import'],
|
||||
['REGEX_RUN_MODEL', 'Magento\Cron\Model\Observer'],
|
||||
['XML_PATH_ENCRYPTION_MODEL', 'Magento\Core\Helper\Data'],
|
||||
['CONFIG_KEY_PATH_TO_MAP_FILE', 'Magento\Framework\Module\Setup\Migration'],
|
||||
['XML_PATH_SKIP_PROCESS_MODULES_UPDATES', 'Magento\Framework\App\UpdaterInterface'],
|
||||
['XML_PATH_IGNORE_DEV_MODE', 'Magento\Framework\Module\UpdaterInterface'],
|
||||
['XML_PATH_SKIP_PROCESS_MODULES_UPDATES', 'Magento\Framework\Module\UpdaterInterface'],
|
||||
['XML_PATH_USE_CUSTOM_ADMIN_PATH', 'Magento\Backend\Helper\Data'],
|
||||
['XML_PATH_CUSTOM_ADMIN_PATH', 'Magento\Backend\Helper\Data'],
|
||||
['XML_PATH_BACKEND_AREA_FRONTNAME', 'Magento\Backend\Helper\Data'],
|
||||
['PARAM_BACKEND_FRONT_NAME', 'Magento\Backend\Helper\Data'],
|
||||
['CHARS_LOWERS', '\Magento\Core\Helper\Data', '\Magento\Framework\Math\Random::CHARS_LOWERS'],
|
||||
['CHARS_UPPERS', '\Magento\Core\Helper\Data', '\Magento\Framework\Math\Random::CHARS_UPPERS'],
|
||||
['CHARS_DIGITS', '\Magento\Core\Helper\Data', '\Magento\Framework\Math\Random::CHARS_DIGITS'],
|
||||
['CHARS_SPECIALS', '\Magento\Core\Helper\Data'],
|
||||
['CHARS_SPECIALS', '\Magento\Framework\Math\Random'],
|
||||
['CHARS_PASSWORD_LOWERS', '\Magento\Core\Helper\Data'],
|
||||
['CHARS_PASSWORD_LOWERS', '\Magento\Framework\Math\Random'],
|
||||
['CHARS_PASSWORD_UPPERS', '\Magento\Core\Helper\Data'],
|
||||
['CHARS_PASSWORD_UPPERS', '\Magento\Framework\Math\Random'],
|
||||
['CHARS_PASSWORD_DIGITS', '\Magento\Core\Helper\Data'],
|
||||
['CHARS_PASSWORD_DIGITS', '\Magento\Framework\Math\Random'],
|
||||
['CHARS_PASSWORD_SPECIALS', '\Magento\Core\Helper\Data'],
|
||||
['CHARS_PASSWORD_SPECIALS', '\Magento\Framework\Math\Random'],
|
||||
['XML_NODE_REMOTE_ADDR_HEADERS', '\Magento\Core\Helper\Http'],
|
||||
[
|
||||
'XML_PATH_EU_COUNTRIES_LIST',
|
||||
'\Magento\Core\Helper\Data',
|
||||
'Magento\Customer\Helper\Data::XML_PATH_EU_COUNTRIES_LIST',
|
||||
],
|
||||
[
|
||||
'XML_PATH_MERCHANT_COUNTRY_CODE',
|
||||
'\Magento\Core\Helper\Data',
|
||||
'Magento\Customer\Helper\Data::XML_PATH_MERCHANT_COUNTRY_CODE',
|
||||
],
|
||||
[
|
||||
'XML_PATH_MERCHANT_VAT_NUMBER',
|
||||
'\Magento\Core\Helper\Data',
|
||||
'Magento\Customer\Helper\Data::XML_PATH_MERCHANT_VAT_NUMBER',
|
||||
],
|
||||
[
|
||||
'XML_PATH_PROTECTED_FILE_EXTENSIONS',
|
||||
'\Magento\Core\Helper\Data',
|
||||
'\Magento\MediaStorage\Model\File\Validator\NotProtectedExtension::XML_PATH_PROTECTED_FILE_EXTENSIONS',
|
||||
],
|
||||
[
|
||||
'XML_PATH_PUBLIC_FILES_VALID_PATHS',
|
||||
'\Magento\Core\Helper\Data',
|
||||
'\Magento\Catalog\Helper\Catalog::XML_PATH_PUBLIC_FILES_VALID_PATHS',
|
||||
],
|
||||
[
|
||||
'XML_PATH_PUBLIC_FILES_VALID_PATHS',
|
||||
'Magento\Catalog\Helper\Catalog',
|
||||
'\Magento\Sitemap\Helper\Data::XML_PATH_PUBLIC_FILES_VALID_PATHS',
|
||||
],
|
||||
[
|
||||
'XML_PATH_SITEMAP_VALID_PATHS',
|
||||
'\Magento\Catalog\Helper\Catalog',
|
||||
'\Magento\Sitemap\Helper\Data::XML_PATH_SITEMAP_VALID_PATHS',
|
||||
],
|
||||
['TYPE_PHYSICAL', '\Magento\Core\Model\Theme', '\Magento\Framework\View\Design\ThemeInterface::TYPE_PHYSICAL'],
|
||||
['TYPE_VIRTUAL', '\Magento\Core\Model\Theme', '\Magento\Framework\View\Design\ThemeInterface::TYPE_VIRTUAL'],
|
||||
['TYPE_STAGING', '\Magento\Core\Model\Theme', '\Magento\Framework\View\Design\ThemeInterface::TYPE_STAGING'],
|
||||
['PATH_SEPARATOR', '\Magento\Core\Model\Theme', '\Magento\Framework\View\Design\ThemeInterface::PATH_SEPARATOR'],
|
||||
['CODE_SEPARATOR', '\Magento\Core\Model\Theme', '\Magento\Framework\View\Design\ThemeInterface::CODE_SEPARATOR'],
|
||||
[
|
||||
'XML_PATH_IMAGE_ADAPTER',
|
||||
'\Magento\Core\Model\Image\AdapterFactory',
|
||||
'\Magento\Core\Model\Image\Adapter\Config::XML_PATH_IMAGE_ADAPTER',
|
||||
],
|
||||
[
|
||||
'ADAPTER_IM',
|
||||
'\Magento\Core\Model\Image\AdapterFactory',
|
||||
'\Magento\Framework\Image\Adapter\AdapterInterface::ADAPTER_IM',
|
||||
],
|
||||
[
|
||||
'ADAPTER_GD2',
|
||||
'\Magento\Core\Model\Image\AdapterFactory',
|
||||
'\Magento\Framework\Image\Adapter\AdapterInterface::ADAPTER_GD2',
|
||||
],
|
||||
['XML_PATH_IMAGE_TYPES', 'Magento\Adminhtml\Block\Catalog\Product\Frontend\Product\Watermark'],
|
||||
['XML_PATH_WEBHOOK', 'Magento\Webhook\Model\Source\Hook'],
|
||||
['XML_PATH_SUBSCRIPTIONS', 'Magento\Webhook\Model\Subscription\Config'],
|
||||
['PAYMENT_INFO_TRANSPORT_SHIPPING_OVERRIDEN', 'Magento\Paypal\Model\Express\Checkout'],
|
||||
[
|
||||
'XML_PATH_USE_FRONTEND_SID',
|
||||
'\Magento\Core\Model\Session\AbstractSession',
|
||||
'\Magento\Framework\Session\SidResolver::XML_PATH_USE_FRONTEND_SID',
|
||||
],
|
||||
[
|
||||
'SESSION_ID_QUERY_PARAM',
|
||||
'\Magento\Core\Model\Session\AbstractSession',
|
||||
'\Magento\Framework\Session\SidResolverInterface::SESSION_ID_QUERY_PARAM',
|
||||
],
|
||||
[
|
||||
'XML_PATH_COOKIE_DOMAIN',
|
||||
'\Magento\Framework\Stdlib\Cookie',
|
||||
'\Magento\Core\Model\Session\Config::XML_PATH_COOKIE_DOMAIN',
|
||||
],
|
||||
[
|
||||
'XML_PATH_COOKIE_PATH',
|
||||
'\Magento\Framework\Stdlib\Cookie',
|
||||
'\Magento\Core\Model\Session\Config::XML_PATH_COOKIE_PATH',
|
||||
],
|
||||
[
|
||||
'XML_PATH_COOKIE_LIFETIME',
|
||||
'\Magento\Framework\Stdlib\Cookie',
|
||||
'\Magento\Core\Model\Session\Config::XML_PATH_COOKIE_LIFETIME',
|
||||
],
|
||||
[
|
||||
'XML_PATH_COOKIE_HTTPONLY',
|
||||
'\Magento\Framework\Stdlib\Cookie',
|
||||
'\Magento\Core\Model\Session\Config::XML_PATH_COOKIE_HTTPONLY',
|
||||
],
|
||||
[
|
||||
'PARAM_SESSION_SAVE_METHOD',
|
||||
'\Magento\Core\Model\Session\AbstractSession',
|
||||
'\Magento\Core\Model\Session\Config::PARAM_SESSION_SAVE_METHOD',
|
||||
],
|
||||
[
|
||||
'PARAM_SESSION_SAVE_PATH',
|
||||
'\Magento\Core\Model\Session\AbstractSession',
|
||||
'\Magento\Core\Model\Session\Config::PARAM_SESSION_SAVE_PATH',
|
||||
],
|
||||
[
|
||||
'PARAM_SESSION_CACHE_LIMITER',
|
||||
'\Magento\Core\Model\Session\AbstractSession',
|
||||
'\Magento\Core\Model\Session\Config::PARAM_SESSION_CACHE_LIMITER',
|
||||
],
|
||||
[
|
||||
'XML_NODE_SESSION_SAVE_PATH',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento\Core\Model\Session\Config::PARAM_SESSION_SAVE_PATH',
|
||||
],
|
||||
[
|
||||
'XML_NODE_SESSION_SAVE',
|
||||
'Magento\Core\Model\Session\AbstractSession',
|
||||
'Magento\Core\Model\Session\Config::PARAM_SESSION_SAVE_METHOD',
|
||||
],
|
||||
['XML_PATH_LOG_EXCEPTION_FILE', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
[
|
||||
'XML_PATH_ROBOTS_DEFAULT_CUSTOM_INSTRUCTIONS',
|
||||
'Magento\Theme\Helper\Robots',
|
||||
'Magento\Backend\Block\Page\System\Config\Robots::XML_PATH_ROBOTS_DEFAULT_CUSTOM_INSTRUCTIONS',
|
||||
],
|
||||
[
|
||||
'XML_PATH_MERGE_CSS_FILES',
|
||||
'Magento\Framework\View\Asset\MergeService',
|
||||
'Magento\Core\Model\Asset\Config::XML_PATH_MERGE_CSS_FILES',
|
||||
],
|
||||
[
|
||||
'XML_PATH_MERGE_JS_FILES',
|
||||
'Magento\Framework\View\Asset\MergeService',
|
||||
'Magento\Core\Model\Asset\Config::XML_PATH_MERGE_JS_FILES',
|
||||
],
|
||||
[
|
||||
'XML_PATH_MINIFICATION_ENABLED',
|
||||
'Magento\Framework\View\Asset\MinifyService',
|
||||
'Magento\Core\Model\Asset\Config::XML_PATH_MINIFICATION_ENABLED',
|
||||
],
|
||||
[
|
||||
'XML_PATH_MINIFICATION_ADAPTER',
|
||||
'Magento\Framework\View\Asset\MinifyService',
|
||||
'Magento\Core\Model\Asset\Config::XML_PATH_MINIFICATION_ADAPTER',
|
||||
],
|
||||
[
|
||||
'USE_PARENT_IMAGE',
|
||||
'Magento\ConfigurableProduct\Block\Cart\Item\Renderer\Configurable',
|
||||
'Magento\Catalog\Model\Config\Source\Product\Thumbnail::OPTION_USE_PARENT_IMAGE',
|
||||
],
|
||||
[
|
||||
'USE_PARENT_IMAGE',
|
||||
'Magento\GroupedProduct\Block\Cart\Item\Renderer\Grouped',
|
||||
'Magento\Catalog\Model\Config\Source\Product\Thumbnail::OPTION_USE_PARENT_IMAGE',
|
||||
],
|
||||
[
|
||||
'CONFIGURABLE_PRODUCT_IMAGE',
|
||||
'Magento\ConfigurableProduct\Block\Cart\Item\Renderer\Configurable',
|
||||
'Magento\ConfigurableProduct\Block\Cart\Item\Renderer\Configurable::CONFIG_THUMBNAIL_SOURCE',
|
||||
],
|
||||
[
|
||||
'GROUPED_PRODUCT_IMAGE',
|
||||
'Magento\GroupedProduct\Block\Cart\Item\Renderer\Grouped',
|
||||
'Magento\GroupedProduct\Block\Cart\Item\Renderer\Grouped::CONFIG_THUMBNAIL_SOURCE',
|
||||
],
|
||||
['TYPE_BLOCK', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_CONTAINER', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_ACTION', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_ARGUMENTS', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_ARGUMENT', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_REFERENCE_BLOCK', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_REFERENCE_CONTAINER', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_REMOVE', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['TYPE_MOVE', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['CONTAINER_OPT_HTML_TAG', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['CONTAINER_OPT_HTML_CLASS', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['CONTAINER_OPT_HTML_ID', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['CONTAINER_OPT_LABEL', 'Magento\Framework\View\Layout', '\Magento\Framework\View\Layout\Element'],
|
||||
['XML_PATH_THEME_ID', 'Magento\Core\Model\View\Design', '\Magento\Framework\View\DesignInterface::XML_PATH_THEME_ID'],
|
||||
['UPLOAD_ROOT', 'Magento\Backend\Model\Config\Backend\Logo'],
|
||||
['UPLOAD_ROOT', 'Magento\Backend\Model\Config\Backend\Favicon'],
|
||||
['DIRECTORY_SEPARATOR', 'Magento\Framework\Filesystem'],
|
||||
[
|
||||
'MAX_QTY_VALUE',
|
||||
'\Magento\Catalog\Controller\Adminhtml\Product',
|
||||
'Magento\Catalog\Controller\Adminhtml\Product\Initialization\StockDataFilter::MAX_QTY_VALUE',
|
||||
],
|
||||
[
|
||||
'LINK_TYPE_GROUPED',
|
||||
'\Magento\Catalog\Model\Product\Link',
|
||||
'\Magento\GroupedProduct\Model\ResourceModel\Product\Link::LINK_TYPE_GROUPED',
|
||||
],
|
||||
[
|
||||
'TYPE_GROUPED',
|
||||
'\Magento\Catalog\Model\Product\Type',
|
||||
'\Magento\GroupedProduct\Model\ResourceModel\Product\Link::LINK_TYPE_GROUPED',
|
||||
],
|
||||
['PARAM_APP_URIS', 'Magento\Framework\Filesystem'],
|
||||
['ROOT_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::ROOT'],
|
||||
['APP_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::APP'],
|
||||
['MODULES_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::MODULES',
|
||||
],
|
||||
['THEMES_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::THEMES',
|
||||
],
|
||||
['CONFIG_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::CONFIG',
|
||||
],
|
||||
['LIB_INTERNAL',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::LIB_INTERNAL',
|
||||
],
|
||||
['LOCALE_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::LOCALE'],
|
||||
['PUB_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::PUB'],
|
||||
['LIB_WEB', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::LIB_WEB'],
|
||||
['MEDIA_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::MEDIA'],
|
||||
['STATIC_VIEW_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::STATIC_VIEW',
|
||||
],
|
||||
['VAR_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::VAR_DIR'],
|
||||
['TMP_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::TMP'],
|
||||
['CACHE_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::CACHE'],
|
||||
['LOG_DIR', '\Magento\Framework\App\Filesystem', '\Magento\Framework\App\Filesystem\DirectoryList::LOG'],
|
||||
['SESSION_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::SESSION',
|
||||
],
|
||||
['DI_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::GENERATED_METADATA'
|
||||
],
|
||||
['GENERATION_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::GENERATED_CODE',
|
||||
],
|
||||
['UPLOAD_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Filesystem\DirectoryList::UPLOAD',
|
||||
],
|
||||
['SYS_TMP_DIR',
|
||||
'\Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\Filesystem\DirectoryList::SYS_TMP',
|
||||
],
|
||||
[
|
||||
'TYPE_CONFIGURABLE',
|
||||
'\Magento\Catalog\Model\Product\Type',
|
||||
'\Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE',
|
||||
],
|
||||
[
|
||||
'XML_PATH_IS_ENABLED_FLAT_CATALOG_CATEGORY',
|
||||
'\Magento\Catalog\Helper\Category\Flat',
|
||||
'\Magento\Catalog\Model\Indexer\Category\Flat\Config::XML_PATH_IS_ENABLED_FLAT_CATALOG_CATEGORY',
|
||||
],
|
||||
['CSV_SEPARATOR', 'Magento\Framework\Translate'],
|
||||
['SCOPE_SEPARATOR', 'Magento\Framework\Translate'],
|
||||
['CONFIG_KEY_AREA', 'Magento\Framework\Translate'],
|
||||
['CONFIG_KEY_LOCALE', 'Magento\Framework\Translate'],
|
||||
['CONFIG_KEY_SCOPE', 'Magento\Framework\Translate'],
|
||||
['CONFIG_KEY_DESIGN_THEME', 'Magento\Framework\Translate'],
|
||||
[
|
||||
'XML_NODE_MAX_INDEX_COUNT',
|
||||
'Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction',
|
||||
'Magento\Catalog\Model\Indexer\Product\Flat\FlatTableBuilder',
|
||||
],
|
||||
[
|
||||
'ATTRIBUTES_CHUNK_SIZE',
|
||||
'Magento\Catalog\Model\Indexer\Product\Flat\AbstractAction',
|
||||
'Magento\Catalog\Model\Indexer\Product\Flat\Action\Indexer',
|
||||
],
|
||||
[
|
||||
'CACHE_CATEGORY_TAG',
|
||||
'Magento\Catalog\Model\Product',
|
||||
'Magento\Catalog\Model\Product::CACHE_PRODUCT_CATEGORY_TAG',
|
||||
],
|
||||
['XML_PATH_UNSECURE_BASE_LIB_URL'],
|
||||
['XML_PATH_SECURE_BASE_LIB_URL'],
|
||||
['XML_PATH_SECURE_BASE_CACHE_URL'],
|
||||
['XML_PATH_UNSECURE_BASE_CACHE_URL'],
|
||||
['PUBLIC_MERGE_DIR', '', '\Magento\Framework\View\Asset\Merged::getRelativeDir'],
|
||||
['PUBLIC_MINIFY_DIR', '', '\Magento\Framework\View\Asset\MinifyService::getRelativeDir'],
|
||||
['CONTENT_TYPE_CSS', 'Magento\Framework\View\Publisher'],
|
||||
['CONTENT_TYPE_JS', 'Magento\Framework\View\Publisher'],
|
||||
['CONTENT_TYPE_PHP', 'Magento\Framework\View\Publisher'],
|
||||
['CONTENT_TYPE_PHTML', 'Magento\Framework\View\Publisher'],
|
||||
['CONTENT_TYPE_XML', 'Magento\Framework\View\Publisher'],
|
||||
['MAX_QUERY_LEN', 'Magento\CatalogSearch\Helper\Data'],
|
||||
['QUERY_VAR_NAME', 'Magento\CatalogSearch\Helper\Data'],
|
||||
['XML_PATH_CUSTOMER_VIV_GROUP_AUTO_ASSIGN', 'Magento\Customer\Helper\Data'],
|
||||
[
|
||||
'PARAM_APP_DIRS',
|
||||
'Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\App\Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS',
|
||||
],
|
||||
[
|
||||
'CACHE_VIEW_REL_DIR',
|
||||
'Magento\Framework\App\Filesystem',
|
||||
'\Magento\Framework\View\Asset\Minified::CACHE_VIEW_REL',
|
||||
],
|
||||
['WRAPPER_CONTENT_ZLIB', 'Magento\Framework\Filesystem', '\Magento\Framework\Filesystem\DriverPool::ZLIB'],
|
||||
['WRAPPER_CONTENT_PHAR', 'Magento\Framework\Filesystem'],
|
||||
['WRAPPER_CONTENT_RAR', 'Magento\Framework\Filesystem'],
|
||||
['WRAPPER_CONTENT_OGG', 'Magento\Framework\Filesystem'],
|
||||
['FTP', 'Magento\Framework\Filesystem'],
|
||||
['FTPS', 'Magento\Framework\Filesystem'],
|
||||
['SSH2', 'Magento\Framework\Filesystem'],
|
||||
['HTTP', 'Magento\Framework\Filesystem', '\Magento\Framework\Filesystem\DriverPool::HTTP'],
|
||||
['HTTPS', 'Magento\Framework\Filesystem', '\Magento\Framework\Filesystem\DriverPool::HTTPS'],
|
||||
['SEARCH_TYPE_LIKE', 'Magento\CatalogSearch\Model\Fulltext'],
|
||||
['SEARCH_TYPE_FULLTEXT', 'Magento\CatalogSearch\Model\Fulltext'],
|
||||
['SEARCH_TYPE_COMBINE', 'Magento\CatalogSearch\Model\Fulltext'],
|
||||
['XML_PATH_CATALOG_SEARCH_TYPE', 'Magento\CatalogSearch\Model\Fulltext'],
|
||||
['VAT_CLASS_ERROR', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::VAT_CLASS_ERROR'],
|
||||
['VAT_CLASS_INVALID', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::VAT_CLASS_INVALID'],
|
||||
['VAT_CLASS_INTRA_UNION', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::VAT_CLASS_INTRA_UNION'],
|
||||
['VAT_CLASS_DOMESTIC', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::VAT_CLASS_DOMESTIC'],
|
||||
['XML_PATH_CUSTOMER_VIV_INTRA_UNION_GROUP', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_CUSTOMER_VIV_INTRA_UNION_GROUP'],
|
||||
['XML_PATH_CUSTOMER_VIV_DOMESTIC_GROUP', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_CUSTOMER_VIV_DOMESTIC_GROUP'],
|
||||
['XML_PATH_CUSTOMER_VIV_INVALID_GROUP', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_CUSTOMER_VIV_INVALID_GROUP'],
|
||||
['XML_PATH_CUSTOMER_VIV_ERROR_GROUP', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_CUSTOMER_VIV_ERROR_GROUP'],
|
||||
['VAT_VALIDATION_WSDL_URL', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::VAT_VALIDATION_WSDL_URL'],
|
||||
['XML_PATH_CUSTOMER_GROUP_AUTO_ASSIGN', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_CUSTOMER_GROUP_AUTO_ASSIGN'],
|
||||
['XML_PATH_EU_COUNTRIES_LIST', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_EU_COUNTRIES_LIST'],
|
||||
['XML_PATH_MERCHANT_COUNTRY_CODE', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_MERCHANT_COUNTRY_CODE'],
|
||||
['XML_PATH_MERCHANT_VAT_NUMBER', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Vat::XML_PATH_MERCHANT_VAT_NUMBER'],
|
||||
['ROUTE_ACCOUNT_LOGIN', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Url::ROUTE_ACCOUNT_LOGIN'],
|
||||
['XML_PATH_CUSTOMER_STARTUP_REDIRECT_TO_DASHBOARD', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Url::XML_PATH_CUSTOMER_STARTUP_REDIRECT_TO_DASHBOARD'],
|
||||
['REFERER_QUERY_PARAM_NAME', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Url::REFERER_QUERY_PARAM_NAME'],
|
||||
['XML_PATH_CUSTOMER_RESET_PASSWORD_LINK_EXPIRATION_PERIOD', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Customer::XML_PATH_CUSTOMER_RESET_PASSWORD_LINK_EXPIRATION_PERIOD'],
|
||||
['XML_PATH_SUPPORT_EMAIL', 'Magento\Customer\Helper\Data'],
|
||||
['CONTEXT_AUTH', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Context::CONTEXT_AUTH'],
|
||||
['CONTEXT_CURRENCY', 'Magento\Customer\Helper\Data', 'Magento\Framework\App\Http\Context::CONTEXT_CURRENCY'],
|
||||
['CONTEXT_GROUP', 'Magento\Customer\Helper\Data', 'Magento\Customer\Model\Context::CONTEXT_GROUP'],
|
||||
['CONTEXT_STORE', 'Magento\Customer\Helper\Data', 'Magento\Store\Model\StoreManagerInterface::CONTEXT_STORE'],
|
||||
['DEBUG_CONNECT', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\LoggerInterface::TYPE_CONNECT'],
|
||||
['DEBUG_TRANSACTION', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\LoggerInterface::TYPE_TRANSACTION'],
|
||||
['DEBUG_QUERY', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\LoggerInterface::TYPE_QUERY'],
|
||||
[
|
||||
'PARAM_ALLOWED_MODULES',
|
||||
'Magento\Framework\Module\Declaration\Reader\Filesystem',
|
||||
'Magento\Framework\App\ObjectManagerFactory::INIT_PARAM_DEPLOYMENT_CONFIG',
|
||||
],
|
||||
[
|
||||
'NOT_INSTALLED_URL_PATH_PARAM',
|
||||
'Magento\Framework\App\Http',
|
||||
'Magento\Framework\App\SetupInfo::PARAM_NOT_INSTALLED_URL_PATH',
|
||||
],
|
||||
[
|
||||
'NOT_INSTALLED_URL_PARAM',
|
||||
'Magento\Framework\App\Http',
|
||||
'Magento\Framework\App\SetupInfo::PARAM_NOT_INSTALLED_URL',
|
||||
],
|
||||
[
|
||||
'NOT_INSTALLED_URL_PATH',
|
||||
'Magento\Framework\App\Http',
|
||||
'Magento\Framework\App\SetupInfo::DEFAULT_PATH',
|
||||
],
|
||||
[
|
||||
'PARAM_BACKEND_FRONT_NAME',
|
||||
'Magento\Backend\App\Area\FrontNameResolver',
|
||||
'Magento\Backend\Setup\ConfigOptionsList::CONFIG_PATH_BACKEND_FRONTNAME',
|
||||
],
|
||||
[
|
||||
'DEFAULT_ATTRIBUTE_SET_ID',
|
||||
'Magento\Catalog\Api\Data\CategoryAttributeInterface',
|
||||
'Use \Magento\Eav\Model\Entity\Type::getDefaultAttributeSetId() method instead',
|
||||
],
|
||||
[
|
||||
'DEFAULT_ATTRIBUTE_SET_ID',
|
||||
'\Magento\Catalog\Api\Data\ProductAttributeInterface',
|
||||
'Use \Magento\Eav\Model\Entity\Type::getDefaultAttributeSetId() method instead',
|
||||
],
|
||||
['CONFIG_PATH_WSDL_CACHE_ENABLED', 'Magento\Webapi\Model\Soap\Server'],
|
||||
[
|
||||
'SIDEBAR_ORDER_LIMIT',
|
||||
'Magento\Sales\Block\Reorder\Sidebar',
|
||||
'\Magento\Sales\CustomerData\LastOrderedItems::SIDEBAR_ORDER_LIMIT',
|
||||
],
|
||||
['XML_PATH_ALLOW_CURRENCIES_INSTALLED', 'Magento\Framework\Locale\CurrencyInterface'],
|
||||
[
|
||||
'DEFAULT_CURRENCY',
|
||||
'Magento\Framework\Locale\CurrencyInterface',
|
||||
'Magento\Framework\Locale\Currency::DEFAULT_CURRENCY',
|
||||
],
|
||||
[
|
||||
'DEFAULT_LOCALE',
|
||||
'Magento\Framework\Locale\ResolverInterface',
|
||||
'Magento\Framework\Locale\Resolver::DEFAULT_LOCALE',
|
||||
],
|
||||
[
|
||||
'DEFAULT_GROUP',
|
||||
'Magento\Framework\Message\ManagerInterface',
|
||||
'Magento\Framework\Message\Manager::DEFAULT_GROUP',
|
||||
],
|
||||
['CURRENT_CUSTOMER', 'Magento\Customer\Controller\RegistryConstants'],
|
||||
['METHOD_WPS', 'Magento\Paypal\Model\Config'],
|
||||
[
|
||||
'XML_PATH_MINIFICATION_ENABLED',
|
||||
'Magento\Framework\View\Asset\Config',
|
||||
'Magento\Framework\View\Asset\Minification::XML_PATH_MINIFICATION_ENABLED'
|
||||
],
|
||||
['XML_PATH_MINIFICATION_ADAPTER', 'Magento\Framework\View\Asset\Config'],
|
||||
['ERROR_INVALID_PRICE_CORRECTION', 'Magento\ConfigurableImportExport\Model\Import\Product\Type\Configurable'],
|
||||
['EXCEPTION_CODE_NOT_SALABLE', 'Magento\Wishlist\Model\Item'],
|
||||
['EXCEPTION_CODE_HAS_REQUIRED_OPTIONS', 'Magento\Wishlist\Model\Item'],
|
||||
[
|
||||
'CONFIG_PATH_DEFINITION_FORMAT',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants',
|
||||
'Magento\Framework\App\ObjectManagerFactory::CONFIG_PATH_DEFINITION_FORMAT'
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_INSTALL_DATE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_INSTALL_DATE',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_CRYPT_KEY',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_CRYPT_KEY',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_SESSION_SAVE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_SESSION_SAVE',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_DEFINITION_FORMAT',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_DEFINITION_FORMAT',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_RESOURCE_DEFAULT_SETUP',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_RESOURCE_DEFAULT_SETUP',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_DB_CONNECTION_DEFAULT',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_DB_CONNECTION_DEFAULT',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_DB_CONNECTIONS',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_DB_CONNECTIONS',
|
||||
],
|
||||
[
|
||||
'CONFIG_PATH_DB_PREFIX',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::CONFIG_PATH_DB_PREFIX',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_ENCRYPTION_KEY',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_ENCRYPTION_KEY',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_SESSION_SAVE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_SESSION_SAVE',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DEFINITION_FORMAT',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DEFINITION_FORMAT',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_HOST',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_HOST',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_NAME',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_NAME',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_USER',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_USER',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_PASSWORD',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_PASSWORD',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_PREFIX',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_PREFIX',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_MODEL',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_MODEL',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_INIT_STATEMENTS',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_INIT_STATEMENTS',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_DB_ENGINE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_DB_ENGINE',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_RESOURCE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_RESOURCE',
|
||||
],
|
||||
[
|
||||
'INPUT_KEY_SKIP_DB_VALIDATION',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::INPUT_KEY_SKIP_DB_VALIDATION',
|
||||
],
|
||||
[
|
||||
'SESSION_SAVE_FILES',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::SESSION_SAVE_FILES',
|
||||
],
|
||||
[
|
||||
'SESSION_SAVE_DB',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::SESSION_SAVE_DB'
|
||||
],
|
||||
[
|
||||
'KEY_SAVE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_SAVE'
|
||||
],
|
||||
[
|
||||
'KEY_HOST',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_HOST'
|
||||
],
|
||||
[
|
||||
'KEY_NAME',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_NAME'
|
||||
],
|
||||
[
|
||||
'KEY_USER',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_USER'
|
||||
],
|
||||
[
|
||||
'KEY_PASSWORD',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_PASSWORD'
|
||||
],
|
||||
[
|
||||
'KEY_ENGINE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_ENGINE'
|
||||
],
|
||||
[
|
||||
'KEY_PREFIX',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_PREFIX'
|
||||
],
|
||||
[
|
||||
'KEY_MODEL',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_MODEL'
|
||||
],
|
||||
[
|
||||
'KEY_INIT_STATEMENTS',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_INIT_STATEMENTS',
|
||||
],
|
||||
[
|
||||
'KEY_ACTIVE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_ACTIVE'
|
||||
],
|
||||
['KEY_DB', 'Magento\Setup\Model\ConfigOptionsList', 'Magento\Framework\Config\ConfigOptionsListConstants::KEY_DB'],
|
||||
[
|
||||
'KEY_ENCRYPTION_KEY',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_ENCRYPTION_KEY',
|
||||
],
|
||||
[
|
||||
'KEY_RESOURCE',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_RESOURCE'
|
||||
],
|
||||
[
|
||||
'KEY_MODULES',
|
||||
'Magento\Setup\Model\ConfigOptionsList',
|
||||
'Magento\Framework\Config\ConfigOptionsListConstants::KEY_MODULES'
|
||||
],
|
||||
[
|
||||
'SAMPLE_FILES_DIRECTORY',
|
||||
'Magento\ImportExport\Controller\Adminhtml\Import\Download',
|
||||
'Magento\ImportExport\Controller\Adminhtml\Import\Download::SAMPLE_FILES_MODULE'
|
||||
],
|
||||
[
|
||||
'MODULES',
|
||||
'Magento\Framework\App\Filesystem\DirectoryList'
|
||||
],
|
||||
[
|
||||
'LOCALE',
|
||||
'Magento\Framework\App\Filesystem\DirectoryList'
|
||||
],
|
||||
[
|
||||
'THEMES',
|
||||
'Magento\Framework\App\Filesystem\DirectoryList'
|
||||
],
|
||||
[
|
||||
'DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR',
|
||||
'Magento\CatalogImportExport\Model\Import\Product',
|
||||
'Magento\ImportExport\Model\Import::DEFAULT_GLOBAL_MULTI_VALUE_SEPARATOR'
|
||||
],
|
||||
['TAB_GENERAL_CODE', 'Magento\Eav\Model\ResourceModel\Entity\Attribute\Group'],
|
||||
['TAB_IMAGE_MANAGEMENT_CODE', 'Magento\Eav\Model\ResourceModel\Entity\Attribute\Group'],
|
||||
[
|
||||
'CALLBACK',
|
||||
'Magento\Framework\MessageQueue\ConsumerConfiguration'
|
||||
],
|
||||
];
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,212 @@
|
||||
<?php
|
||||
/**
|
||||
* Obsolete namespaces
|
||||
*
|
||||
* Format: array(<namespace>[, <replacement>])
|
||||
*
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
return [
|
||||
['Magento\App', 'Magento\Framework\App'],
|
||||
['Magento\Data', 'Magento\Framework\Data'],
|
||||
['Magento\Filesystem', 'Magento\Framework\Filesystem'],
|
||||
['Magento\Model', 'Magento\Framework\Model'],
|
||||
['Magento\View', 'Magento\Framework\View'],
|
||||
['Magento\DB', 'Magento\Framework\DB'],
|
||||
['Magento\Event', 'Magento\Framework\Event'],
|
||||
['Magento\Acl', 'Magento\Framework\Acl'],
|
||||
['Magento\Archive', 'Magento\Framework\Archive'],
|
||||
['Magento\Session', 'Magento\Framework\Session'],
|
||||
['Magento\Cache', 'Magento\Framework\Cache'],
|
||||
['Magento\ObjectManager', 'Magento\Framework\ObjectManager'],
|
||||
['Magento\Exception', 'Magento\Framework\Exception\LocalizedException'],
|
||||
['Magento\Autoload', 'Magento\Framework\Autoload'],
|
||||
['Magento\Translate', 'Magento\Framework\Translate'],
|
||||
['Magento\Code', 'Magento\Framework\Code'],
|
||||
['Magento\Stdlib', 'Magento\Framework\Stdlib'],
|
||||
['Magento\Phrase', 'Magento\Framework\Phrase'],
|
||||
['Magento\Locale', 'Magento\Framework\Locale'],
|
||||
['Magento\Message', 'Magento\Framework\Message'],
|
||||
['Magento\Logger', 'Psr\Log\LoggerInterface'],
|
||||
['Magento\Error', 'Magento\Framework\Error'],
|
||||
['Magento\Filter', 'Magento\Framework\Filter'],
|
||||
['Magento\DomDocument', 'Magento\Framework\DomDocument'],
|
||||
['Magento\Module', 'Magento\Framework\Module'],
|
||||
['Magento\Css', 'Magento\Framework\Css'],
|
||||
['Magento\Pear', 'Magento\Framework\Pear'],
|
||||
['Magento\Pricing', 'Magento\Framework\Pricing'],
|
||||
['Magento\Profiler', 'Magento\Framework\Profiler'],
|
||||
['Magento\Simplexml', 'Magento\Framework\Simplexml'],
|
||||
['Magento\Controller', 'Magento\Framework\Controller'],
|
||||
['Magento\Convert', 'Magento\Framework\Convert'],
|
||||
['Magento\Shell', 'Magento\Framework\Shell'],
|
||||
['Magento\Encryption', 'Magento\Framework\Encryption'],
|
||||
['Magento\Option', 'Magento\Framework\Option'],
|
||||
['Magento\Service', 'Magento\Framework\Api'],
|
||||
['Magento\System', 'Magento\Framework\System'],
|
||||
['Magento\Url', 'Magento\Framework\Url'],
|
||||
['Magento\Mview', 'Magento\Framework\Mview'],
|
||||
['Magento\Validator', 'Magento\Framework\Validator'],
|
||||
['Magento\Xml', 'Magento\Framework\Xml'],
|
||||
['Magento\Interception', 'Magento\Framework\Interception'],
|
||||
['Magento\Json', 'Magento\Framework\Json'],
|
||||
['Magento\Less', 'Magento\Framework\Less'],
|
||||
['Magento\File', 'Magento\Framework\File'],
|
||||
['Magento\Flag', 'Magento\Framework\Flag'],
|
||||
['Magento\Io', 'Magento\Framework\Io'],
|
||||
['Magento\Mail', 'Magento\Framework\Mail'],
|
||||
['Magento\HTTP', 'Magento\Framework\HTTP'],
|
||||
['Magento\Math', 'Magento\Framework\Math'],
|
||||
['Magento\Framework\Code\Generator\CodeGenerator', 'Magento\Framework\Code\Generator'],
|
||||
['Magento\Gdata', 'Magento\Framework\Gdata'],
|
||||
['Magento\Image', 'Magento\Framework\Image'],
|
||||
['Magento\Oauth', 'Magento\Framework\Oauth'],
|
||||
['Magento\Object', 'Magento\Framework\DataObject'],
|
||||
['Magento\Connect'],
|
||||
['Magento\Framework\Connect'],
|
||||
['Magento\Bundle\Service'],
|
||||
['Magento\Tax\Service'],
|
||||
['Magento\RecurringPayment'],
|
||||
['Magento\PayPalRecurringPayment'],
|
||||
['Magento\ConfigurableProduct\Service'],
|
||||
['Magento\Core\Model\Resource\Variable', 'Magento\Variable\Model\ResourceModel\Variable'],
|
||||
['Magento\Core\Model\TemplateEngine\Decorator', 'Magento\Developer\Model\TemplateEngine\Decorator'],
|
||||
['Magento\Core\Model\Resource\Config', 'Magento\Config\Model\ResourceModel\Config'],
|
||||
['Magento\Backend\Block\System\Config', 'Magento\Config\Block\System\Config'],
|
||||
['Magento\Backend\Controller\Adminhtml\System\Config', 'Magento\Config\Controller\Adminhtml\System\Config'],
|
||||
['Magento\Core\Model\Variable', 'Magento\Variable\Model\Variable'],
|
||||
['Magento\Catalog\Service'],
|
||||
['Magento\CheckoutAgreements\Service'],
|
||||
['Magento\Checkout\Service'],
|
||||
['Magento\GiftMessage\Service'],
|
||||
['Magento\Backend\Controller\Adminhtml\System\Variable', 'Magento\Variable\Controller\Adminhtml\System\Variable'],
|
||||
['Magento\Framework\Test\Utility', 'Magento\Framework\App\Utility'],
|
||||
['Magento\GoogleShopping'],
|
||||
['Magento\Paypal\Block\Standard'],
|
||||
['Magento\Paypal\Controller\Standard'],
|
||||
['Magento\Framework\View\Asset\ModuleNotation'],
|
||||
['Magento\Framework\Object', 'Magento\Framework\DataObject'],
|
||||
['Magento\DesignEditor'],
|
||||
['Magento\Variable\Model\Resource', 'Magento\Variable\Model\ResourceModel'],
|
||||
['Magento\AdminNotification\Model\Resource', 'Magento\AdminNotification\Model\ResourceModel'],
|
||||
['Magento\Authorization\Model\Resource', 'Magento\Authorization\Model\ResourceModel'],
|
||||
['Magento\Authorizenet\Model\Resource', 'Magento\Authorizenet\Model\ResourceModel'],
|
||||
['Magento\Backend\Model\Resource', 'Magento\Backend\Model\ResourceModel'],
|
||||
['Magento\Backup\Model\Resource', 'Magento\Backup\Model\ResourceModel'],
|
||||
['Magento\Bundle\Model\Resource', 'Magento\Bundle\Model\ResourceModel'],
|
||||
['Magento\Captcha\Model\Resource', 'Magento\Captcha\Model\ResourceModel'],
|
||||
['Magento\CatalogInventory\Model\Resource', 'Magento\CatalogInventory\Model\ResourceModel'],
|
||||
['Magento\Catalog\Model\Resource', 'Magento\Catalog\Model\ResourceModel'],
|
||||
['Magento\CatalogRule\Model\Resource', 'Magento\CatalogRule\Model\ResourceModel'],
|
||||
['Magento\CatalogSearch\Model\Resource', 'Magento\CatalogSearch\Model\ResourceModel'],
|
||||
['Magento\CatalogUrlRewrite\Model\Resource', 'Magento\CatalogUrlRewrite\Model\ResourceModel'],
|
||||
['Magento\CheckoutAgreements\Model\Resource', 'Magento\CheckoutAgreements\Model\ResourceModel'],
|
||||
['Magento\Checkout\Model\Resource', 'Magento\Checkout\Model\ResourceModel'],
|
||||
['Magento\Cms\Model\Resource', 'Magento\Cms\Model\ResourceModel'],
|
||||
['Magento\Config\Model\Resource', 'Magento\Config\Model\ResourceModel'],
|
||||
['Magento\ConfigurableProduct\Model\Resource', 'Magento\ConfigurableProduct\Model\ResourceModel'],
|
||||
['Magento\Cron\Model\Resource', 'Magento\Cron\Model\ResourceModel'],
|
||||
['Magento\CustomerImportExport\Model\Resource', 'Magento\CustomerImportExport\Model\ResourceModel'],
|
||||
['Magento\Customer\Model\Resource', 'Magento\Customer\Model\ResourceModel'],
|
||||
['Magento\Directory\Model\Resource', 'Magento\Directory\Model\ResourceModel'],
|
||||
['Magento\Downloadable\Model\Resource', 'Magento\Downloadable\Model\ResourceModel'],
|
||||
['Magento\Eav\Model\Resource', 'Magento\Eav\Model\ResourceModel'],
|
||||
['Magento\Email\Model\Resource', 'Magento\Email\Model\ResourceModel'],
|
||||
['Magento\EncryptionKey\Model\Resource', 'Magento\EncryptionKey\Model\ResourceModel'],
|
||||
['Magento\GiftMessage\Model\Resource', 'Magento\GiftMessage\Model\ResourceModel'],
|
||||
['Magento\GoogleOptimizer\Model\Resource', 'Magento\GoogleOptimizer\Model\ResourceModel'],
|
||||
['Magento\GroupedProduct\Model\Resource', 'Magento\GroupedProduct\Model\ResourceModel'],
|
||||
['Magento\ImportExport\Model\Resource', 'Magento\ImportExport\Model\ResourceModel'],
|
||||
['Magento\Indexer\Model\Resource', 'Magento\Indexer\Model\ResourceModel'],
|
||||
['Magento\Integration\Model\Resource', 'Magento\Integration\Model\ResourceModel'],
|
||||
['Magento\MediaStorage\Model\Resource', 'Magento\MediaStorage\Model\ResourceModel'],
|
||||
['Magento\NewRelicReporting\Model\Resource', 'Magento\NewRelicReporting\Model\ResourceModel'],
|
||||
['Magento\Newsletter\Model\Resource', 'Magento\Newsletter\Model\ResourceModel'],
|
||||
['Magento\OfflineShipping\Model\Resource', 'Magento\OfflineShipping\Model\ResourceModel'],
|
||||
['Magento\Payment\Model\Resource', 'Magento\Payment\Model\ResourceModel'],
|
||||
['Magento\Paypal\Model\Resource', 'Magento\Paypal\Model\ResourceModel'],
|
||||
['Magento\Persistent\Model\Resource', 'Magento\Persistent\Model\ResourceModel'],
|
||||
['Magento\ProductAlert\Model\Resource', 'Magento\ProductAlert\Model\ResourceModel'],
|
||||
['Magento\Quote\Model\Resource', 'Magento\Quote\Model\ResourceModel'],
|
||||
['Magento\Reports\Model\Resource', 'Magento\Reports\Model\ResourceModel'],
|
||||
['Magento\Review\Model\Resource', 'Magento\Review\Model\ResourceModel'],
|
||||
['Magento\Rule\Model\Resource', 'Magento\Rule\Model\ResourceModel'],
|
||||
['Magento\Sales\Model\Resource', 'Magento\Sales\Model\ResourceModel'],
|
||||
['Magento\SalesRule\Model\Resource', 'Magento\SalesRule\Model\ResourceModel'],
|
||||
['Magento\SalesSequence\Model\Resource', 'Magento\SalesSequence\Model\ResourceModel'],
|
||||
['Magento\Search\Model\Resource', 'Magento\Search\Model\ResourceModel'],
|
||||
['Magento\SendFriend\Model\Resource', 'Magento\SendFriend\Model\ResourceModel'],
|
||||
['Magento\Shipping\Model\Resource', 'Magento\Shipping\Model\ResourceModel'],
|
||||
['Magento\Sitemap\Model\Resource', 'Magento\Sitemap\Model\ResourceModel'],
|
||||
['Magento\Store\Model\Resource', 'Magento\Store\Model\ResourceModel'],
|
||||
['Magento\Swatches\Model\Resource', 'Magento\Swatches\Model\ResourceModel'],
|
||||
['Magento\Tax\Model\Resource', 'Magento\Tax\Model\ResourceModel'],
|
||||
['Magento\Theme\Model\Resource', 'Magento\Theme\Model\ResourceModel'],
|
||||
['Magento\Translation\Model\Resource', 'Magento\Translation\Model\ResourceModel'],
|
||||
['Magento\Ui\Model\Resource', 'Magento\Ui\Model\ResourceModel'],
|
||||
['Magento\UrlRewrite\Model\Resource', 'Magento\UrlRewrite\Model\ResourceModel'],
|
||||
['Magento\User\Model\Resource', 'Magento\User\Model\ResourceModel'],
|
||||
['Magento\CatalogSearch\Test\Unit\Model\Resource', 'Magento\CatalogSearch\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Catalog\Test\Unit\Model\Resource', 'Magento\Catalog\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Cms\Test\Unit\Model\Resource', 'Magento\Cms\Test\Unit\Model\ResourceModel'],
|
||||
[
|
||||
'Magento\ConfigurableProduct\Test\Unit\Model\Resource',
|
||||
'Magento\ConfigurableProduct\Test\Unit\Model\ResourceModel'
|
||||
],
|
||||
[
|
||||
'Magento\CustomerImportExport\Test\Unit\Model\Resource',
|
||||
'Magento\CustomerImportExport\Test\Unit\Model\ResourceModel'
|
||||
],
|
||||
['Magento\Customer\Test\Unit\Model\Resource', 'Magento\Customer\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Directory\Test\Unit\Model\Resource', 'Magento\Directory\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Eav\Test\Unit\Model\Resource', 'Magento\Eav\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\EncryptionKey\Test\Unit\Model\Resource', 'Magento\EncryptionKey\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\ImportExport\Test\Unit\Model\Resource', 'Magento\ImportExport\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Indexer\Test\Unit\Model\Resource', 'Magento\Indexer\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Integration\Test\Unit\Model\Resource', 'Magento\Integration\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\MediaStorage\Test\Unit\Model\Resource', 'Magento\MediaStorage\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Payment\Test\Unit\Model\Resource', 'Magento\Payment\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Quote\Test\Unit\Model\Resource', 'Magento\Quote\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Reports\Test\Unit\Model\Resource', 'Magento\Reports\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Review\Test\Unit\Model\Resource', 'Magento\Review\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Rule\Test\Unit\Model\Resource', 'Magento\Rule\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\SalesRule\Test\Unit\Model\Resource', 'Magento\SalesRule\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\SalesSequence\Test\Unit\Model\Resource', 'Magento\SalesSequence\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Sales\Test\Unit\Model\Resource', 'Magento\Sales\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Search\Test\Unit\Model\Resource', 'Magento\Search\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Tax\Test\Unit\Model\Resource', 'Magento\Tax\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Ui\Test\Unit\Model\Resource', 'Magento\Ui\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\UrlRewrite\Test\Unit\Model\Resource', 'Magento\UrlRewrite\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\User\Test\Unit\Model\Resource', 'Magento\User\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Weee\Model\Resource', 'Magento\Weee\Model\ResourceModel'],
|
||||
['Magento\Weee\Test\Unit\Model\Resource', 'Magento\Weee\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Widget\Model\Resource', 'Magento\Widget\Model\ResourceModel'],
|
||||
['Magento\Widget\Test\Unit\Model\Resource', 'Magento\Widget\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Wishlist\Model\Resource', 'Magento\Wishlist\Model\ResourceModel'],
|
||||
['Magento\Wishlist\Test\Unit\Model\Resource', 'Magento\Wishlist\Test\Unit\Model\ResourceModel'],
|
||||
['Magento\Catalog\Plugin\Model\Resource', 'Magento\Catalog\Plugin\Model\ResourceModel'],
|
||||
['Magento\Catalog\Test\Unit\Plugin\Model\Resource', 'Magento\Catalog\Test\Unit\Plugin\Model\ResourceModel'],
|
||||
['Magento\Framework\Acl\Resource', 'Magento\Framework\Acl\AclResource'],
|
||||
['Magento\Framework\App\Resource', 'Magento\Framework\App\ResourceConnection'],
|
||||
['Magento\Framework\Model\Resource', 'Magento\Framework\Model\ResourceModel'],
|
||||
['Magento\Framework\Model\ModelResource', 'Magento\Framework\Model\ResourceModel'],
|
||||
['Magento\Framework\Model\Test\Unit\Resource', 'Magento\Framework\Model\Test\Unit\ResourceModel'],
|
||||
['Magento\Framework\Model\Test\Unit\ModelResource', 'Magento\Framework\Model\Test\Unit\ResourceModel'],
|
||||
[
|
||||
'Magento\ConfigurableProduct\Block\Adminhtml\Product\Edit\Tab\Super',
|
||||
'Magento\ConfigurableProduct\Block\Adminhtml\Product\Edit\Tab\Variations',
|
||||
],
|
||||
['Magento\BraintreeTwo', 'Magento\Braintree'],
|
||||
['Magento\MysqlMq\Model\Resource', 'Magento\MysqlMq\Model\ResourceModel'],
|
||||
['Magento\BulkOperations', 'Magento\AsynchronousOperations'],
|
||||
['Zend', 'Laminas'],
|
||||
['Magento\Signifyd'],
|
||||
['Magento\Authorizenet'],
|
||||
['Magento\AuthorizenetAcceptjs'],
|
||||
['Magento\AuthorizenetCardinal'],
|
||||
['Magento\AuthorizenetGraphQl'],
|
||||
['Magento\Braintree'],
|
||||
['Magento\BraintreeGraphQl'],
|
||||
['Magento\Setup\Model\Cron'],
|
||||
];
|
||||
@@ -0,0 +1,264 @@
|
||||
<?php
|
||||
/**
|
||||
* Obsolete pathes
|
||||
*
|
||||
* Format: array(<path>[, <replacement>])
|
||||
*
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
return [
|
||||
['/app/code/core/Mage', '/app/code/Magento'],
|
||||
['/lib/Magento/App', '/lib/Magento/Framework/App'],
|
||||
['/dev/tests/integration/testsuite/Magento/App', '/dev/tests/integration/testsuite/Magento/Framework/App'],
|
||||
['/dev/tests/unit/testsuite/Magento/App', '/dev/tests/unit/testsuite/Magento/Framework/App'],
|
||||
['/lib/Magento/Data', '/lib/Magento/Framework/Data'],
|
||||
['/dev/tests/integration/testsuite/Magento/Data', '/dev/tests/integration/testsuite/Magento/Framework/Data'],
|
||||
['/dev/tests/unit/testsuite/Magento/Data', '/dev/tests/unit/testsuite/Magento/Framework/Data'],
|
||||
['/lib/Magento/Filesystem', '/lib/Magento/Framework/Filesystem'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Filesystem',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Filesystem'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Filesystem', '/dev/tests/unit/testsuite/Magento/Framework/Filesystem'],
|
||||
['/lib/Magento/Config', '/lib/Magento/Framework/Config'],
|
||||
['/lib/Magento/Model', '/lib/Magento/Framework/Model'],
|
||||
['/dev/tests/integration/testsuite/Magento/Model', '/dev/tests/integration/testsuite/Magento/Framework/Model'],
|
||||
['/dev/tests/unit/testsuite/Magento/Model', '/dev/tests/unit/testsuite/Magento/Framework/Model'],
|
||||
['/lib/Magento/View', '/lib/Magento/Framework/View'],
|
||||
['/dev/tests/integration/testsuite/Magento/View', '/dev/tests/integration/testsuite/Magento/Framework/View'],
|
||||
['/dev/tests/unit/testsuite/Magento/View', '/dev/tests/unit/testsuite/Magento/Framework/View'],
|
||||
['/lib/Magento/DB', '/lib/Magento/Framework/DB'],
|
||||
['/dev/tests/integration/testsuite/Magento/DB', '/dev/tests/integration/testsuite/Magento/Framework/DB'],
|
||||
['/dev/tests/unit/testsuite/Magento/DB', '/dev/tests/unit/testsuite/Magento/Framework/DB'],
|
||||
['/lib/Magento/Event', '/lib/Magento/Framework/Event'],
|
||||
['/dev/tests/integration/testsuite/Magento/Event', '/dev/tests/integration/testsuite/Magento/Framework/Event'],
|
||||
['/dev/tests/unit/testsuite/Magento/Event', '/dev/tests/unit/testsuite/Magento/Framework/Event'],
|
||||
['/lib/Magento/Acl', '/lib/Magento/Framework/Acl'],
|
||||
['/dev/tests/integration/testsuite/Magento/Acl', '/dev/tests/integration/testsuite/Magento/Framework/Acl'],
|
||||
['/dev/tests/unit/testsuite/Magento/Acl', '/dev/tests/unit/testsuite/Magento/Framework/Acl'],
|
||||
['/lib/Magento/Archive', '/lib/Magento/Framework/Archive'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Archive',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Archive'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Archive', '/dev/tests/unit/testsuite/Magento/Framework/Archive'],
|
||||
['/lib/Magento/Backup', '/lib/Magento/Framework/Backup'],
|
||||
['/lib/Magento/Session', '/lib/Magento/Framework/Session'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Session',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Session'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Session', '/dev/tests/unit/testsuite/Magento/Framework/Session'],
|
||||
['/lib/Magento/Authorization', '/lib/Magento/Framework/Authorization'],
|
||||
['/lib/Magento/Cache', '/lib/Magento/Framework/Cache'],
|
||||
['/dev/tests/integration/testsuite/Magento/Cache', '/dev/tests/integration/testsuite/Magento/Framework/Cache'],
|
||||
['/dev/tests/unit/testsuite/Magento/Cache', '/dev/tests/unit/testsuite/Magento/Framework/Cache'],
|
||||
['/lib/Magento/ObjectManager', '/lib/Magento/Framework/ObjectManager'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/ObjectManager',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/ObjectManager'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/ObjectManager', '/dev/tests/unit/testsuite/Magento/Framework/ObjectManager'],
|
||||
['/lib/Magento/Exception', '/lib/Magento/Framework/Exception'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Exception',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Exception'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Exception', '/dev/tests/unit/testsuite/Magento/Framework/Exception'],
|
||||
['/lib/Magento/Autoload', '/lib/Magento/Framework/Autoload'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Autoload',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Autoload'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Autoload', '/dev/tests/unit/testsuite/Magento/Framework/Autoload'],
|
||||
['/lib/Magento/Translate', '/lib/Magento/Framework/Translate'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Translate',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Translate'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Translate', '/dev/tests/unit/testsuite/Magento/Framework/Translate'],
|
||||
['/lib/Magento/Code', '/lib/Magento/Framework/Code'],
|
||||
['/dev/tests/integration/testsuite/Magento/Code', '/dev/tests/integration/testsuite/Magento/Framework/Code'],
|
||||
['/dev/tests/unit/testsuite/Magento/Code', '/dev/tests/unit/testsuite/Magento/Framework/Code'],
|
||||
['/lib/Magento/Stdlib', '/lib/Magento/Framework/Stdlib'],
|
||||
['/dev/tests/integration/testsuite/Magento/Stdlib', '/dev/tests/integration/testsuite/Magento/Framework/Stdlib'],
|
||||
['/dev/tests/unit/testsuite/Magento/Stdlib', '/dev/tests/unit/testsuite/Magento/Framework/Stdlib'],
|
||||
['/lib/Magento/Phrase', '/lib/Magento/Framework/Phrase'],
|
||||
['/dev/tests/integration/testsuite/Magento/Phrase', '/dev/tests/integration/testsuite/Magento/Framework/Phrase'],
|
||||
['/dev/tests/unit/testsuite/Magento/Phrase', '/dev/tests/unit/testsuite/Magento/Framework/Phrase'],
|
||||
['/lib/Magento/Locale', '/lib/Magento/Framework/Locale'],
|
||||
['/dev/tests/integration/testsuite/Magento/Locale', '/dev/tests/integration/testsuite/Magento/Framework/Locale'],
|
||||
['/dev/tests/unit/testsuite/Magento/Locale', '/dev/tests/unit/testsuite/Magento/Framework/Locale'],
|
||||
['/lib/Magento/Message', '/lib/Magento/Framework/Message'],
|
||||
['/dev/tests/integration/testsuite/Magento/Message', '/dev/tests/integration/testsuite/Magento/Framework/Message'],
|
||||
['/dev/tests/unit/testsuite/Magento/Message', '/dev/tests/unit/testsuite/Magento/Framework/Message'],
|
||||
['/lib/Magento/Logger', '/lib/Magento/Framework/Logger'],
|
||||
['/dev/tests/integration/testsuite/Magento/Logger', '/dev/tests/integration/testsuite/Magento/Framework/Logger'],
|
||||
['/dev/tests/unit/testsuite/Magento/Logger', '/dev/tests/unit/testsuite/Magento/Framework/Logger'],
|
||||
['/lib/Magento/Error', '/lib/Magento/Framework/Error'],
|
||||
['/dev/tests/integration/testsuite/Magento/Error', '/dev/tests/integration/testsuite/Magento/Framework/Error'],
|
||||
['/dev/tests/unit/testsuite/Magento/Error', '/dev/tests/unit/testsuite/Magento/Framework/Error'],
|
||||
['/lib/Magento/Filter', '/lib/Magento/Framework/Filter'],
|
||||
['/dev/tests/integration/testsuite/Magento/Filter', '/dev/tests/integration/testsuite/Magento/Framework/Filter'],
|
||||
['/dev/tests/unit/testsuite/Magento/Filter', '/dev/tests/unit/testsuite/Magento/Framework/Filter'],
|
||||
['/lib/Magento/DomDocument', '/lib/Magento/Framework/DomDocument'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/DomDocument',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/DomDocument'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/DomDocument', '/dev/tests/unit/testsuite/Magento/Framework/DomDocument'],
|
||||
['/lib/Magento/Module', '/lib/Magento/Framework/Module'],
|
||||
['/dev/tests/integration/testsuite/Magento/Module', '/dev/tests/integration/testsuite/Magento/Framework/Module'],
|
||||
['/dev/tests/unit/testsuite/Magento/Module', '/dev/tests/unit/testsuite/Magento/Framework/Module'],
|
||||
['/lib/Magento/Css', '/lib/Magento/Framework/Css'],
|
||||
['/dev/tests/integration/testsuite/Magento/Css', '/dev/tests/integration/testsuite/Magento/Framework/Css'],
|
||||
['/dev/tests/unit/testsuite/Magento/Css', '/dev/tests/unit/testsuite/Magento/Framework/Css'],
|
||||
['/lib/Magento/Pear', '/lib/Magento/Framework/Pear'],
|
||||
['/dev/tests/integration/testsuite/Magento/Pear', '/dev/tests/integration/testsuite/Magento/Framework/Pear'],
|
||||
['/dev/tests/unit/testsuite/Magento/Pear', '/dev/tests/unit/testsuite/Magento/Framework/Pear'],
|
||||
['/lib/Magento/Pricing', '/lib/Magento/Framework/Pricing'],
|
||||
['/dev/tests/integration/testsuite/Magento/Pricing', '/dev/tests/integration/testsuite/Magento/Framework/Pricing'],
|
||||
['/dev/tests/unit/testsuite/Magento/Pricing', '/dev/tests/unit/testsuite/Magento/Framework/Pricing'],
|
||||
['/lib/Magento/Connect'],
|
||||
['/lib/Magento/Framework/Connect'],
|
||||
['/lib/internal/Magento/Framework/Connect'],
|
||||
['/lib/Magento/Profiler', '/lib/Magento/Framework/Profiler'],
|
||||
['/dev/tests/unit/testsuite/Magento/Profiler', '/dev/tests/unit/testsuite/Magento/Framework/Profiler'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Profiler',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Profiler'
|
||||
],
|
||||
['/lib/Magento/Simplexml', '/lib/Magento/Framework/Simplexml'],
|
||||
['/dev/tests/unit/testsuite/Magento/Simplexml', '/dev/tests/unit/testsuite/Magento/Framework/Simplexml'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Simplexml',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Simplexml'
|
||||
],
|
||||
['/lib/Magento/Controller', '/lib/Magento/Framework/Controller'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Controller',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Controller'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Controller', '/dev/tests/unit/testsuite/Magento/Framework/Controller'],
|
||||
['/lib/Magento/Convert', '/lib/Magento/Framework/Convert'],
|
||||
['/dev/tests/integration/testsuite/Magento/Convert', '/dev/tests/integration/testsuite/Magento/Framework/Convert'],
|
||||
['/dev/tests/unit/testsuite/Magento/Convert', '/dev/tests/unit/testsuite/Magento/Framework/Convert'],
|
||||
['/lib/Magento/Shell', '/lib/Magento/Framework/Shell'],
|
||||
['/dev/tests/unit/testsuite/Magento/Shell', '/dev/tests/unit/testsuite/Magento/Framework/Shell'],
|
||||
['/dev/tests/integration/testsuite/Magento/Shell', '/dev/tests/integration/testsuite/Magento/Framework/Shell'],
|
||||
['/lib/Magento/Encryption', '/lib/Magento/Framework/Encryption'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Encryption',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Encryption'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Encryption', '/dev/tests/unit/testsuite/Magento/Framework/Encryption'],
|
||||
['/lib/Magento/Option', '/lib/Magento/Framework/Option'],
|
||||
['/dev/tests/unit/testsuite/Magento/Option', '/dev/tests/unit/testsuite/Magento/Framework/Option'],
|
||||
['/dev/tests/integration/testsuite/Magento/Option', '/dev/tests/integration/testsuite/Magento/Framework/Option'],
|
||||
['/lib/Magento/Service', '/lib/Magento/Framework/Api'],
|
||||
['/dev/tests/unit/testsuite/Magento/Service', '/dev/tests/unit/testsuite/Magento/Framework/Api'],
|
||||
['/dev/tests/integration/testsuite/Magento/Service', '/dev/tests/integration/testsuite/Magento/Framework/Api'],
|
||||
['/lib/Magento/System', '/lib/Magento/Framework/System'],
|
||||
['/dev/tests/unit/testsuite/Magento/System', '/dev/tests/unit/testsuite/Magento/Framework/System'],
|
||||
['/dev/tests/integration/testsuite/Magento/System', '/dev/tests/integration/testsuite/Magento/Framework/System'],
|
||||
['/lib/Magento/Url', '/lib/Magento/Framework/Url'],
|
||||
['/dev/tests/unit/testsuite/Magento/Url', '/dev/tests/unit/testsuite/Magento/Framework/Url'],
|
||||
['/dev/tests/integration/testsuite/Magento/Url', '/dev/tests/integration/testsuite/Magento/Framework/Url'],
|
||||
['/lib/Magento/Mview', '/lib/Magento/Framework/Mview'],
|
||||
['/dev/tests/unit/testsuite/Magento/Mview', '/dev/tests/unit/testsuite/Magento/Framework/Mview'],
|
||||
['/dev/tests/integration/testsuite/Magento/Mview', '/dev/tests/integration/testsuite/Magento/Framework/Mview'],
|
||||
['/lib/Magento/Validator', '/lib/Magento/Framework/Validator'],
|
||||
['/dev/tests/unit/testsuite/Magento/Validator', '/dev/tests/unit/testsuite/Magento/Framework/Validator'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Validator',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Validator'
|
||||
],
|
||||
['/lib/Magento/Xml', '/lib/Magento/Framework/Xml'],
|
||||
['/dev/tests/unit/testsuite/Magento/Xml', '/dev/tests/unit/testsuite/Magento/Framework/Xml'],
|
||||
['/dev/tests/integration/testsuite/Magento/Xml', '/dev/tests/integration/testsuite/Magento/Framework/Xml'],
|
||||
['/lib/Magento/Interception', '/lib/Magento/Framework/Interception'],
|
||||
['/dev/tests/unit/testsuite/Magento/Interception', '/dev/tests/unit/testsuite/Magento/Framework/Interception'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Interception',
|
||||
'/dev/tests/integration/testsuite/Magento/Framework/Interception'
|
||||
],
|
||||
['/lib/Magento/Json', '/lib/Magento/Framework/Json'],
|
||||
['/dev/tests/unit/testsuite/Magento/Json', '/dev/tests/unit/testsuite/Magento/Framework/Json'],
|
||||
['/dev/tests/integration/testsuite/Magento/Json', '/dev/tests/integration/testsuite/Magento/Framework/Json'],
|
||||
['/lib/Magento/Less', '/lib/Magento/Framework/Less'],
|
||||
['/dev/tests/unit/testsuite/Magento/Less', '/dev/tests/unit/testsuite/Magento/Framework/Less'],
|
||||
['/dev/tests/integration/testsuite/Magento/Less', '/dev/tests/integration/testsuite/Magento/Framework/Less'],
|
||||
['/lib/Magento/File', '/lib/Magento/Framework/File'],
|
||||
['/dev/tests/unit/testsuite/Magento/File', '/dev/tests/unit/testsuite/Magento/Framework/File'],
|
||||
['/dev/tests/integration/testsuite/Magento/File', '/dev/tests/integration/testsuite/Magento/Framework/File'],
|
||||
['/lib/Magento/Flag', '/lib/Magento/Framework/Flag'],
|
||||
['/dev/tests/unit/testsuite/Magento/Flag', '/dev/tests/unit/testsuite/Magento/Framework/Flag'],
|
||||
['/dev/tests/integration/testsuite/Magento/Flag', '/dev/tests/integration/testsuite/Magento/Framework/Flag'],
|
||||
['/lib/Magento/Io', '/lib/Magento/Framework/Io'],
|
||||
['/dev/tests/unit/testsuite/Magento/Io', '/dev/tests/unit/testsuite/Magento/Framework/Io'],
|
||||
['/dev/tests/integration/testsuite/Magento/Io', '/dev/tests/integration/testsuite/Magento/Framework/Io'],
|
||||
['/lib/Magento/Mail', '/lib/Magento/Framework/Mail'],
|
||||
['/dev/tests/unit/testsuite/Magento/Mail', '/dev/tests/unit/testsuite/Magento/Framework/Mail'],
|
||||
['/dev/tests/integration/testsuite/Magento/Mail', '/dev/tests/integration/testsuite/Magento/Framework/Mail'],
|
||||
['/lib/Magento/HTTP', '/lib/Magento/Framework/HTTP'],
|
||||
['/dev/tests/unit/testsuite/Magento/Http', '/dev/tests/unit/testsuite/Magento/Framework/HTTP'],
|
||||
['/dev/tests/integration/testsuite/Magento/HTTP', '/dev/tests/integration/testsuite/Magento/Framework/HTTP'],
|
||||
['/lib/Magento/Math', '/lib/Magento/Framework/Math'],
|
||||
['/dev/tests/unit/testsuite/Magento/Math', '/dev/tests/unit/testsuite/Magento/Framework/Math'],
|
||||
['/dev/tests/integration/testsuite/Magento/Math', '/dev/tests/integration/testsuite/Magento/Framework/Math'],
|
||||
['/lib/Magento/Gdata', '/lib/Magento/Framework/Gdata'],
|
||||
['/dev/tests/unit/testsuite/Magento/Gdata', '/dev/tests/unit/testsuite/Magento/Framework/Gdata'],
|
||||
['/dev/tests/integration/testsuite/Magento/Gdata', '/dev/tests/integration/testsuite/Magento/Framework/Gdata'],
|
||||
['/lib/Magento/Image', '/lib/Magento/Framework/Image'],
|
||||
['/dev/tests/unit/testsuite/Magento/Image', '/dev/tests/unit/testsuite/Magento/Framework/Image'],
|
||||
['/dev/tests/integration/testsuite/Magento/Image', '/dev/tests/integration/testsuite/Magento/Framework/Image'],
|
||||
['/lib/Magento/Oauth', '/lib/Magento/Framework/Oauth'],
|
||||
['/dev/tests/unit/testsuite/Magento/Oauth', '/dev/tests/unit/testsuite/Magento/Framework/Oauth'],
|
||||
['/dev/tests/integration/testsuite/Magento/Oauth', '/dev/tests/integration/testsuite/Magento/Framework/Oauth'],
|
||||
['/lib/Magento/Object', '/lib/Magento/Framework/Object'],
|
||||
['/dev/tests/unit/testsuite/Magento/Object', '/dev/tests/unit/testsuite/Magento/Framework/Object'],
|
||||
['/dev/tests/integration/testsuite/Magento/Object', '/dev/tests/integration/testsuite/Magento/Framework/Object'],
|
||||
['/dev/tests/unit/testsuite/Magento/Core/Model/View/Url', '/dev/tests/unit/testsuite/Magento/Framework/View/Url'],
|
||||
['/app/code/Magento/Core/Model/View/Url', '/lib/internal/Magento/Framework/View/Url'],
|
||||
['/downloader'],
|
||||
['/app/code/Magento/Core/Model/Design/Backend', '/app/code/Magento/Theme/Model/Design/Backend'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Core/Model/Design/Backend',
|
||||
'/dev/tests/integration/testsuite/Magento/Theme/Model/Design/Backend'
|
||||
],
|
||||
['/app/code/Magento/Core/Model/Resource/Theme', '/app/code/Magento/Theme/Model/Resource/Theme'],
|
||||
[
|
||||
'/dev/tests/integration/testsuite/Magento/Core/Model/Resource/Theme',
|
||||
'/dev/tests/integration/testsuite/Magento/Theme/Model/Resource/Theme'
|
||||
],
|
||||
['/dev/tests/unit/testsuite/Magento/Webapi/Service/Entity'],
|
||||
['/app/code/Magento/Install'],
|
||||
['/dev/tests/integration/testsuite/Magento/Install'],
|
||||
['/dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Install'],
|
||||
['/dev/tests/integration/testsuite/Magento/Test/Integrity/Modular/InstallWizardConfigFilesTest.php'],
|
||||
['/dev/tests/static/testsuite/Magento/Test/Legacy/Magento/Install'],
|
||||
['/dev/tests/unit/testsuite/Magento/Install'],
|
||||
['/dev/shell/install.php'],
|
||||
['/dev/shell/uninstall.php'],
|
||||
['/app/design/install'],
|
||||
['/app/etc/local.xml', '/app/etc/config.php'],
|
||||
['/app/code/Magento/RecurringPayment'],
|
||||
['/app/code/Magento/PayPalRecurringPayment'],
|
||||
['/app/code/Magento/Weee/Model/Total/Quote/Nominal/Weee.php'],
|
||||
['/app/code/Magento/Tax/Model/Sales/Total/Quote/Nominal/Subtotal.php'],
|
||||
['/app/code/Magento/Tax/Model/Sales/Total/Quote/Nominal/Tax.php'],
|
||||
['/app/code/Magento/SalesRule/Model/Quote/Nominal/Discount.php'],
|
||||
['/app/code/Magento/Sales/Model/Quote/Address/Total/Nominal.php'],
|
||||
['/app/code/Magento/Sales/Model/Quote/Address/Total/Nominal'],
|
||||
['/app/code/Magento/Checkout/Block/Total/Nominal.php'],
|
||||
['/app/code/Magento/Checkout/etc/sales.xml'],
|
||||
['/app/code/Magento/Core/Model/TemplateEngine/Decorator/DebugHints.php'],
|
||||
['/dev/tests/unit/testsuite/Magento/Core/Model/TemplateEngine/Decorator/DebugHints.php'],
|
||||
['/dev/tests/unit/testsuite'],
|
||||
['/app/code/Magento/Log'],
|
||||
['/app/code/Magento/DesignEditor'],
|
||||
['/dev/tools/Magento/Tools/Migration'],
|
||||
['/dev/shell/dependency.php'],
|
||||
['/dev/tests/performance'],
|
||||
];
|
||||
@@ -0,0 +1,421 @@
|
||||
<?php
|
||||
/**
|
||||
* Obsolete class attributes
|
||||
*
|
||||
* Format: array(<attribute_name>[, <class_scope> = ''[, <replacement>]])
|
||||
*
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
|
||||
return [
|
||||
['_addresses', 'Magento\Customer\Model\Customer'],
|
||||
['_addMinimalPrice', 'Magento\Catalog\Model\ResourceModel\Product\Collection'],
|
||||
['_alias', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_anonSuffix'],
|
||||
['_appMode', 'Magento\Framework\App\ObjectManager\ConfigLoader'],
|
||||
['_baseDirCache', 'Magento\Core\Model\Config'],
|
||||
['_cacheConf'],
|
||||
['_cachedItemPriceBlocks'],
|
||||
['_canUseLocalModules'],
|
||||
['_children', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_childrenHtmlCache', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_childGroups', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_combineHistory'],
|
||||
['_config', 'Magento\Core\Model\Design\Package'],
|
||||
['_config', 'Psr\Log\LoggerInterface', '_dirs'],
|
||||
['_config', 'Magento\Core\Model\Resource\Setup'],
|
||||
['_configModel', 'Magento\Backend\Model\Menu\AbstractDirector'],
|
||||
['_connectionConfig', 'Magento\Core\Model\Resource\Setup'],
|
||||
['_connectionTypes', 'Magento\Framework\App\ResourceConnection'],
|
||||
['_currencyNameTable'],
|
||||
['_customEtcDir', 'Magento\Core\Model\Config'],
|
||||
['_customerFactory ', '\Magento\Sales\Block\Adminhtml\Billing\Agreement\View\Tab\Info'],
|
||||
['_customerFactory ', '\Magento\Sales\Block\Adminhtml\Order\Create\Form\Account'],
|
||||
['_customerFormFactory', '\Magento\Sales\Block\Adminhtml\Order\Create\Form\Account'],
|
||||
['_defaultTemplates', 'Magento\Email\Model\Template'],
|
||||
['_designProductSettingsApplied'],
|
||||
['_directOutput', 'Magento\Framework\View\Layout'],
|
||||
['_dirs', 'Magento\Framework\App\ResourceConnection'],
|
||||
['_entityInvalidatedIndexes', 'Magento\ImportExport\Model\Import'],
|
||||
['_distroServerVars'],
|
||||
['_entityIdsToIncrementIds'],
|
||||
['entities', 'Magento\Framework\App\ResourceConnection'],
|
||||
['_entityTypeIdsToTypes'],
|
||||
['_factory', 'Magento\Backend\Model\Menu\Config'],
|
||||
['_factory', 'Magento\Backend\Model\Menu\AbstractDirector', '_commandFactory'],
|
||||
['_isAnonymous'],
|
||||
['_isFirstTimeProcessRun', 'Magento\SalesRule\Model\Validator'],
|
||||
['_isGoogleCheckoutLinkAdded', 'Magento\GoogleAnalytics\Model\Observer'],
|
||||
['_isRuntimeValidated', 'Magento\Framework\ObjectManager\Config\Reader\Dom'],
|
||||
['_itemPriceBlockTypes'],
|
||||
['_loadDefault', 'Magento\Store\Model\ResourceModel\Store\Collection'],
|
||||
['_loadDefault', 'Magento\Store\Model\ResourceModel\Group\Collection'],
|
||||
['_loadDefault', 'Magento\Store\Model\ResourceModel\Website\Collection'],
|
||||
['_mapper', 'Magento\Framework\ObjectManager\Config\Reader\Dom'],
|
||||
['_menu', 'Magento\Backend\Model\Menu\Builder'],
|
||||
['_modulesReader', 'Magento\Framework\App\ObjectManager\ConfigLoader'],
|
||||
['_moduleReader', 'Magento\Backend\Model\Menu\Config'],
|
||||
['_option', 'Magento\Captcha\Helper\Data', '_dirs'],
|
||||
['_options', 'Magento\Core\Model\Config', 'Magento\Framework\Filesystem'],
|
||||
['_optionsMapping', null, '\Magento\Framework\Filesystem::getDirectoryRead($nodeKey)->getAbsolutePath()'],
|
||||
['_order', 'Magento\Checkout\Block\Onepage\Success'],
|
||||
['_order_id'],
|
||||
['_parent', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_parentBlock', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_persistentCustomerGroupId'],
|
||||
['_queriesHooked', 'Magento\Core\Model\Resource\Setup'],
|
||||
['_quoteImporter', 'Magento\Paypal\Model\Express\Checkout'],
|
||||
['_ratingOptionTable', 'Magento\Review\Model\ResourceModel\Rating\Option\Collection'],
|
||||
['_readerFactory', 'Magento\Framework\App\ObjectManager\ConfigLoader'],
|
||||
['_resourceConfig', 'Magento\Core\Model\Resource\Setup'],
|
||||
['_saveTemplateFlag', 'Magento\Newsletter\Model\Queue'],
|
||||
['_searchTextFields'],
|
||||
['_setAttributes', 'Magento\Catalog\Model\Product\Type\AbstractType'],
|
||||
['_skipFieldsByModel'],
|
||||
['_ship_id'],
|
||||
['_shipTable', 'Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\Collection'],
|
||||
[
|
||||
'_showTemplateHints',
|
||||
'Magento\Framework\View\Element\Template',
|
||||
'Magento\Core\Model\TemplateEngine\Plugin\DebugHints'
|
||||
],
|
||||
[
|
||||
'_showTemplateHintsBlocks',
|
||||
'Magento\Framework\View\Element\Template',
|
||||
'Magento\Core\Model\TemplateEngine\Plugin\DebugHints'
|
||||
],
|
||||
['_sortedChildren'],
|
||||
['_sortInstructions'],
|
||||
['_storeFilter', 'Magento\Catalog\Model\Product\Type\AbstractType'],
|
||||
['_substServerVars'],
|
||||
['_track_id'],
|
||||
['_varSubFolders', null, 'Magento\Framework\Filesystem'],
|
||||
['_viewDir', 'Magento\Framework\View\Element\Template', '_dirs'],
|
||||
['decoratedIsFirst', null, 'getDecoratedIsFirst'],
|
||||
['decoratedIsEven', null, 'getDecoratedIsEven'],
|
||||
['decoratedIsOdd', null, 'getDecoratedIsOdd'],
|
||||
['decoratedIsLast', null, 'getDecoratedIsLast'],
|
||||
['static', 'Magento\Email\Model\Template\Filter'],
|
||||
['_addressForm', 'Magento\Sales\Block\Adminhtml\Order\Create\Form\Address'],
|
||||
['_adminhtmlAddresses', 'Magento\Sales\Block\Adminhtml\Order\Create\Form\Address'],
|
||||
['_useAnalyticFunction'],
|
||||
['_defaultIndexer', 'Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock'],
|
||||
['_engine', 'Magento\CatalogSearch\Model\ResourceModel\Fulltext'],
|
||||
['_allowedAreas', 'Magento\Core\Model\Config'],
|
||||
['_app', 'Magento\Core\Block\AbstractBlock'],
|
||||
['_app', 'Magento\Framework\View\Element\Template'],
|
||||
['_config', 'Magento\Backend\Helper\Data'],
|
||||
['_defaultAreaFrontName', 'Magento\Backend\Helper\Data'],
|
||||
['_areaFrontName', 'Magento\Backend\Helper\Data'],
|
||||
['_backendFrontName', 'Magento\Backend\Helper\Data'],
|
||||
['_app', 'Magento\Backend\Block\Widget\Grid\Column\Renderer\Currency'],
|
||||
['_enginePool', '\Magento\Framework\View\Element\Template\Context', '_engineFactory'],
|
||||
['_fileHandler', '\Magento\Sitemap\Model\Sitemap', '_stream'],
|
||||
['_fileIo', '\Magento\Theme\Model\Uploader\Service', '_filesystem'],
|
||||
['_streamFactory', '\Magento\MediaStorage\Model\File\Storage\Config', '_filesystem'],
|
||||
['_streamFactory', '\Magento\MediaStorage\Model\File\Storage\Synchronization', '_filesystem'],
|
||||
['types', '\Magento\Core\Model\Theme'],
|
||||
['_collectionFactory', '\Magento\Install\Controller\Action', 'themeProvider'],
|
||||
['_collectionFactory', '\Magento\Theme\Model\Config\Customization', 'themeProvider'],
|
||||
['_message', 'Magento\Checkout\Model\Cart', 'messageFactory'],
|
||||
['_message', 'Magento\Core\Model\Session\AbstractSession', 'messageFactory'],
|
||||
['_messageFactory', 'Magento\Core\Model\Session\AbstractSession', 'messagesFactory'],
|
||||
['_message', 'Magento\Core\Model\Session\Context', 'messageFactory'],
|
||||
['_messageFactory', 'Magento\Core\Model\Session\Context', 'messagesFactory'],
|
||||
['_sessionQuote', 'Magento\Sales\Block\Adminhtml\Order\Create\Messages', 'sessionQuote'],
|
||||
['_coreRegistry', 'Magento\Sales\Block\Adminhtml\Order\View\Messages', 'coreRegistry'],
|
||||
['_message', 'Magento\Quote\Model\Quote', 'messageFactory'],
|
||||
['_encryptedSessionId', '\Magento\Core\Model\Session\AbstractSession'],
|
||||
['_skipSessionIdFlag', '\Magento\Core\Model\Session\AbstractSession'],
|
||||
['_url', '\Magento\Core\Model\Session\AbstractSession'],
|
||||
['_sidNameMap', '\Magento\Core\Model\Session\AbstractSession'],
|
||||
['_store', '\Magento\Framework\Stdlib\Cookie'],
|
||||
['_lifetime', '\Magento\Framework\Stdlib\Cookie'],
|
||||
['_httpResponse', '\Magento\Framework\Stdlib\Cookie'],
|
||||
['_storeManager', '\Magento\Framework\Stdlib\Cookie'],
|
||||
['_scopeConfig', '\Magento\Framework\Stdlib\Cookie'],
|
||||
['_savePath', '\Magento\Core\Model\Session\Context'],
|
||||
['_cacheLimiter', '\Magento\Core\Model\Session\Context'],
|
||||
['_dir', '\Magento\Core\Model\Session\Context'],
|
||||
['_saveMethod', '\Magento\Core\Model\Session\Context'],
|
||||
['_appState', '\Magento\Core\Model\Session\Context'],
|
||||
['_validator', '\Magento\Core\Model\Session\Context'],
|
||||
['_logger', '\Magento\Core\Model\Session\Context'],
|
||||
['_eventManager', '\Magento\Core\Model\Session\Context'],
|
||||
['_scopeConfig', '\Magento\Core\Model\Session\Context'],
|
||||
['messageFactory', '\Magento\Core\Model\Session\Context'],
|
||||
['messagesFactory', '\Magento\Core\Model\Session\Context'],
|
||||
['_request', '\Magento\Core\Model\Session\Context'],
|
||||
['_storeManager', '\Magento\Core\Model\Session\Context'],
|
||||
['_cacheLimiter', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
['_saveMethod', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
['_appState', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
['_dir', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
['_savePath', 'Magento\Core\Model\Session\AbstractSession'],
|
||||
['_filesystem', '\Magento\Cms\Helper\Wysiwyg\Images', '_directory'],
|
||||
['_filesystem', '\Magento\Cms\Model\Wysiwyg\Images\Storage', '_directory'],
|
||||
['_filesystem', '\Magento\Core\Model\Page\Asset\MergeStrategy\Direct', '_directory'],
|
||||
['_filesystem', '\Magento\Core\Model\Page\Asset\MergeStrategy\Checksum', '_directory'],
|
||||
['_filesystem', 'Magento\Sales\Model\Order\Pdf\AbstractPdf'],
|
||||
['_baseDir', 'Magento\Core\Model\Resource\Setup\Migration'],
|
||||
['_dir', 'Magento\Core\Model\Resource\Setup\Migration'],
|
||||
['_filesystem', 'Magento\Core\Model\Resource\Setup\Migration', '_directory'],
|
||||
['_filesystem', 'Magento\Core\Model\Theme\Collection', '_directory'],
|
||||
['_mediaBaseDirectory', 'Magento\MediaStorage\Model\ResourceModel\File\Storage\File'],
|
||||
['_mediaBaseDirectory', 'Magento\MediaStorage\Model\File\Storage\Database\AbstractDatabase'],
|
||||
['_dbHelper', 'Magento\MediaStorage\Model\ResourceModel\File\Storage\File'],
|
||||
['_filesystem', 'Magento\Core\Model\Theme\CopyService', '_directory'],
|
||||
['_baseDir', 'Magento\Core\Model\Theme\Collection'],
|
||||
['_filesystem', 'Magento\Downloadable\Controller\Adminhtml\Downloadable\File'],
|
||||
['_dirModel', 'Magento\Downloadable\Controller\Adminhtml\Downloadable\File'],
|
||||
['_dirModel', 'Magento\Downloadable\Model\Link'],
|
||||
['_dirModel', 'Magento\Downloadable\Model\Sample'],
|
||||
['_dir', 'Magento\Framework\Filesystem'],
|
||||
['_baseDir', 'Magento\Backup\Model\Fs\Collection'],
|
||||
['_filesystem', 'Magento\Backup\Model\Fs\Collection'],
|
||||
['_dir', 'Magento\Backup\Model\Fs\Collection'],
|
||||
['_dir', 'Magento\Cms\Model\Wysiwyg\Images\Storage'],
|
||||
['_dirs', 'Magento\Core\Helper\Theme'],
|
||||
['_dirs', 'Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql'],
|
||||
['_filesystem', 'Magento\GiftWrapping\Model\Wrapping'],
|
||||
['_customer', 'Magento\Backend\Model\Session\Quote'],
|
||||
['_customerFactory', 'Magento\Backend\Model\Session\Quote'],
|
||||
['_coreDir', 'Magento\Sales\Model\Order\Pdf\AbstractPdf'],
|
||||
['_coreDir', 'Magento\ScheduledImportExport\Model\Scheduled\Operation'],
|
||||
['_dirs', 'Magento\Core\Block\Template'],
|
||||
['_applicationDirs', 'Magento\Framework\App\Config\FileResolver'],
|
||||
['_dir', 'Magento\MediaStorage\Model\File\Storage'],
|
||||
['_dirs', 'Magento\Core\Block\Template\Context'],
|
||||
['_dir', 'Magento\Core\Model\Page\Asset\MergeService'],
|
||||
['_dir', 'Magento\Core\Model\Page\Asset\MinifyService'],
|
||||
['_dir', 'Magento\Core\Model\Resource'],
|
||||
['_dir', 'Magento\Core\Model\Session\Context'],
|
||||
['dir', 'Magento\Core\Model\Theme\Image\Path'],
|
||||
['_dir', 'Magento\Install\App\Action\Plugin\Dir'],
|
||||
['_dirs', 'Magento\Framework\View\Block\Template\Context'],
|
||||
['_coreDir', 'Magento\Sales\Model\Order\Pdf\AbstractItems', '_rootDirectory'],
|
||||
['_dir', 'Magento\Backup\Helper\Data'],
|
||||
['_dir', 'Magento\Backup\Model\Observer', '_filesystem'],
|
||||
['_dir', 'Magento\Catalog\Model\Category\Attribute\Backend\Image', '_filesystem'],
|
||||
['_dir', 'Magento\Catalog\Model\ResourceModel\Product\Attribute\Backend\Image', '_filesystem'],
|
||||
['_dir', 'Magento\CatalogEvent\ModelEvent', '_filesystem'],
|
||||
['_dir', 'Magento\Cms\Helper\Wyiswig\Images'],
|
||||
['_dir', 'Magento\Email\Model\Template'],
|
||||
['_dir', 'Magento\CatalogImportExport\Model\Import\Product', '_mediaDirectory'],
|
||||
['_dir', 'Magento\ImportExport\Model\AbstractModel', '_varDirectory'],
|
||||
['_coreDir', 'Magento\Install\Model\Installer\Console'],
|
||||
['_dir', 'Magento\Install\Model\Installer\Filesystem'],
|
||||
['_coreDir', 'Magento\Paypal\Model\Report\Settlement', '_filesystem'],
|
||||
['_applicationDirs', 'Magento\Widget\Model\Config\FileResolver', '_filesystem'],
|
||||
['_formFields', 'Magento\Framework\View\Element\Redirect', 'formFields'],
|
||||
['_formFactory', 'Magento\Framework\View\Element\Redirect', 'formFactory'],
|
||||
['_dispersion', 'Magento\Theme\Block\Html\Pager'],
|
||||
['_assets', 'Magento\Framework\View\Asset\Collection', 'assets'],
|
||||
['_objectManager', 'Magento\Framework\View\Asset\GroupedCollection', 'objectManager'],
|
||||
['_groups', 'Magento\Framework\View\Asset\GroupedCollection', 'groups'],
|
||||
['_objectManager', 'Magento\Framework\View\Asset\MergeService', 'objectManager'],
|
||||
['_scopeConfig', 'Magento\Framework\View\Asset\MergeService', 'config'],
|
||||
['_filesystem', 'Magento\Framework\View\Asset\MergeService', 'filesystem'],
|
||||
['_dirs', 'Magento\Framework\View\Asset\MergeService', 'dirs'],
|
||||
['_state', 'Magento\Framework\View\Asset\MergeService', 'state'],
|
||||
['_strategy', 'Magento\Framework\View\Asset\MergeStrategy\Checksum', 'strategy'],
|
||||
['_filesystem', 'Magento\Framework\View\Asset\MergeStrategy\Checksum', 'filesystem'],
|
||||
['_filesystem', 'Magento\Framework\View\Asset\MergeStrategy\Direct', 'filesystem'],
|
||||
['_dirs', 'Magento\Framework\View\Asset\MergeStrategy\Direct', 'dirs'],
|
||||
['_cssUrlResolver', 'Magento\Framework\View\Asset\MergeStrategy\Direct', 'cssUrlResolver'],
|
||||
['_strategy', 'Magento\Framework\View\Asset\MergeStrategy\FileExists', 'strategy'],
|
||||
['_filesystem', 'Magento\Framework\View\Asset\MergeStrategy\FileExists', 'filesystem'],
|
||||
['_objectManager', 'Magento\Framework\View\Asset\Merged', 'objectManager'],
|
||||
['_logger', 'Magento\Framework\View\Asset\Merged', 'logger'],
|
||||
['_mergeStrategy', 'Magento\Framework\View\Asset\Merged', 'mergeStrategy'],
|
||||
['_assets', 'Magento\Framework\View\Asset\Merged', 'assets'],
|
||||
['_contentType', 'Magento\Framework\View\Asset\Merged', 'contentType'],
|
||||
['_originalAsset', 'Magento\Framework\View\Asset\Minified', 'originalAsset'],
|
||||
['_minifier', 'Magento\Framework\View\Asset\Minified', 'minifier'],
|
||||
['_file', 'Magento\Framework\View\Asset\Minified', 'file'],
|
||||
['_url', 'Magento\Framework\View\Asset\Minified', 'url'],
|
||||
['_viewUrl', 'Magento\Framework\View\Asset\Minified', 'viewUrl'],
|
||||
['_logger', 'Magento\Framework\View\Asset\Minified', 'logger'],
|
||||
['_scopeConfig', 'Magento\Framework\View\Asset\MinifyService', 'config'],
|
||||
['_objectManager', 'Magento\Framework\View\Asset\MinifyService', 'objectManager'],
|
||||
['_enabled', 'Magento\Framework\View\Asset\MinifyService', 'enabled'],
|
||||
['_minifiers', 'Magento\Framework\View\Asset\MinifyService', 'minifiers'],
|
||||
['_dirs', 'Magento\Framework\View\Asset\MinifyService', 'dirs'],
|
||||
['_appState', 'Magento\Framework\View\Asset\MinifyService', 'appState'],
|
||||
['_properties', 'Magento\Framework\View\Asset\PropertyGroup', 'properties'],
|
||||
['_productThumbnail', 'Magento\Checkout\Block\Cart\Item\Renderer'],
|
||||
['_url', 'Magento\Framework\View\Asset\Remote', 'url'],
|
||||
['_contentType', 'Magento\Framework\View\Asset\Remote', 'contentType'],
|
||||
['_frameOpenTag', 'Magento\Framework\View\Element\AbstractBlock'],
|
||||
['_frameCloseTag', 'Magento\Framework\View\Element\AbstractBlock'],
|
||||
['_messagesBlock', 'Magento\Framework\View\Element\AbstractBlock'],
|
||||
['escapeMessageFlag', 'Magento\Framework\View\Block\Messages'],
|
||||
['_handlerFactory', 'Magento\Backend\Block\Widget\Grid\Massaction\Additional'],
|
||||
['_flatResourceFactory', 'Magento\Catalog\Model\Observer'],
|
||||
['_catalogCategoryFlat', 'Magento\Catalog\Model\Observer'],
|
||||
['_catalogCategoryFlat', 'Magento\Catalog\Block\Navigation'],
|
||||
['_catalogCategoryFlat', 'Magento\Catalog\Model\Category'],
|
||||
['_storesRootCategories', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_resourceHelper', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_catalogCategory', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_isRebuilt', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_isBuilt', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_attributeCodes', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_columnsSql', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['_columns', 'Magento\Catalog\Model\ResourceModel\Category\Flat'],
|
||||
['fileIteratorFactory', 'Magento\Core\Model\Theme\Collection'],
|
||||
['_allowDuplication', 'Magento\Framework\View\Publisher'],
|
||||
['_modulesReader', 'Magento\Framework\View\Publisher'],
|
||||
['_directoryUrl', 'Magento\Directory\Block\Currency'],
|
||||
['_pageVarName', 'Magento\Catalog\Block\Product\ProductList\Toolbar'],
|
||||
['_orderVarName', 'Magento\Catalog\Block\Product\ProductList\Toolbar'],
|
||||
['_directionVarName', 'Magento\Catalog\Block\Product\ProductList\Toolbar'],
|
||||
['_modeVarName', 'Magento\Catalog\Block\Product\ProductList\Toolbar'],
|
||||
['_limitVarName', 'Magento\Catalog\Block\Product\ProductList\Toolbar'],
|
||||
['_encryptedSessionId', 'Magento\Framework\Url'],
|
||||
['_tokenRegex', 'Magento\Framework\Translate\Inline'],
|
||||
['_translator', 'Magento\Framework\Translate\Inline'],
|
||||
['_appState', 'Magento\Framework\Translate\Inline'],
|
||||
['_translateInline', 'Magento\Framework\Translate'],
|
||||
['_inlineInterface', 'Magento\Framework\Translate'],
|
||||
['_translateFactory', 'Magento\Framework\Translate'],
|
||||
['_placeholderRender', 'Magento\Framework\Translate'],
|
||||
['_canUseInline', 'Magento\Framework\Translate'],
|
||||
['_eventManager', 'Magento\Framework\Translate'],
|
||||
['_inlineFactory', 'Magento\Framework\App\Helper\Context', 'translateInline'],
|
||||
['_inlineFactory', 'Magento\Framework\App\Helper\AbstractHelper', 'translateInline'],
|
||||
['_storeManager', 'Magento\Translation\Model\ResourceModel\Translate'],
|
||||
['_storeManager', 'Magento\Translation\Model\ResourceModel\StringUtils'],
|
||||
['_translator', 'Magento\Framework\Phrase\Renderer\Translate', 'translator'],
|
||||
['_translator', 'Magento\Core\Model\Validator\Factory'],
|
||||
['_configFactory', 'Magento\Core\Model\App\Emulation', 'inlineConfig'],
|
||||
['_scopeConfig', 'Magento\Translation\Model\Inline\Config', 'config'],
|
||||
['_translate', 'Magento\Directory\Model\Observer'],
|
||||
['_translate', 'Magento\Newsletter\Model\Subscriber'],
|
||||
['_translate', 'Magento\Sendfriend\Model\Sendfriend'],
|
||||
['_translateModel', 'Magento\Sitemap\Model\Observer'],
|
||||
['_translator', 'Magento\Checkout\Helper\Data'],
|
||||
['_translate', 'Magento\GiftRegistry\Model\Entity'],
|
||||
['_translate', 'Magento\Log\Model\Cron'],
|
||||
['_translate', 'Magento\ProductAlert\Model\Observer'],
|
||||
['translate', 'Magento\Reminder\Model\Rule'],
|
||||
['_translate', 'Magento\Rma\Model\Rma'],
|
||||
['_translate', 'Magento\Rma\Model\Rma\Status\History'],
|
||||
['_translate', 'Magento\Sales\Model\Order\Pdf\AbstractPdf'],
|
||||
['_layout', 'Magento\Install\App\Action\Plugin\Design'],
|
||||
['_layout', 'Magento\Framework\View\DesignLoader'],
|
||||
['_area', 'Magento\Framework\View\Layout'],
|
||||
['_coreData', '\Magento\Rss\Block\Catalog\Special', 'priceCurrency'],
|
||||
['_tierPriceDefaultTemplate', 'Magento\Catalog\Block\Product\AbstractProduct'],
|
||||
['_mimeTypes', 'Magento\Framework\File\Transfer\Adapter\Http', '\Magento\Framework\File\Mime::$mimeTypes'],
|
||||
['_viewFileResolution', 'Magento\Framework\View\FileSystem', '_fileResolution, _localeFileResolution'],
|
||||
['_productInstance', 'Magento\CatalogInventory\Model\Stock\Item'],
|
||||
['_scopeConfig', 'Magento\CatalogInventory\Helper\Minsaleqty', 'scopeConfig'],
|
||||
['_stopFurtherRules', 'Magento\SalesRule\Model\Validator'],
|
||||
['_usageFactory', 'Magento\SalesRule\Model\Validator', 'Magento\SalesRule\Model\Validator\Utility'],
|
||||
['_couponFactory', 'Magento\SalesRule\Model\Validator', 'Magento\SalesRule\Model\Validator\Utility'],
|
||||
['_customerFactory', 'Magento\SalesRule\Model\Validator', 'Magento\SalesRule\Model\Validator\Utility'],
|
||||
['_skipModuleUpdate', '\Magento\Framework\Module\Updater'],
|
||||
['_factory', 'Magento\Framework\Module\Updater'],
|
||||
['_resourceList', 'Magento\Framework\Module\Updater'],
|
||||
['_storeManager', 'Magento\Customer\Controller\Account'],
|
||||
['_urlFactory', 'Magento\Customer\Controller\Account'],
|
||||
['_addressHelper', 'Magento\Customer\Controller\Account', 'Magento\Customer\Controller\Account\Confirm::$addressHelper'],
|
||||
['_scopeConfig', 'Magento\Customer\Controller\Account'],
|
||||
['_customerAccountService', 'Magento\Customer\Controller\Account'],
|
||||
['_formFactory', 'Magento\Customer\Controller\Account\CreatePost', 'Magento\Customer\Controller\Account\CreatePost::formFactory'],
|
||||
['_subscriberFactory', 'Magento\Customer\Controller\Account\CreatePost', 'Magento\Customer\Controller\Account\CreatePost::subscriberFactory'],
|
||||
['_regionBuilder', 'Magento\Customer\Controller\Account\CreatePost', 'Magento\Customer\Controller\Account\CreatePost::regionBuilder'],
|
||||
['_addressBuilder', 'Magento\Customer\Controller\Account\CreatePost', 'Magento\Customer\Controller\Account\CreatePost::addressBuilder'],
|
||||
['_customerDetailsBuilder', 'Magento\Customer\Controller\Account\CreatePost', 'Magento\Customer\Controller\Account\CreatePost::customerDetailsBuilder'],
|
||||
['_customerBuilder', 'Magento\Customer\Controller\Account\Edit', 'Magento\Customer\Controller\Account\Edit::customerBuilder'],
|
||||
['_customerBuilder', 'Magento\Customer\Controller\Account\EditPost', 'Magento\Customer\Controller\Account\EditPost::customerBuilder'],
|
||||
['_customerDetailsBuilder', 'Magento\Customer\Controller\Account\EditPost', 'Magento\Customer\Controller\Account\EditPost::customerDetailsBuilder'],
|
||||
['_formKeyValidator', 'Magento\Customer\Controller\Account\EditPost', 'Magento\Customer\Controller\Account\EditPost::formKeyValidator'],
|
||||
['_customerHelperData', 'Magento\Customer\Controller\Account\LoginPost', 'Magento\Customer\Controller\Account\LoginPost::customerHelperData'],
|
||||
['_formKeyValidator', 'Magento\Customer\Controller\Account\LoginPost', 'Magento\Customer\Controller\Account\LoginPost::formKeyValidator'],
|
||||
['_openActions', 'Magento\Customer\Controller\Account', 'Magento\Customer\Controller\Account::openActions'],
|
||||
['_session', 'Magento\Customer\Controller\Account', 'Magento\Customer\Controller\Account::session'],
|
||||
['_cache', 'Magento\Framework\App\Magento\Framework\App\ResourceConnection', 'Magento\Framework\App\ResourceConnection\ConnectionFactory'],
|
||||
['_debug', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'logger'],
|
||||
['_logQueryTime', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\Logger\LoggerAbstract'],
|
||||
['_logAllQueries', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\Logger\LoggerAbstract'],
|
||||
['_logCallStack', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\Logger\LoggerAbstract'],
|
||||
['_debugFile', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\Logger\File'],
|
||||
['_filesystem', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\Logger\File'],
|
||||
['_debugTimer', 'Magento\Framework\DB\Adapter\Pdo\Mysql', 'Magento\Framework\DB\Logger\LoggerAbstract'],
|
||||
['_resourceName', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_resourceName'],
|
||||
['_moduleConfig', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_moduleConfig'],
|
||||
['_callAfterApplyAllUpdates', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_callAfterApplyAllUpdates'],
|
||||
['_setupCache', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_setupCache'],
|
||||
['_modulesReader', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_modulesReader'],
|
||||
['_eventManager', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_eventManager'],
|
||||
['_logger', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_logger'],
|
||||
['_resource', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_resource'],
|
||||
['_migrationFactory', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::_migrationFactory'],
|
||||
['filesystem', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::filesystem'],
|
||||
['modulesDir', 'Magento\Framework\Module\Setup', 'Magento\Setup\Module\DataSetup::modulesDir'],
|
||||
['_directoryData', 'Magento\Customer\Model\Attribute\Data\Postcode', 'Magento\Customer\Model\Attribute\Data\Postcode::directoryHelper'],
|
||||
['_conditionModels', 'Magento\Rule\Model\Condition\Combine'],
|
||||
['_lables', 'Magento\SalesRule\Model\Rule'],
|
||||
['_catalogData', 'Magento\Catalog\Block\Product\AbstractProduct'],
|
||||
['_env', 'Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection'],
|
||||
['_catalogImage', 'Magento\Catalog\Model\Product'],
|
||||
['_view', 'Magento\Cms\Helper\Page'],
|
||||
['aclFilter', 'Magento\Backend\Model\View\Layout\Builder'],
|
||||
['aclFilter', 'Magento\Backend\Model\View\Page\Builder'],
|
||||
['_authorization', 'Magento\Backend\Model\View\Layout\Filter\Acl', 'Magento\Backend\Model\View\Layout\Filter\Acl::authorization'],
|
||||
['scheduledStructure', 'Magento\Framework\View\Layout'],
|
||||
['pageConfigStructure', 'Magento\Framework\View\Layout'],
|
||||
['scopeConfig', 'Magento\Framework\View\Layout\Reader\Block'],
|
||||
['scopeResolver', 'Magento\Framework\View\Layout\Reader\Block'],
|
||||
['scopeConfig', 'Magento\Framework\View\Layout\Reader\UiComponent'],
|
||||
['scopeResolver', 'Magento\Framework\View\Layout\Reader\UiComponent'],
|
||||
['handleAdded', 'Magento\Core\Model\Layout\Merge'],
|
||||
['_routingInfo', 'Magento\Framework\App\Request\Http'],
|
||||
['_rewritedPathInfo', 'Magento\Framework\App\Request\Http'],
|
||||
['_requestedRouteName', 'Magento\Framework\App\Request\Http'],
|
||||
['_isStraight', 'Magento\Framework\App\Request\Http'],
|
||||
['_originalPathInfo', 'Magento\Framework\App\Request\Http', 'originalPathInfo'],
|
||||
['_requestString', 'Magento\Framework\App\Request\Http', 'Magento\Framework\HTTP\PhpEnvironment\Request::requestString'],
|
||||
['_pathInfoProcessor', 'Magento\Framework\App\Request\Http', 'pathInfoProcessor'],
|
||||
['_objectManager', 'Magento\Framework\App\Request\Http', 'objectManager'],
|
||||
['_directFrontNames', 'Magento\Framework\App\Request\Http', 'directFrontNames'],
|
||||
['_routeConfig', 'Magento\Framework\App\Request\Http', 'routeConfig'],
|
||||
['_controllerModule', 'Magento\Framework\App\Request\Http', 'controllerModule'],
|
||||
['_aliases', 'Magento\Framework\App\Request\Http', 'Magento\Framework\HTTP\PhpEnvironment\Request::aliases'],
|
||||
['_route', 'Magento\Framework\App\Request\Http', 'route'],
|
||||
['_localeLists', 'Magento\Backend\Block\Dashboard\Graph'],
|
||||
['backendSession', 'Magento\Backend\Model\Observer'],
|
||||
['_locale', 'Magento\CurrencySymbol\Model\System\Currencysymbol', 'localeResolver'],
|
||||
['_localeLists', 'Magento\Dhl\Model\Resource\Setup', 'localeResolver'],
|
||||
['_locale', 'Magento\Directory\Block\Currency', 'localeResolver'],
|
||||
['_locale', 'Magento\GoogleAdwords\Model\Config\Source\Language'],
|
||||
['_localeLists', 'Magento\Payment\Model\Config', 'localeResolver'],
|
||||
['zendLocale', 'Magento\Framework\Setup\Lists', 'localeResolver'],
|
||||
['_locale', 'Magento\Framework\Data\Form\Filter\Date', 'localeResolver'],
|
||||
['_locale', 'Magento\Framework\Locale\TranslatedLists', 'localeResolver'],
|
||||
['_defaultLocale', 'Magento\Framework\Locale\Resolver', 'defaultLocale'],
|
||||
['_scopeType', 'Magento\Framework\Locale\Resolver', 'scopeType'],
|
||||
['_locale', 'Magento\Framework\Locale\Resolver', 'locale'],
|
||||
['_localeCode', 'Magento\Framework\Locale\Resolver', 'locale'],
|
||||
['_scopeConfig', 'Magento\Framework\Locale\Resolver', 'scopeConfig'],
|
||||
['_cache', 'Magento\Framework\Locale\Resolver'],
|
||||
['_localeFactory', 'Magento\Framework\Locale\Resolver'],
|
||||
['_emulatedLocales', 'Magento\Framework\Locale\Resolver', 'emulatedLocales'],
|
||||
['_collectionAttributes', 'Magento\Eav\Model\Config'],
|
||||
['_attributeFactory', '\Magento\Customer\Model\Customer'],
|
||||
['_hasDataChanges', 'Magento\Framework\DataObject', 'Moved to Magento\Framework\Model\AbstractModel'],
|
||||
['_origData', 'Magento\Framework\DataObject', 'Moved to Magento\Framework\Model\AbstractModel'],
|
||||
['_idFieldName', 'Magento\Framework\DataObject', 'Moved to Magento\Framework\Model\AbstractModel'],
|
||||
['_isDeleted', 'Magento\Framework\DataObject', 'Moved to Magento\Framework\Model\AbstractModel'],
|
||||
['themesDirectory', 'Magento\Email\Model\Template\Config'],
|
||||
['_directory', 'Magento\Theme\Model\Theme\Collection'],
|
||||
['_targetDirs', 'Magento\Theme\Model\Theme\Collection'],
|
||||
['directoryRead', 'Magento\Theme\Model\Theme\Registration'],
|
||||
['themesDirectory', 'Magento\Widget\Model\Config\FileResolver'],
|
||||
['themeDirectoryRead', 'Magento\Framework\View\Design\Theme\Customization\Path'],
|
||||
];
|
||||
@@ -0,0 +1,5 @@
|
||||
# "Component Type" "Component Name" "Path Pattern"
|
||||
module * /
|
||||
library * /
|
||||
setup
|
||||
pub
|
||||
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
-->
|
||||
<!-- These are the settings for legacy testing of Magento 2 Community Edition -->
|
||||
<config>
|
||||
<words>
|
||||
<!-- Magento_XmlConnect -->
|
||||
<word>xmlconnect</word>
|
||||
<!-- Magento_Dataflow -->
|
||||
<word>dataflow</word>
|
||||
<word>current_convert_profile</word>
|
||||
<word>system_convert_gui</word>
|
||||
<word>system_convert_profile</word>
|
||||
<word>system/convert/gui</word>
|
||||
<word>system/convert/profiles</word>
|
||||
<word>Mage_Adminhtml::gui</word>
|
||||
<word>Mage_Adminhtml::profiles</word>
|
||||
<word>secure_base_url}}js/</word>
|
||||
<word>secure_base_url}}skin/</word>
|
||||
<word>secure_base_url}}media/</word>
|
||||
<word>head.js</word>
|
||||
<word>tinymce4</word>
|
||||
<!-- typos -->
|
||||
<word>overriden</word>
|
||||
<word>retrive</word>
|
||||
<word>retreive</word>
|
||||
</words>
|
||||
<whitelist>
|
||||
<item>
|
||||
<path>CHANGELOG.md</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>composer.lock</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/build/publication/extra_files/ce/CHANGELOG.md</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/internal/Zend</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/tests/static/testsuite/Magento/Test/_files</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_constants.php</path>
|
||||
<word>overriden</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/tests/api-functional/testsuite/Magento/Webapi/Routing/RequestIdOverrideTest.php</path>
|
||||
<word>overriden</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/composer.lock</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>app/code/Magento/Customer/view/frontend/web/js/zxcvbn.js</path>
|
||||
<word>twig</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>app/code/Magento/Swagger/view/frontend/web/swagger-ui/js/lib/jsoneditor.min.js</path>
|
||||
<word>twig</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/tests/acceptance/composer.lock</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>dev/build/publication/sanity/ce.xml</path>
|
||||
</item>
|
||||
<item>
|
||||
<path>app/design/adminhtml/Magento/backend/Magento_Rma/web/css/source/_module.less</path>
|
||||
<word>rma</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/web/tiny_mce_6/plugins/help/plugin.min.js</path>
|
||||
<word>CHANGELOG</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojis.min.js</path>
|
||||
<word>Enterprise</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojis.js</path>
|
||||
<word>Enterprise</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojiimages.min.js</path>
|
||||
<word>Enterprise</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojiimages.js</path>
|
||||
<word>Enterprise</word>
|
||||
</item>
|
||||
<item>
|
||||
<component type="module" name="Magento_Config" />
|
||||
<path>Setup/Patch/Data/UnsetTinymce3.php</path>
|
||||
<word>tinymce4</word>
|
||||
</item>
|
||||
<item>
|
||||
<component type="module" name="Magento_Config" />
|
||||
<path>Setup/Patch/Data/RemoveTinymceConfig.php</path>
|
||||
<word>tinymce4</word>
|
||||
</item>
|
||||
<item>
|
||||
<path>lib/web/jquery</path>
|
||||
<word>overriden</word>
|
||||
</item>
|
||||
</whitelist>
|
||||
</config>
|
||||
Reference in New Issue
Block a user