From e48cbe712ecfbdb4b9a5af9aaf5bc20b6a2144f6 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 10 Apr 2017 13:32:44 +0200 Subject: [PATCH] BUGFIX: Allow phpunit tests to run even if phpcs.xml.dist is provided * By adding Coding Standard to calls, phpcs will not lookup the standard to use in our phpcs.xml.dist, which is used to check the project itself. * Instead it will use the provided standard. --- tests/SniffsTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/SniffsTest.php b/tests/SniffsTest.php index 16d58b0..2560f1a 100644 --- a/tests/SniffsTest.php +++ b/tests/SniffsTest.php @@ -115,6 +115,7 @@ class SniffsTest extends TestCase protected function executeSniff(\SplFileInfo $folder, array $arguments = []) { $internalArguments = array_merge_recursive([ + 'standard' => 'Typo3Update', 'runtime-set' => [ 'mappingFile' => __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures' . DIRECTORY_SEPARATOR