Skip to content

Commit

Permalink
fix: Phpunit error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuf committed Sep 20, 2024
1 parent 33e9f8d commit cae395e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class ImplementingInterface implements MarkersProcessorInterface
{
public function postProcessMarkers(array &$markers)
public function postProcessMarkers(array &$markers): void
{
$markers['{{MARKER1}}']['replacement'] = 'Modified by hook';
}
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/Frontend/AbstractProcessesMarkersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

abstract class AbstractProcessesMarkersTest extends FunctionalTestCase
{
protected array $testExtensionsToLoad = [
protected $testExtensionsToLoad = [
'typo3conf/ext/variables',
];

protected array $pathsToLinkInTestInstance = [
protected $pathsToLinkInTestInstance = [
'typo3conf/ext/variables/Tests/Functional/Fixtures/Frontend/Sites/' => 'typo3conf/sites',
];

Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Frontend/BreaksOnInvalidHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
class BreaksOnInvalidHookTest extends AbstractProcessesMarkersTest
{
protected array $configurationToUseInTestInstance = [
protected $configurationToUseInTestInstance = [
'EXTCONF' => [
'variables' => [
'postProcessMarkers' => [
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Frontend/ProcessesMarkersHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
class ProcessesMarkersHookTest extends AbstractProcessesMarkersTest
{
protected array $configurationToUseInTestInstance = [
protected $configurationToUseInTestInstance = [
'EXTCONF' => [
'variables' => [
'postProcessMarkers' => [
Expand Down

0 comments on commit cae395e

Please sign in to comment.