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:
parent
d81b50d88e
commit
e48cbe712e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue