typo3-cms-fluid-precompiler-module icon indicating copy to clipboard operation
typo3-cms-fluid-precompiler-module copied to clipboard

Fix precompile cache action in backend

Open JBlocks opened this issue 6 years ago • 2 comments

The precompile backend action (system toolbar) is now compatible with the request and response interface

JBlocks avatar Aug 14 '19 08:08 JBlocks

This changes the TYPO3 compatibility of the extension and shouldn't enable strict types or declare strict returns. AFAIK it is possible to have compatible signatures for both v9 and v8 LTS versions.

NamelessCoder avatar Aug 14 '19 09:08 NamelessCoder

This changes the TYPO3 compatibility of the extension and shouldn't enable strict types or declare strict returns. AFAIK it is possible to have compatible signatures for both v9 and v8 LTS versions.

Okay. Removed the declare(strict_types=1);, strict return type and added parameter signature null to get compatible with version 8. Version 8 has no middleware and no request and response interface as method signature. So we have $request = null and $response = null in version 8. I'm totally fine with this implementation.

JBlocks avatar Aug 14 '19 09:08 JBlocks