public static function setUpBeforeClass() { self::$_wordsFinder = new \Magento\TestFramework\Inspection\WordsFinder(glob(__DIR__ . '/_files/words_*.xml'), BP, new ComponentRegistrar()); }
public static function setUpBeforeClass() { self::$_wordsFinder = new \Magento\TestFramework\Inspection\WordsFinder(glob(__DIR__ . '/_files/words_*.xml'), \Magento\Framework\App\Utility\Files::init()->getPathToSource()); }