@@ -57,7 +57,7 @@ |
||
| 57 | 57 | ); |
| 58 | 58 | assert(empty($logFile) === false, "Invalid Logs file name `$logFile`."); |
| 59 | 59 | |
| 60 | - $logPath = $logFolder . DIRECTORY_SEPARATOR . $logFile; |
|
| 60 | + $logPath = $logFolder.DIRECTORY_SEPARATOR.$logFile; |
|
| 61 | 61 | |
| 62 | 62 | return $defaults + [static::KEY_LOG_PATH => $logPath]; |
| 63 | 63 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | public static function configureContainer(LimoncelloContainerInterface $container): void |
| 37 | 37 | { |
| 38 | 38 | $container[CookieJarInterface::class] = |
| 39 | - function (PsrContainerInterface $container): CookieJarInterface { |
|
| 39 | + function(PsrContainerInterface $container): CookieJarInterface { |
|
| 40 | 40 | $settings = $container->get(SettingsProviderInterface::class)->get(CookieSettings::class); |
| 41 | 41 | |
| 42 | 42 | return new CookieJar( |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | public static function configureContainer(LimoncelloContainerInterface $container): void |
| 36 | 36 | { |
| 37 | - $container[SessionInterface::class] = function (PsrContainerInterface $container): SessionInterface { |
|
| 37 | + $container[SessionInterface::class] = function(PsrContainerInterface $container): SessionInterface { |
|
| 38 | 38 | /** @var SessionFunctionsInterface $functions */ |
| 39 | 39 | $functions = $container->get(SessionFunctionsInterface::class); |
| 40 | 40 | $session = new Session($functions); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | return $session; |
| 43 | 43 | }; |
| 44 | 44 | |
| 45 | - $container[SessionFunctionsInterface::class] = function (): SessionFunctionsInterface { |
|
| 45 | + $container[SessionFunctionsInterface::class] = function(): SessionFunctionsInterface { |
|
| 46 | 46 | $functions = new SessionFunctions(); |
| 47 | 47 | |
| 48 | 48 | return $functions; |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | "Invalid Policies folder `$policiesFolder`." |
| 62 | 62 | ); |
| 63 | 63 | assert(empty($policiesFileMask) === false, "Invalid Policies file mask `$policiesFileMask`."); |
| 64 | - $policiesPath = $policiesFolder . DIRECTORY_SEPARATOR . $policiesFileMask; |
|
| 64 | + $policiesPath = $policiesFolder.DIRECTORY_SEPARATOR.$policiesFileMask; |
|
| 65 | 65 | |
| 66 | 66 | $topPolicyName = $defaults[static::KEY_TOP_POLICY_NAME]; |
| 67 | 67 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public static function configureContainer(ContainerInterface $container): void |
| 34 | 34 | { |
| 35 | - $container[FormValidatorFactoryInterface::class] = function (PsrContainerInterface $container) { |
|
| 35 | + $container[FormValidatorFactoryInterface::class] = function(PsrContainerInterface $container) { |
|
| 36 | 36 | $factory = new FormValidatorFactory($container); |
| 37 | 37 | |
| 38 | 38 | return $factory; |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | $validatorsFolder = $defaults[static::KEY_VALIDATORS_FOLDER] ?? null; |
| 61 | 61 | $validatorsFileMask = $defaults[static::KEY_VALIDATORS_FILE_MASK] ?? null; |
| 62 | - $validatorsPath = $validatorsFolder . DIRECTORY_SEPARATOR . $validatorsFileMask; |
|
| 62 | + $validatorsPath = $validatorsFolder.DIRECTORY_SEPARATOR.$validatorsFileMask; |
|
| 63 | 63 | |
| 64 | 64 | assert( |
| 65 | 65 | $validatorsFolder !== null && empty(glob($validatorsFolder)) === false, |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $messagesNamespace = $defaults[static::KEY_MESSAGES_NAMESPACE] ?? null; |
| 70 | 70 | assert( |
| 71 | 71 | !empty($messagesNamespace), |
| 72 | - 'Localization namespace have to be specified. ' . |
|
| 72 | + 'Localization namespace have to be specified. '. |
|
| 73 | 73 | 'Otherwise it is not possible to convert validation errors to string representation.' |
| 74 | 74 | ); |
| 75 | 75 | |