diff --git a/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php b/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php index 8b4d173c..9d216656 100644 --- a/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php +++ b/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php @@ -72,7 +72,7 @@ public function FileSizeValidatorHasErrorsIfFileResourceSizeIsToSmall(): void $validator = new FileSizeValidator(); $validator->setOptions($options); $mockedStorage = $this->getMockBuilder(ResourceStorage::class)->disableOriginalConstructor()->getMock(); - $file = new File(['identifier' => '/foo', 'name'=> 'bar.txt', 'size' => '1'], $mockedStorage); + $file = new File(['identifier' => '/foo', 'name' => 'bar.txt', 'size' => '1'], $mockedStorage); self::assertTrue($validator->validate($file)->hasErrors()); } diff --git a/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php b/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php index 18d57bdb..535b4d70 100644 --- a/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php +++ b/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php @@ -42,7 +42,7 @@ public function loadThrowsExceptionIfPersistenceIdentifierHasNoYamlExtension(): $mockFormPersistenceManager = $this->getAccessibleMock(FormPersistenceManager::class, null, [], '', false); - $runtimeCache= $this->getMockBuilder(VariableFrontend::class) + $runtimeCache = $this->getMockBuilder(VariableFrontend::class) ->onlyMethods(['get', 'set']) ->disableOriginalConstructor() ->getMock(); @@ -67,7 +67,7 @@ public function loadThrowsExceptionIfPersistenceIdentifierIsAExtensionLocationWh $mockFormPersistenceManager = $this->getAccessibleMock(FormPersistenceManager::class, null, [], '', false); - $runtimeCache= $this->getMockBuilder(VariableFrontend::class) + $runtimeCache = $this->getMockBuilder(VariableFrontend::class) ->onlyMethods(['get', 'set']) ->disableOriginalConstructor() ->getMock(); @@ -132,7 +132,7 @@ public function saveThrowsExceptionIfPersistenceIdentifierIsAExtensionLocationWh $mockFormPersistenceManager = $this->getAccessibleMock(FormPersistenceManager::class, null, [], '', false); - $runtimeCache= $this->getMockBuilder(VariableFrontend::class) + $runtimeCache = $this->getMockBuilder(VariableFrontend::class) ->onlyMethods(['get', 'set']) ->disableOriginalConstructor() ->getMock(); @@ -220,7 +220,7 @@ public function deleteThrowsExceptionIfPersistenceIdentifierIsExtensionLocationW $mockFormPersistenceManager = $this->getAccessibleMock(FormPersistenceManager::class, ['exists'], [], '', false); - $runtimeCache= $this->getMockBuilder(VariableFrontend::class) + $runtimeCache = $this->getMockBuilder(VariableFrontend::class) ->onlyMethods(['get', 'set']) ->disableOriginalConstructor() ->getMock(); @@ -288,7 +288,7 @@ public function existsReturnsTrueIfPersistenceIdentifierIsExtensionLocationAndFi { $mockFormPersistenceManager = $this->getAccessibleMock(FormPersistenceManager::class, null, [], '', false); - $runtimeCache= $this->getMockBuilder(VariableFrontend::class) + $runtimeCache = $this->getMockBuilder(VariableFrontend::class) ->onlyMethods(['get', 'set']) ->disableOriginalConstructor() ->getMock();