16 $invoker = new \Magento\Framework\App\Utility\AggregateInvoker($this);
18 function ($filename) {
20 if (strpos($fileText,
'Copyright © Magento, Inc. All rights reserved.') ===
false) {
21 $this->fail(
'Copyright is missing or has wrong format ' . $filename);
33 foreach (glob(
__DIR__ .
'/../_files/changed_files*') as $listFile) {
39 $file = [
BP .
'/' . $file];
44 function (
$path) use ($blackList) {
49 foreach ($blackList as
$item) {
67 foreach (glob(
__DIR__ .
'/_files/copyright/' . $filePattern) as $file) {
68 $fileData = include $file;
defined('TESTS_BP')||define('TESTS_BP' __DIR__
getFilesData($filePattern)