Skip to content

Commit

Permalink
cleanup fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann authored and digedag committed Jan 21, 2025
1 parent 360be9e commit be4f058
Show file tree
Hide file tree
Showing 36 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Classes/Configuration/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class Processor implements ConfigurationInterface
/**
* Container für alternative cObjs innerhalb des Plugins.
*
* @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer[]
* @var ContentObjectRenderer[]
*/
private $cObjs = [];

Expand Down
1 change: 1 addition & 0 deletions Classes/Constants.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/* ===========================================================================
\Sys25\RnBase\Search\SearchBase
=========================================================================== */
Expand Down
4 changes: 1 addition & 3 deletions Classes/Utility/Network.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ public static function locationHeaderUrl($path)
public static function redirect($url, $httpStatus = null)
{
if (TYPO3::isTYPO115OrHigher()) {
throw new ImmediateResponseException(
new RedirectResponse($url, $httpStatus ?? 303)
);
throw new ImmediateResponseException(new RedirectResponse($url, $httpStatus ?? 303));
}

$utility = Typo3Classes::getHttpUtilityClass();
Expand Down
4 changes: 2 additions & 2 deletions Classes/Utility/Typo3Classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public static function getTypoScriptParserClass()
}

/**
* @return class-string<\TYPO3\CMS\Backend\Template\DocumentTemplate|\Sys25\RnBase\Backend\Template\Override\DocumentTemplate>
* @return class-string<\TYPO3\CMS\Backend\Template\DocumentTemplate|DocumentTemplate>
*/
public static function getDocumentTemplateClass()
{
Expand Down Expand Up @@ -229,7 +229,7 @@ public static function getHttpUtilityClass()
}

/**
* @return class-string<\TYPO3\CMS\Backend\Template\DocumentTemplate|\Sys25\RnBase\Backend\Template\Override\DocumentTemplate>
* @return class-string<\TYPO3\CMS\Backend\Template\DocumentTemplate|DocumentTemplate>
*/
public static function getMediumDocumentTemplateClass()
{
Expand Down
1 change: 1 addition & 0 deletions Legacy/Logger.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright notice.
*
Expand Down
1 change: 1 addition & 0 deletions Legacy/Scheduler/FieldProvider.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright notice.
*
Expand Down
1 change: 1 addition & 0 deletions Legacy/Scheduler/FieldProviderBase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright notice.
*
Expand Down
1 change: 1 addition & 0 deletions Legacy/Scheduler/Task.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright notice.
*
Expand Down
1 change: 1 addition & 0 deletions Legacy/Wrapper/TypoScriptFrontendController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright notice.
*
Expand Down
1 change: 1 addition & 0 deletions Legacy/view/class.tx_rnbase_view_Base.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions Legacy/view/class.tx_rnbase_view_Single.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/cache/class.tx_rnbase_cache_Manager_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/class.tx_rnbase_tests_controller_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/class.tx_rnbase_tests_parameters_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright notice.
*
Expand Down
1 change: 1 addition & 0 deletions tests/model/class.tx_rnbase_tests_model_Base_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/model/class.tx_rnbase_tests_model_Data_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/model/class.tx_rnbase_tests_model_Media_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_Files_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_Link_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_Lock_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_Network_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_Spyc_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_Strings_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_TCA_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_TSFAL_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions tests/util/class.tx_rnbase_tests_util_TYPO3_testcase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down

0 comments on commit be4f058

Please sign in to comment.