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.
This commit is contained in:
Daniel Siepmann 2017-04-10 13:32:44 +02:00
parent d81b50d88e
commit e48cbe712e
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -115,6 +115,7 @@ class SniffsTest extends TestCase
protected function executeSniff(\SplFileInfo $folder, array $arguments = []) protected function executeSniff(\SplFileInfo $folder, array $arguments = [])
{ {
$internalArguments = array_merge_recursive([ $internalArguments = array_merge_recursive([
'standard' => 'Typo3Update',
'runtime-set' => [ 'runtime-set' => [
'mappingFile' => __DIR__ . DIRECTORY_SEPARATOR 'mappingFile' => __DIR__ . DIRECTORY_SEPARATOR
. 'Fixtures' . DIRECTORY_SEPARATOR . 'Fixtures' . DIRECTORY_SEPARATOR