Added MiddlewareActionAbstract #73
Annotations
7 errors and 2 warnings
phpstan:
Classes/Middleware/MiddlewareActionAbstract.php#L20
Property JAKOTA\Typo3ToolBox\Middleware\MiddlewareActionAbstract::$languageService (TYPO3\CMS\Core\Localization\LanguageService) does not accept default value of type null.
|
phpstan:
Classes/Middleware/MiddlewareActionAbstract.php#L51
Property JAKOTA\Typo3ToolBox\Middleware\MiddlewareActionAbstract::$site (TYPO3\CMS\Core\Site\Entity\Site) does not accept TYPO3\CMS\Core\Site\Entity\Site|null.
|
phpstan:
Classes/Middleware/MiddlewareActionAbstract.php#L55
Cannot call method getLanguageById() on TYPO3\CMS\Core\Site\Entity\Site|null.
|
phpstan:
Classes/Middleware/MiddlewareActionAbstract.php#L57
Property JAKOTA\Typo3ToolBox\Middleware\MiddlewareActionAbstract::$siteLanguage (TYPO3\CMS\Core\Site\Entity\SiteLanguage) does not accept TYPO3\CMS\Core\Site\Entity\SiteLanguage|null.
|
phpstan:
Classes/Middleware/MiddlewareActionAbstract.php#L61
Parameter #1 $language of method TYPO3\CMS\Core\Localization\LanguageServiceFactory::createFromSiteLanguage() expects TYPO3\CMS\Core\Site\Entity\SiteLanguage, TYPO3\CMS\Core\Site\Entity\SiteLanguage|null given.
|
phpstan:
Classes/Middleware/MiddlewareActionAbstract.php#L66
Cannot call method getLanguageId() on TYPO3\CMS\Core\Site\Entity\SiteLanguage|null.
|
phpstan
Process completed with exit code 1.
|
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|