diff --git a/Classes/Cache/IdentifierBuilder.php b/Classes/Cache/IdentifierBuilder.php index be66d878f032..a7de6a4752c8 100644 --- a/Classes/Cache/IdentifierBuilder.php +++ b/Classes/Cache/IdentifierBuilder.php @@ -4,7 +4,7 @@ * IdentifierBuilder */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache; diff --git a/Classes/Cache/RemoteFileBackend.php b/Classes/Cache/RemoteFileBackend.php index 19116cf7ecc3..578ec9160f27 100644 --- a/Classes/Cache/RemoteFileBackend.php +++ b/Classes/Cache/RemoteFileBackend.php @@ -3,7 +3,7 @@ * RemoteFileBackend. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache; diff --git a/Classes/Cache/Rule/AbstractRule.php b/Classes/Cache/Rule/AbstractRule.php index 4ea4c5d0c8bb..6c3fc69b666b 100644 --- a/Classes/Cache/Rule/AbstractRule.php +++ b/Classes/Cache/Rule/AbstractRule.php @@ -4,7 +4,7 @@ * Abstract Rule. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/Enable.php b/Classes/Cache/Rule/Enable.php index 69c3343986f8..0e4ff2b1041f 100644 --- a/Classes/Cache/Rule/Enable.php +++ b/Classes/Cache/Rule/Enable.php @@ -4,7 +4,7 @@ * Enable. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/ForceStaticCache.php b/Classes/Cache/Rule/ForceStaticCache.php index 8c73b8c48cce..855dd1b3ca4f 100644 --- a/Classes/Cache/Rule/ForceStaticCache.php +++ b/Classes/Cache/Rule/ForceStaticCache.php @@ -4,7 +4,7 @@ * Force the cache for special pages. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/LoginDeniedConfiguration.php b/Classes/Cache/Rule/LoginDeniedConfiguration.php index 1a5be0160793..bddef6122b8e 100644 --- a/Classes/Cache/Rule/LoginDeniedConfiguration.php +++ b/Classes/Cache/Rule/LoginDeniedConfiguration.php @@ -4,7 +4,7 @@ * LoginDeniedConfiguration. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoBackendUser.php b/Classes/Cache/Rule/NoBackendUser.php index 8233dcd5e7a5..b4847f3dd50a 100644 --- a/Classes/Cache/Rule/NoBackendUser.php +++ b/Classes/Cache/Rule/NoBackendUser.php @@ -4,7 +4,7 @@ * No active BE user. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoBackendUserCookie.php b/Classes/Cache/Rule/NoBackendUserCookie.php index ba0fd9ba786c..45fc644d8190 100644 --- a/Classes/Cache/Rule/NoBackendUserCookie.php +++ b/Classes/Cache/Rule/NoBackendUserCookie.php @@ -4,7 +4,7 @@ * No active BE user (just check the cookie). */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoFakeFrontend.php b/Classes/Cache/Rule/NoFakeFrontend.php index 25dfdba74d3e..dd2b4c510046 100644 --- a/Classes/Cache/Rule/NoFakeFrontend.php +++ b/Classes/Cache/Rule/NoFakeFrontend.php @@ -4,7 +4,7 @@ * No fake frontend. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoIntScripts.php b/Classes/Cache/Rule/NoIntScripts.php index fb7d5a5cf162..faa4517f3b68 100644 --- a/Classes/Cache/Rule/NoIntScripts.php +++ b/Classes/Cache/Rule/NoIntScripts.php @@ -4,7 +4,7 @@ * No _INT scripts. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoLongPathSegment.php b/Classes/Cache/Rule/NoLongPathSegment.php index dfa2720c3fb6..47fe7ea31bbc 100644 --- a/Classes/Cache/Rule/NoLongPathSegment.php +++ b/Classes/Cache/Rule/NoLongPathSegment.php @@ -4,7 +4,7 @@ * Check if there is no path segment that is to long. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoNoCache.php b/Classes/Cache/Rule/NoNoCache.php index 8c58546ba0f7..dd6fecc35745 100644 --- a/Classes/Cache/Rule/NoNoCache.php +++ b/Classes/Cache/Rule/NoNoCache.php @@ -4,7 +4,7 @@ * No no_cache. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoUserOrGroupSet.php b/Classes/Cache/Rule/NoUserOrGroupSet.php index cf0447ad7d17..97061b228314 100644 --- a/Classes/Cache/Rule/NoUserOrGroupSet.php +++ b/Classes/Cache/Rule/NoUserOrGroupSet.php @@ -4,7 +4,7 @@ * NoUserOrGroupSet. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/NoWorkspacePreview.php b/Classes/Cache/Rule/NoWorkspacePreview.php index 4de30ec6b919..4b6b4327e1b6 100644 --- a/Classes/Cache/Rule/NoWorkspacePreview.php +++ b/Classes/Cache/Rule/NoWorkspacePreview.php @@ -4,7 +4,7 @@ * No workspace preview. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/PageCacheable.php b/Classes/Cache/Rule/PageCacheable.php index 4fca052fb463..4172d20e9970 100644 --- a/Classes/Cache/Rule/PageCacheable.php +++ b/Classes/Cache/Rule/PageCacheable.php @@ -4,7 +4,7 @@ * Check if the current page is static cacheable in Page property context. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/SiteCacheable.php b/Classes/Cache/Rule/SiteCacheable.php index 74be8031a024..eb018a5af919 100644 --- a/Classes/Cache/Rule/SiteCacheable.php +++ b/Classes/Cache/Rule/SiteCacheable.php @@ -4,7 +4,7 @@ * Check if the current site is static cacheable. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/StaticCacheable.php b/Classes/Cache/Rule/StaticCacheable.php index 0d40c5dafcf4..9cc7121a1f62 100644 --- a/Classes/Cache/Rule/StaticCacheable.php +++ b/Classes/Cache/Rule/StaticCacheable.php @@ -4,7 +4,7 @@ * Check if the current page is static cacheable in TSFE context. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/ValidDoktype.php b/Classes/Cache/Rule/ValidDoktype.php index 196d0bccb34e..43753e4661eb 100644 --- a/Classes/Cache/Rule/ValidDoktype.php +++ b/Classes/Cache/Rule/ValidDoktype.php @@ -4,7 +4,7 @@ * Check if the doktype is valid. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/ValidPageInformation.php b/Classes/Cache/Rule/ValidPageInformation.php index 7b2bd21914eb..614ba382dc3c 100644 --- a/Classes/Cache/Rule/ValidPageInformation.php +++ b/Classes/Cache/Rule/ValidPageInformation.php @@ -4,7 +4,7 @@ * ValidPageInformation. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/ValidRequestMethod.php b/Classes/Cache/Rule/ValidRequestMethod.php index 50cffd5e90ab..f97b7776719e 100644 --- a/Classes/Cache/Rule/ValidRequestMethod.php +++ b/Classes/Cache/Rule/ValidRequestMethod.php @@ -4,7 +4,7 @@ * ValidRequestMethod. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/Rule/ValidUri.php b/Classes/Cache/Rule/ValidUri.php index a3c4adab9b38..6386d4867077 100644 --- a/Classes/Cache/Rule/ValidUri.php +++ b/Classes/Cache/Rule/ValidUri.php @@ -4,7 +4,7 @@ * Check if the URI is valid. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache\Rule; diff --git a/Classes/Cache/StaticDatabaseBackend.php b/Classes/Cache/StaticDatabaseBackend.php index c3b8739531e7..6f6932924a4d 100644 --- a/Classes/Cache/StaticDatabaseBackend.php +++ b/Classes/Cache/StaticDatabaseBackend.php @@ -4,7 +4,7 @@ * General Cache functions for StaticFileCache. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache; diff --git a/Classes/Cache/StaticFileBackend.php b/Classes/Cache/StaticFileBackend.php index f3f9fba93de9..21ac3942fcd4 100644 --- a/Classes/Cache/StaticFileBackend.php +++ b/Classes/Cache/StaticFileBackend.php @@ -4,7 +4,7 @@ * Cache backend for StaticFileCache. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache; diff --git a/Classes/Cache/UriFrontend.php b/Classes/Cache/UriFrontend.php index 3f8acbb41cfc..f39eec549691 100644 --- a/Classes/Cache/UriFrontend.php +++ b/Classes/Cache/UriFrontend.php @@ -4,7 +4,7 @@ * Cache frontend for StaticFileCache. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Cache; diff --git a/Classes/Command/AbstractCommand.php b/Classes/Command/AbstractCommand.php index be00a5f295ef..aac4efcbfd71 100644 --- a/Classes/Command/AbstractCommand.php +++ b/Classes/Command/AbstractCommand.php @@ -4,7 +4,7 @@ * Abstract command. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Command; diff --git a/Classes/Command/BoostQueueCommand.php b/Classes/Command/BoostQueueCommand.php index d82e552039fc..bcccfa5b5a44 100644 --- a/Classes/Command/BoostQueueCommand.php +++ b/Classes/Command/BoostQueueCommand.php @@ -3,7 +3,7 @@ /** * BoostQueueRunCommand. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Command; diff --git a/Classes/Command/FlushCacheCommand.php b/Classes/Command/FlushCacheCommand.php index 1b5512f95e09..c4bcc77a0533 100644 --- a/Classes/Command/FlushCacheCommand.php +++ b/Classes/Command/FlushCacheCommand.php @@ -3,7 +3,7 @@ /** * FlushCacheCommand. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Command; diff --git a/Classes/Configuration.php b/Classes/Configuration.php index be0b80671aec..08508e5fbe9b 100644 --- a/Classes/Configuration.php +++ b/Classes/Configuration.php @@ -4,7 +4,7 @@ * Configuration. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache; diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index 7515109fe955..01cfd79a4fa1 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -4,7 +4,7 @@ * StaticFileCache backend module. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Controller; diff --git a/Classes/Domain/Repository/AbstractRepository.php b/Classes/Domain/Repository/AbstractRepository.php index ef8e9167781e..1477ef0036eb 100644 --- a/Classes/Domain/Repository/AbstractRepository.php +++ b/Classes/Domain/Repository/AbstractRepository.php @@ -4,7 +4,7 @@ * AbstractRepository. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Domain\Repository; diff --git a/Classes/Domain/Repository/CacheRepository.php b/Classes/Domain/Repository/CacheRepository.php index f8bd12540879..60f61d045e2a 100644 --- a/Classes/Domain/Repository/CacheRepository.php +++ b/Classes/Domain/Repository/CacheRepository.php @@ -4,7 +4,7 @@ * CacheRepository. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Domain\Repository; diff --git a/Classes/Domain/Repository/PageRepository.php b/Classes/Domain/Repository/PageRepository.php index 912d673a06c6..0a9b8b28ecfd 100644 --- a/Classes/Domain/Repository/PageRepository.php +++ b/Classes/Domain/Repository/PageRepository.php @@ -4,7 +4,7 @@ * PageRepository. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Domain\Repository; diff --git a/Classes/Domain/Repository/QueueRepository.php b/Classes/Domain/Repository/QueueRepository.php index 3d8a2416324e..6af2b29786c3 100644 --- a/Classes/Domain/Repository/QueueRepository.php +++ b/Classes/Domain/Repository/QueueRepository.php @@ -4,7 +4,7 @@ * QueueRepository. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Domain\Repository; diff --git a/Classes/Generator/AbstractGenerator.php b/Classes/Generator/AbstractGenerator.php index 75f9f8a5c805..f30142e1db5a 100644 --- a/Classes/Generator/AbstractGenerator.php +++ b/Classes/Generator/AbstractGenerator.php @@ -3,7 +3,7 @@ * AbstractGenerator. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Generator/BrotliGenerator.php b/Classes/Generator/BrotliGenerator.php index ac0614bdafb8..aae173295813 100644 --- a/Classes/Generator/BrotliGenerator.php +++ b/Classes/Generator/BrotliGenerator.php @@ -3,7 +3,7 @@ * BrotliGenerator. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Generator/ConfigGenerator.php b/Classes/Generator/ConfigGenerator.php index b6a4e3080163..4af3b3083099 100644 --- a/Classes/Generator/ConfigGenerator.php +++ b/Classes/Generator/ConfigGenerator.php @@ -3,7 +3,7 @@ * ConfigGenerator. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Generator/GzipGenerator.php b/Classes/Generator/GzipGenerator.php index 022779640e34..52ccfd645fa2 100644 --- a/Classes/Generator/GzipGenerator.php +++ b/Classes/Generator/GzipGenerator.php @@ -3,7 +3,7 @@ * GzipGenerator. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Generator/HtaccessGenerator.php b/Classes/Generator/HtaccessGenerator.php index 5adfa7c051f4..dab65a61a22b 100644 --- a/Classes/Generator/HtaccessGenerator.php +++ b/Classes/Generator/HtaccessGenerator.php @@ -4,7 +4,7 @@ * HtaccessGenerator */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Generator/ManifestGenerator.php b/Classes/Generator/ManifestGenerator.php index 17009ef24e16..f2f2cc4091db 100644 --- a/Classes/Generator/ManifestGenerator.php +++ b/Classes/Generator/ManifestGenerator.php @@ -3,7 +3,7 @@ * ManifestGenerator. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Generator/PlainGenerator.php b/Classes/Generator/PlainGenerator.php index a61bffac3049..e39795410307 100644 --- a/Classes/Generator/PlainGenerator.php +++ b/Classes/Generator/PlainGenerator.php @@ -3,7 +3,7 @@ * PlainGenerator. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Generator; diff --git a/Classes/Hook/AbstractHook.php b/Classes/Hook/AbstractHook.php index deeb811959a8..6d94ba94190a 100644 --- a/Classes/Hook/AbstractHook.php +++ b/Classes/Hook/AbstractHook.php @@ -4,7 +4,7 @@ * AbstractHook. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Hook; diff --git a/Classes/Hook/InitFrontendUser.php b/Classes/Hook/InitFrontendUser.php index c61080ada7e4..6dfb2ace1a9a 100644 --- a/Classes/Hook/InitFrontendUser.php +++ b/Classes/Hook/InitFrontendUser.php @@ -4,7 +4,7 @@ * Init frontend user. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Hook; diff --git a/Classes/Hook/LogoffFrontendUser.php b/Classes/Hook/LogoffFrontendUser.php index 699641ec9b1c..de7e3ea25ec8 100644 --- a/Classes/Hook/LogoffFrontendUser.php +++ b/Classes/Hook/LogoffFrontendUser.php @@ -4,7 +4,7 @@ * Logoff process. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Hook; diff --git a/Classes/Hook/UninstallProcess.php b/Classes/Hook/UninstallProcess.php index f6c39eed3755..1b97eb1f1fa0 100644 --- a/Classes/Hook/UninstallProcess.php +++ b/Classes/Hook/UninstallProcess.php @@ -4,7 +4,7 @@ * UninstallProcess. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Hook; diff --git a/Classes/Middleware/FallbackMiddleware.php b/Classes/Middleware/FallbackMiddleware.php index 710bade8c17f..6626c2b14627 100644 --- a/Classes/Middleware/FallbackMiddleware.php +++ b/Classes/Middleware/FallbackMiddleware.php @@ -4,7 +4,7 @@ * FallbackMiddleware */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Middleware; diff --git a/Classes/Middleware/GenerateMiddleware.php b/Classes/Middleware/GenerateMiddleware.php index e019c8631c56..c7f57eacbc14 100644 --- a/Classes/Middleware/GenerateMiddleware.php +++ b/Classes/Middleware/GenerateMiddleware.php @@ -4,7 +4,7 @@ * GenerateMiddleware. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Middleware; diff --git a/Classes/Middleware/PrepareMiddleware.php b/Classes/Middleware/PrepareMiddleware.php index 97bef46c1719..dd9fbddf3fb4 100644 --- a/Classes/Middleware/PrepareMiddleware.php +++ b/Classes/Middleware/PrepareMiddleware.php @@ -4,7 +4,7 @@ * PrepareMiddleware. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Middleware; diff --git a/Classes/Service/AbstractService.php b/Classes/Service/AbstractService.php index 3001017aa01e..066cd481e5c7 100644 --- a/Classes/Service/AbstractService.php +++ b/Classes/Service/AbstractService.php @@ -4,7 +4,7 @@ * AbstractService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/CacheService.php b/Classes/Service/CacheService.php index ca7bd7fecf49..64b4bca0ac44 100644 --- a/Classes/Service/CacheService.php +++ b/Classes/Service/CacheService.php @@ -4,7 +4,7 @@ * Cache Service. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/ClientService.php b/Classes/Service/ClientService.php index 0a202faee464..7747893985b1 100644 --- a/Classes/Service/ClientService.php +++ b/Classes/Service/ClientService.php @@ -4,7 +4,7 @@ * ClientService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/ConfigurationService.php b/Classes/Service/ConfigurationService.php index 251d02fe1c24..a3d025147cb1 100644 --- a/Classes/Service/ConfigurationService.php +++ b/Classes/Service/ConfigurationService.php @@ -4,7 +4,7 @@ * Handle extension and TS configuration. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/CookieService.php b/Classes/Service/CookieService.php index 64d9540b08b1..4aac209016f8 100644 --- a/Classes/Service/CookieService.php +++ b/Classes/Service/CookieService.php @@ -4,7 +4,7 @@ * Handle cookie related stuff. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/DateTimeService.php b/Classes/Service/DateTimeService.php index 8d7d1c2356df..51f69ffe92e2 100644 --- a/Classes/Service/DateTimeService.php +++ b/Classes/Service/DateTimeService.php @@ -3,7 +3,7 @@ /** * DateTimeService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/GeneratorService.php b/Classes/Service/GeneratorService.php index 2d7d893d961d..6fa884adfc1c 100644 --- a/Classes/Service/GeneratorService.php +++ b/Classes/Service/GeneratorService.php @@ -3,7 +3,7 @@ /** * GeneratorService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/HtaccessConfigurationService.php b/Classes/Service/HtaccessConfigurationService.php index 86e2358f818f..081ca37c72d6 100644 --- a/Classes/Service/HtaccessConfigurationService.php +++ b/Classes/Service/HtaccessConfigurationService.php @@ -4,7 +4,7 @@ * HtaccessConfigurationService */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/HttpPush/AbstractHttpPush.php b/Classes/Service/HttpPush/AbstractHttpPush.php index ed8f09d996be..285fee0f0570 100644 --- a/Classes/Service/HttpPush/AbstractHttpPush.php +++ b/Classes/Service/HttpPush/AbstractHttpPush.php @@ -3,7 +3,7 @@ /** * AbstractHttpPush. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service\HttpPush; diff --git a/Classes/Service/HttpPush/FontHttpPush.php b/Classes/Service/HttpPush/FontHttpPush.php index d0e5d082f15d..ccd21f436620 100644 --- a/Classes/Service/HttpPush/FontHttpPush.php +++ b/Classes/Service/HttpPush/FontHttpPush.php @@ -4,7 +4,7 @@ * FontHttpPush. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service\HttpPush; diff --git a/Classes/Service/HttpPush/ImageHttpPush.php b/Classes/Service/HttpPush/ImageHttpPush.php index 8d3ee7d07d50..809b1c46b5d3 100644 --- a/Classes/Service/HttpPush/ImageHttpPush.php +++ b/Classes/Service/HttpPush/ImageHttpPush.php @@ -4,7 +4,7 @@ * ImageHttpPush. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service\HttpPush; diff --git a/Classes/Service/HttpPush/ScriptHttpPush.php b/Classes/Service/HttpPush/ScriptHttpPush.php index daffde02845e..30f96d5d3a66 100644 --- a/Classes/Service/HttpPush/ScriptHttpPush.php +++ b/Classes/Service/HttpPush/ScriptHttpPush.php @@ -4,7 +4,7 @@ * ScriptHttpPush. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service\HttpPush; diff --git a/Classes/Service/HttpPush/StyleHttpPush.php b/Classes/Service/HttpPush/StyleHttpPush.php index c4b179302afc..374193c3708b 100644 --- a/Classes/Service/HttpPush/StyleHttpPush.php +++ b/Classes/Service/HttpPush/StyleHttpPush.php @@ -4,7 +4,7 @@ * StyleHttpPush. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service\HttpPush; diff --git a/Classes/Service/HttpPushService.php b/Classes/Service/HttpPushService.php index 95b0c49658f6..b20f5b0da876 100644 --- a/Classes/Service/HttpPushService.php +++ b/Classes/Service/HttpPushService.php @@ -4,7 +4,7 @@ * HttpPushService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/ManifestService.php b/Classes/Service/ManifestService.php index 394794ccd500..cdca7892ef94 100644 --- a/Classes/Service/ManifestService.php +++ b/Classes/Service/ManifestService.php @@ -4,7 +4,7 @@ * ManifestService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/ObjectFactoryService.php b/Classes/Service/ObjectFactoryService.php index 3538f8732dcd..c5ae89bac382 100644 --- a/Classes/Service/ObjectFactoryService.php +++ b/Classes/Service/ObjectFactoryService.php @@ -4,7 +4,7 @@ * ObjectFactoryService */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/QueueService.php b/Classes/Service/QueueService.php index 4d0f393745fa..bcfb2dad4323 100644 --- a/Classes/Service/QueueService.php +++ b/Classes/Service/QueueService.php @@ -4,7 +4,7 @@ * Queue service. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/RemoveService.php b/Classes/Service/RemoveService.php index 111ea1c9d806..6e5d74d377b9 100644 --- a/Classes/Service/RemoveService.php +++ b/Classes/Service/RemoveService.php @@ -3,7 +3,7 @@ * RemoveService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Service/TypoScriptFrontendService.php b/Classes/Service/TypoScriptFrontendService.php index 259df4be576a..d1ef1f4c3ac8 100644 --- a/Classes/Service/TypoScriptFrontendService.php +++ b/Classes/Service/TypoScriptFrontendService.php @@ -3,7 +3,7 @@ * TypoScriptFrontendService. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Service; diff --git a/Classes/Traits/CacheTrait.php b/Classes/Traits/CacheTrait.php index 4514e0fb0031..8b12da9951f5 100644 --- a/Classes/Traits/CacheTrait.php +++ b/Classes/Traits/CacheTrait.php @@ -3,7 +3,7 @@ /** * Caching Trait. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Traits; diff --git a/Classes/ViewHelpers/Be/Buttons/ShortcutViewHelper.php b/Classes/ViewHelpers/Be/Buttons/ShortcutViewHelper.php index c8d821ef0308..ba4ca2aa75bd 100644 --- a/Classes/ViewHelpers/Be/Buttons/ShortcutViewHelper.php +++ b/Classes/ViewHelpers/Be/Buttons/ShortcutViewHelper.php @@ -3,7 +3,7 @@ * ShortcutViewHelper */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\ViewHelpers\Be\Buttons; diff --git a/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php b/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php index 1579d16eadf3..981f3557f3da 100644 --- a/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php +++ b/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php @@ -4,7 +4,7 @@ * ActionMenuViewHelper */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\ViewHelpers\Be\Menus; diff --git a/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php b/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php index d408970c4ff9..fe1ecf398fbf 100644 --- a/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php +++ b/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php @@ -4,7 +4,7 @@ * Override original to add array support. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\ViewHelpers\Be\Widget\Controller; diff --git a/Classes/ViewHelpers/Be/Widget/PaginateViewHelper.php b/Classes/ViewHelpers/Be/Widget/PaginateViewHelper.php index 35df06c58b9b..8fb25f8ed1c7 100644 --- a/Classes/ViewHelpers/Be/Widget/PaginateViewHelper.php +++ b/Classes/ViewHelpers/Be/Widget/PaginateViewHelper.php @@ -4,7 +4,7 @@ * Override original to use our own controller. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\ViewHelpers\Be\Widget; diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php index 020b26ddcb7c..8f2a0af9a8e8 100644 --- a/Configuration/TCA/Overrides/pages.php +++ b/Configuration/TCA/Overrides/pages.php @@ -1,6 +1,6 @@ true, '@PSR2' => true, 'array_syntax' => ['syntax' => 'short'], + 'blank_line_after_opening_tag' => true, + 'braces' => ['allow_single_line_closure' => true], 'cast_spaces' => ['space' => 'none'], + 'compact_nullable_typehint' => true, 'concat_space' => ['spacing' => 'one'], - 'declare_equal_normalize' => ['space' => 'single'], + 'declare_equal_normalize' => ['space' => 'none'], 'dir_constant' => true, 'function_typehint_space' => true, 'hash_to_slash_comment' => true, 'lowercase_cast' => true, + 'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'], 'modernize_types_casting' => true, 'native_function_casing' => true, + 'new_with_braces' => true, 'no_alias_functions' => true, 'no_blank_lines_after_phpdoc' => true, 'no_empty_phpdoc' => true, @@ -56,6 +61,7 @@ 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'], 'return_type_declaration' => ['space_before' => 'none'], 'single_quote' => true, + 'single_trait_insert_per_statement' => true, 'whitespace_after_comma_in_array' => true, ]) ->setFinder($finder); diff --git a/Tests/Unit/AbstractTest.php b/Tests/Unit/AbstractTest.php index 895af0240bcc..ec298bdcf726 100644 --- a/Tests/Unit/AbstractTest.php +++ b/Tests/Unit/AbstractTest.php @@ -4,7 +4,7 @@ * Abstract test. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit; @@ -36,7 +36,7 @@ public function getTsfe() $cacheManager = GeneralUtility::makeInstance(CacheManager::class); $currentVersion = VersionNumberUtility::convertVersionNumberToInteger(VersionNumberUtility::getCurrentTypo3Version()); - if($currentVersion >= 10003000) { + if ($currentVersion >= 10003000) { $cacheManager->setCacheConfigurations([ 'pages' => [ 'frontend' => VariableFrontend::class, @@ -45,16 +45,14 @@ public function getTsfe() ]); return new TypoScriptFrontendController(new Context(), 0, 0); - - } else { - $cacheManager->setCacheConfigurations([ + } + $cacheManager->setCacheConfigurations([ 'cache_pages' => [ 'frontend' => VariableFrontend::class, 'backend' => NullBackend::class, ], ]); - return new TypoScriptFrontendController([], 0, 0); - } + return new TypoScriptFrontendController([], 0, 0); } } diff --git a/Tests/Unit/Cache/IdentifierBuilderTest.php b/Tests/Unit/Cache/IdentifierBuilderTest.php index 62f69bfa7c52..e03f7e3e4e07 100755 --- a/Tests/Unit/Cache/IdentifierBuilderTest.php +++ b/Tests/Unit/Cache/IdentifierBuilderTest.php @@ -4,7 +4,7 @@ * IdentifierBuilderTest. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Cache; diff --git a/Tests/Unit/Cache/Rule/AbstractRuleTest.php b/Tests/Unit/Cache/Rule/AbstractRuleTest.php index 032631e64028..41a9a8d9719e 100644 --- a/Tests/Unit/Cache/Rule/AbstractRuleTest.php +++ b/Tests/Unit/Cache/Rule/AbstractRuleTest.php @@ -4,7 +4,7 @@ * Abstract rule test. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Cache\Rule; diff --git a/Tests/Unit/Cache/Rule/NoFakeFrontendTest.php b/Tests/Unit/Cache/Rule/NoFakeFrontendTest.php index 7b16d215d604..a50f854d110c 100755 --- a/Tests/Unit/Cache/Rule/NoFakeFrontendTest.php +++ b/Tests/Unit/Cache/Rule/NoFakeFrontendTest.php @@ -4,7 +4,7 @@ * Test the Fake Frontend Rule. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Cache\Rule; @@ -21,7 +21,7 @@ class NoFakeFrontendTest extends AbstractRuleTest { public function testCheckNoFakeFrontendController() { - $this->markTestSkipped('Check TSFE in v10'); + self::markTestSkipped('Check TSFE in v10'); $tsfe = $this->getTsfe(); $request = new ServerRequest(); diff --git a/Tests/Unit/Cache/Rule/ValidUriTest.php b/Tests/Unit/Cache/Rule/ValidUriTest.php index dae5d549eb0e..245570baa117 100644 --- a/Tests/Unit/Cache/Rule/ValidUriTest.php +++ b/Tests/Unit/Cache/Rule/ValidUriTest.php @@ -4,7 +4,7 @@ * Test the valid URI Rule. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Cache\Rule; @@ -21,7 +21,7 @@ class ValidUriTest extends AbstractRuleTest { public function testInvalidUri() { - $this->markTestSkipped('Check TSFE in v10'); + self::markTestSkipped('Check TSFE in v10'); $tsfe = $this->getTsfe(); $explanation = []; @@ -43,7 +43,7 @@ public function testInvalidUri() public function testValidUri() { - $this->markTestSkipped('Check TSFE in v10'); + self::markTestSkipped('Check TSFE in v10'); $tsfe = $this->getTsfe(); $explanation = []; diff --git a/Tests/Unit/Cache/UriFrontendTest.php b/Tests/Unit/Cache/UriFrontendTest.php index 4ee655f3bc82..06551453df1e 100755 --- a/Tests/Unit/Cache/UriFrontendTest.php +++ b/Tests/Unit/Cache/UriFrontendTest.php @@ -4,7 +4,7 @@ * Test the URI frontend. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Cache; diff --git a/Tests/Unit/Service/HttpPush/AbstractHttpPushTest.php b/Tests/Unit/Service/HttpPush/AbstractHttpPushTest.php index 5f13e52f3499..1c0b34e44f47 100644 --- a/Tests/Unit/Service/HttpPush/AbstractHttpPushTest.php +++ b/Tests/Unit/Service/HttpPush/AbstractHttpPushTest.php @@ -4,7 +4,7 @@ * AbstractHttpPushTest. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Service\HttpPush; diff --git a/Tests/Unit/Service/HttpPush/ImageHttpPushTest.php b/Tests/Unit/Service/HttpPush/ImageHttpPushTest.php index 2ab1d09fddb7..35ad247642c9 100644 --- a/Tests/Unit/Service/HttpPush/ImageHttpPushTest.php +++ b/Tests/Unit/Service/HttpPush/ImageHttpPushTest.php @@ -4,7 +4,7 @@ * ImageHttpPushTest. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Service\HttpPush; diff --git a/Tests/Unit/Service/HttpPush/ScriptHttpPushTest.php b/Tests/Unit/Service/HttpPush/ScriptHttpPushTest.php index 298a4b7ba2e6..2cca0e6e5f64 100644 --- a/Tests/Unit/Service/HttpPush/ScriptHttpPushTest.php +++ b/Tests/Unit/Service/HttpPush/ScriptHttpPushTest.php @@ -4,7 +4,7 @@ * ScriptHttpPush. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Service\HttpPush; diff --git a/Tests/Unit/Service/HttpPush/StyleHttpPushTest.php b/Tests/Unit/Service/HttpPush/StyleHttpPushTest.php index c84dbb407ba9..b263678a67d8 100644 --- a/Tests/Unit/Service/HttpPush/StyleHttpPushTest.php +++ b/Tests/Unit/Service/HttpPush/StyleHttpPushTest.php @@ -4,7 +4,7 @@ * StyleHttpPushTest. */ -declare(strict_types = 1); +declare(strict_types=1); namespace SFC\Staticfilecache\Tests\Unit\Service\HttpPush;