Definition at line 12 of file ConfigTest.php.
◆ testConfigFiles()
- Parameters
-
Definition at line 14 of file ConfigTest.php.
16 $invoker = new \Magento\Framework\App\Utility\AggregateInvoker($this);
23 $obsoleteNodesFiles = glob(
__DIR__ .
'/_files/obsolete_config_nodes*.php');
24 foreach ($obsoleteNodesFiles as $obsoleteNodesFile) {
25 $obsoleteNodes = array_merge($obsoleteNodes, include $obsoleteNodesFile);
28 $xml = simplexml_load_file($file);
29 foreach ($obsoleteNodes as $xpath => $suggestion) {
32 "Nodes identified by XPath '{$xpath}' are obsolete. {$suggestion}"
defined('TESTS_BP')||define('TESTS_BP' __DIR__
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/static/testsuite/Magento/Test/Legacy/ConfigTest.php