Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
removeTestModules.php
Go to the documentation of this file.
1 <?php
15 $pathToInstalledMagentoInstanceModules = $testFrameworkDir . '/../../../../app/code/Magento';
16 $iterator = new RecursiveIteratorIterator(
17  new RecursiveDirectoryIterator($pathToCommittedTestModules, RecursiveDirectoryIterator::FOLLOW_SYMLINKS)
18 );
19 
20 //collect test modules dirs name
21 $testModuleNames = array_diff(scandir($pathToCommittedTestModules), ['..', '.']);
22 
23 //remove test modules from magento codebase
24 foreach ($testModuleNames as $name) {
26  if (is_dir($folder)) {
28  }
29 }
$testModuleNames
$pathToCommittedTestModules
$pathToInstalledMagentoInstanceModules
$testFrameworkDir
Definition: bootstrap.php:46
static rmdirRecursive($dir, $recursive=true)
Definition: File.php:335
if(!isset($_GET['name'])) $name
Definition: log.php:14