private function executeOnFiles(): void
    {
        foreach ($this->config->getFiles() as $source => $target) {
            try {
                $name = pathinfo($target)['filename'];
                $this->fileExecutor->invoke($source, $target, $name);
            } catch (Exception $exception) {
                $this->exceptionCatcher->catch($exception, $source);
            }
        }
    }
private function executeOnFiles(): void
    {
        foreach ($this->config->getFiles() as $source => $target) {
            try {
                $name = pathinfo($target)['filename'];
                $this->fileExecutor->invoke($source, $target, $name);
            } catch (Exception $exception) {
                $this->exceptionCatcher->catch($exception, $source);
            }
        }
    }
private function executeOnFiles ( ) : void { foreach ( $ this -> config -> getFiles ( ) as $ source => $ target ) { try { $ name = pathinfo ( $ target ) [ 'filename' ] ; $ this -> fileExecutor -> invoke ( $ source , $ target , $ name ) ; } catch ( Exception $ exception ) { $ this -> exceptionCatcher -> catch ( $ exception , $ source ) ; } } }
Execute PhpUnitGen tasks on files.

@throws Exception If an error occurred during process.
Execute PhpUnitGen tasks on files .