diff --git a/src/Command/MustacheCommand.php b/src/Command/MustacheCommand.php index e45a818..1b1e533 100644 --- a/src/Command/MustacheCommand.php +++ b/src/Command/MustacheCommand.php @@ -54,7 +54,7 @@ protected function execute(InputInterface $input, OutputInterface $output) // This is a workaround to execute mustache_lint.php file from within a phar. $filesystem = new Filesystem(); $wrapper = tempnam(sys_get_temp_dir(), 'mustache-linter-wrapper'); - $filesystem->dumpFile($wrapper, "dumpFile($wrapper, sprintf('plugin->directory; $moodle = $this->moodle->directory;