Skip to content

[FEATURE] Add "returnCount" on v:format.replace #360

[FEATURE] Add "returnCount" on v:format.replace

[FEATURE] Add "returnCount" on v:format.replace #360

Triggered via push September 6, 2023 11:44
Status Failure
Total duration 1m 56s
Artifacts

build.yml

on: push
Matrix: phpcs
Matrix: phpstan
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors
PHPStan, PHP 8.2 TYPO3 ^12.1: Classes/ViewHelpers/Format/ReplaceViewHelper.php#L57
Method FluidTYPO3\Vhs\ViewHelpers\Format\ReplaceViewHelper::renderStatic() should return int|string but returns array<int, string>|string.
PHPStan, PHP 8.2 TYPO3 ^12.1
Process completed with exit code 1.
PHPStan, PHP 8.0 TYPO3 ^11.5: Classes/ViewHelpers/Format/ReplaceViewHelper.php#L57
Method FluidTYPO3\Vhs\ViewHelpers\Format\ReplaceViewHelper::renderStatic() should return int|string but returns array<int, string>|string.
PHPStan, PHP 8.0 TYPO3 ^11.5
Process completed with exit code 1.
PHPStan, PHP 8.1 TYPO3 ^11.5: Classes/ViewHelpers/Format/ReplaceViewHelper.php#L57
Method FluidTYPO3\Vhs\ViewHelpers\Format\ReplaceViewHelper::renderStatic() should return int|string but returns array<int, string>|string.
PHPStan, PHP 8.1 TYPO3 ^11.5
Process completed with exit code 1.
PHPStan, PHP 7.4 TYPO3 ^10.4: Classes/ViewHelpers/Format/ReplaceViewHelper.php#L57
Method FluidTYPO3\Vhs\ViewHelpers\Format\ReplaceViewHelper::renderStatic() should return int|string but returns array<int, string>|string.
PHPStan, PHP 7.4 TYPO3 ^10.4
Process completed with exit code 1.
PHPStan, PHP 8.1 TYPO3 ^12.1: Classes/ViewHelpers/Format/ReplaceViewHelper.php#L57
Method FluidTYPO3\Vhs\ViewHelpers\Format\ReplaceViewHelper::renderStatic() should return int|string but returns array<int, string>|string.
PHPStan, PHP 8.1 TYPO3 ^12.1
Process completed with exit code 1.