From a5a9ec4ea532c7ccd6129ab3521772a2902dc2d0 Mon Sep 17 00:00:00 2001 From: Mark Nielsen Date: Wed, 31 May 2017 22:14:25 -0700 Subject: [PATCH] Scrutinizer fixes --- src/Command/MustacheCommand.php | 2 +- src/Command/ParallelCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;