[CLEANUP] Adjust code to CGL and fix small namespace bugs
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Tue, 20 Nov 2012 15:27:02 +0000 (16:27 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 23 Nov 2012 08:15:12 +0000 (09:15 +0100)
* whitespaces, tabs and blank line issues
* bool -> boolean
* int -> integer
* fix wrong namespace annotations

Fixes: #43157
Releases: 6.0
Change-Id: I8397948e19248db029d8efd1555ee56e4982742d
Reviewed-on: http://review.typo3.org/16619
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
223 files changed:
typo3/sysext/fluid/Classes/Compatibility/DocbookGeneratorService.php
typo3/sysext/fluid/Classes/Compatibility/TemplateParserBuilder.php
typo3/sysext/fluid/Classes/Core/Compiler/AbstractCompiledTemplate.php
typo3/sysext/fluid/Classes/Core/Compiler/TemplateCompiler.php
typo3/sysext/fluid/Classes/Core/Exception.php
typo3/sysext/fluid/Classes/Core/Parser/Configuration.php
typo3/sysext/fluid/Classes/Core/Parser/Exception.php
typo3/sysext/fluid/Classes/Core/Parser/Interceptor/Escape.php
typo3/sysext/fluid/Classes/Core/Parser/InterceptorInterface.php
typo3/sysext/fluid/Classes/Core/Parser/ParsedTemplateInterface.php
typo3/sysext/fluid/Classes/Core/Parser/ParsingState.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ArrayNode.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/BooleanNode.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/NodeInterface.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ObjectAccessorNode.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/RenderingContextAwareInterface.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/RootNode.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/TextNode.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php
typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php
typo3/sysext/fluid/Classes/Core/Rendering/RenderingContext.php
typo3/sysext/fluid/Classes/Core/Rendering/RenderingContextInterface.php
typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractConditionViewHelper.php
typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php
typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php
typo3/sysext/fluid/Classes/Core/ViewHelper/ArgumentDefinition.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Arguments.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Exception.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Exception/InvalidVariableException.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Exception/RenderingContextNotAccessibleException.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Facets/ChildNodeAccessInterface.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Facets/CompilableInterface.php
typo3/sysext/fluid/Classes/Core/ViewHelper/Facets/PostParseInterface.php
typo3/sysext/fluid/Classes/Core/ViewHelper/TagBuilder.php
typo3/sysext/fluid/Classes/Core/ViewHelper/TemplateVariableContainer.php
typo3/sysext/fluid/Classes/Core/ViewHelper/ViewHelperInterface.php
typo3/sysext/fluid/Classes/Core/ViewHelper/ViewHelperVariableContainer.php
typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetController.php
typo3/sysext/fluid/Classes/Core/Widget/AbstractWidgetViewHelper.php
typo3/sysext/fluid/Classes/Core/Widget/AjaxWidgetContextHolder.php
typo3/sysext/fluid/Classes/Core/Widget/Bootstrap.php
typo3/sysext/fluid/Classes/Core/Widget/Exception.php
typo3/sysext/fluid/Classes/Core/Widget/Exception/MissingControllerException.php
typo3/sysext/fluid/Classes/Core/Widget/Exception/RenderingContextNotFoundException.php
typo3/sysext/fluid/Classes/Core/Widget/Exception/WidgetContextNotFoundException.php
typo3/sysext/fluid/Classes/Core/Widget/Exception/WidgetRequestNotFoundException.php
typo3/sysext/fluid/Classes/Core/Widget/WidgetContext.php
typo3/sysext/fluid/Classes/Core/Widget/WidgetRequest.php
typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestBuilder.php
typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestHandler.php
typo3/sysext/fluid/Classes/Exception.php
typo3/sysext/fluid/Classes/Fluid.php
typo3/sysext/fluid/Classes/Service/DocbookGenerator.php
typo3/sysext/fluid/Classes/View/AbstractTemplateView.php
typo3/sysext/fluid/Classes/View/Exception.php
typo3/sysext/fluid/Classes/View/Exception/InvalidSectionException.php
typo3/sysext/fluid/Classes/View/Exception/InvalidTemplateResourceException.php
typo3/sysext/fluid/Classes/View/StandaloneView.php
typo3/sysext/fluid/Classes/View/TemplateView.php
typo3/sysext/fluid/Classes/ViewHelpers/AliasViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/BaseViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/AbstractBackendViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Buttons/CshViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Buttons/IconViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Buttons/ShortcutViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/ContainerViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuItemViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/PagePathViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfAuthenticatedViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Security/IfHasRoleViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/TableListViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Widget/Controller/PaginateController.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/Widget/PaginateViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/CommentViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/CountViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/CycleViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/DebugViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/ElseViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/CheckboxViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/ErrorsViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/HiddenViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/PasswordViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/RadioViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/SelectViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/SubmitViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/TextareaViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/TextfieldViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Form/ValidationResultsViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/FormViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/AbstractEncodingViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/CdataViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/CropViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/CurrencyViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/DateViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlentitiesDecodeViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlentitiesViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/HtmlspecialcharsViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/Nl2brViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/NumberViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/PaddingViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/PrintfViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/RawViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/StripTagsViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Format/UrlencodeViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/GroupedForViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/IfViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/LayoutViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/EmailViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/ExternalViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/RenderChildrenViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/SectionViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Security/IfAuthenticatedViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Security/IfHasRoleViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/ThenViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ActionViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/EmailViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ExternalViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ImageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/PageViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/AutocompleteViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/AutocompleteController.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/PaginateViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Compiler/AbstractCompilerTemplateTest.php
typo3/sysext/fluid/Tests/Unit/Core/Fixtures/TestViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Fixtures/TestViewHelper2.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/ChildNodeAccessFacetViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/PostParseFacetViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/Interceptor/EscapeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/ParsingStateTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/AbstractNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/BooleanNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/TextNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/TemplateParserPatternTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/TemplateParserTest.php
typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractConditionViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractTagBasedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ArgumentDefinitionTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/TagBuilderTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/TemplateVariableContainerTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ViewHelperVariableContainerTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetControllerTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AjaxWidgetContextHolderTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetContextTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetRequestBuilderTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetRequestHandlerTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetRequestTest.php
typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php
typo3/sysext/fluid/Tests/Unit/View/Fixtures/TemplateViewFixture.php
typo3/sysext/fluid/Tests/Unit/View/Fixtures/TransparentSyntaxTreeNode.php
typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php
typo3/sysext/fluid/Tests/Unit/View/TemplateViewTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/AliasViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/BaseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Be/IfAuthenticatedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Be/IfHasRoleViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CountViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CycleViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ElseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Fixtures/ConstraintSyntaxTreeNode.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ForViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormFieldViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/AbstractFormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/CheckboxViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/EmptySyntaxTreeNode.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/Fixture_UserDomainClass.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/FormFieldViewHelperBaseTestcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/HiddenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/PasswordViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/RadioViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SubmitViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextareaViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextfieldViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/UploadViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CropViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CurrencyViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/HtmlentitiesViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/HtmlspecialcharsViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/Nl2brViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/NumberViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/PaddingViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/PrintfViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/RawViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/StripTagsViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/UrlencodeViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/GroupedForViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/IfViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/EmailViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/ExternalViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/RenderChildrenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/RenderViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Security/IfHasRoleViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ThenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/EmailViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/ExternalViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ViewHelperBaseTestcase.php

index 5044947..e89a6b6 100644 (file)
@@ -14,9 +14,6 @@ namespace TYPO3\CMS\Fluid\Compatibility;
  * Public License for more details.                                       *
  *                                                                        */
 /**
-
- */
-/**
  * Class extending the docbook generator service for use in typo3 v4.
  *
  * Usage in TypoScript:
@@ -44,7 +41,6 @@ class DocbookGeneratorService extends \TYPO3\CMS\Fluid\Service\DocbookGenerator
        protected function getClassNamesInNamespace($namespace) {
                $namespaceParts = explode('_', $namespace);
                if ($namespaceParts[count($namespaceParts) - 1] == '') {
-
                }
                $classFilePathAndName = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath(\TYPO3\CMS\Core\Utility\GeneralUtility::camelCaseToLowerCaseUnderscored($namespaceParts[1])) . 'Classes/';
                $classFilePathAndName .= implode(array_slice($namespaceParts, 2, -1), '/') . '/';
@@ -76,8 +72,6 @@ class DocbookGeneratorService extends \TYPO3\CMS\Fluid\Service\DocbookGenerator
                $objectFactory = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager');
                return $objectFactory->create($className);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 8c1bd23..8bfba77 100644 (file)
@@ -14,9 +14,6 @@ namespace TYPO3\CMS\Fluid\Compatibility;
  * Public License for more details.                                       *
  *                                                                        */
 /**
-
- */
-/**
  * Build a template parser.
  * Use this class to get a fresh instance of a correctly initialized Fluid template parser.
  */
@@ -26,15 +23,13 @@ class TemplateParserBuilder {
         * Creates a new TemplateParser which is correctly initialized. This is the correct
         * way to get a Fluid parser instance.
         *
-        * @return Tx_Fluid_Core_TemplateParser A correctly initialized Template Parser
+        * @return \TYPO3\CMS\Fluid\Core\Parser\TemplateParser A correctly initialized Template Parser
         */
        static public function build() {
                $templateParser = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Fluid\\Core\\Parser\\TemplateParser');
                $templateParser->injectObjectManager(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager'));
                return $templateParser;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 2b57771..37c37a5 100644 (file)
@@ -94,8 +94,6 @@ abstract class AbstractCompiledTemplate implements \TYPO3\CMS\Fluid\Core\Parser\
                }
                return static::$defaultEncoding;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e8e47f0..0578433 100644 (file)
@@ -10,12 +10,10 @@ namespace TYPO3\CMS\Fluid\Core\Compiler;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class TemplateCompiler implements \TYPO3\CMS\Core\SingletonInterface {
 
        const SHOULD_GENERATE_VIEWHELPER_INVOCATION = '##should_gen_viewhelper##';
+
        /**
         * @var \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend
         */
@@ -263,26 +261,26 @@ return %s;
         */
        public function convertListOfSubNodes(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $node) {
                switch (count($node->getChildNodes())) {
-               case 0:
-                       return array(
-                               'initialization' => '',
-                               'execution' => 'NULL'
-                       );
-               case 1:
-                       $converted = $this->convert(current($node->getChildNodes()));
-                       return $converted;
-               default:
-                       $outputVariableName = $this->variableName('output');
-                       $initializationPhpCode = sprintf('%s = \'\';', $outputVariableName) . chr(10);
-                       foreach ($node->getChildNodes() as $childNode) {
-                               $converted = $this->convert($childNode);
-                               $initializationPhpCode .= $converted['initialization'] . chr(10);
-                               $initializationPhpCode .= sprintf('%s .= %s;', $outputVariableName, $converted['execution']) . chr(10);
-                       }
-                       return array(
-                               'initialization' => $initializationPhpCode,
-                               'execution' => $outputVariableName
-                       );
+                       case 0:
+                               return array(
+                                       'initialization' => '',
+                                       'execution' => 'NULL'
+                               );
+                       case 1:
+                               $converted = $this->convert(current($node->getChildNodes()));
+                               return $converted;
+                       default:
+                               $outputVariableName = $this->variableName('output');
+                               $initializationPhpCode = sprintf('%s = \'\';', $outputVariableName) . chr(10);
+                               foreach ($node->getChildNodes() as $childNode) {
+                                       $converted = $this->convert($childNode);
+                                       $initializationPhpCode .= $converted['initialization'] . chr(10);
+                                       $initializationPhpCode .= sprintf('%s .= %s;', $outputVariableName, $converted['execution']) . chr(10);
+                               }
+                               return array(
+                                       'initialization' => $initializationPhpCode,
+                                       'execution' => $outputVariableName
+                               );
                }
        }
 
@@ -341,8 +339,6 @@ return %s;
        public function variableName($prefix) {
                return '$' . $prefix . $this->variableCounter++;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f779e58..593c932 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\Core;
  */
 class Exception extends \TYPO3\CMS\Fluid\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 2a26d22..3ebbe28 100644 (file)
@@ -52,8 +52,6 @@ class Configuration {
                }
                return \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5671d6f..e3320d1 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\Core\Parser;
  */
 class Exception extends \TYPO3\CMS\Fluid\Core\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index a7f18ef..725f5c9 100644 (file)
@@ -86,8 +86,6 @@ class Escape implements \TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface {
                        \TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface::INTERCEPT_OBJECTACCESSOR
                );
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 9024f2d..81d095b 100644 (file)
@@ -14,12 +14,13 @@ namespace TYPO3\CMS\Fluid\Core\Parser;
  * An interceptor interface. Interceptors are used in the parsing stage to change
  * the syntax tree of a template, e.g. by adding viewhelper nodes.
  */
-interface InterceptorInterface
-{
+interface InterceptorInterface {
+
        const INTERCEPT_OPENING_VIEWHELPER = 1;
        const INTERCEPT_CLOSING_VIEWHELPER = 2;
        const INTERCEPT_TEXT = 3;
        const INTERCEPT_OBJECTACCESSOR = 4;
+
        /**
         * The interceptor can process the given node at will and must return a node
         * that will be used in place of the given node.
@@ -37,7 +38,6 @@ interface InterceptorInterface
         * @return array Array of INTERCEPT_* constants
         */
        public function getInterceptionPoints();
-
 }
 
 ?>
\ No newline at end of file
index 682b8b3..129a795 100644 (file)
@@ -14,22 +14,22 @@ namespace TYPO3\CMS\Fluid\Core\Parser;
  * This interface is returned by Tx_Fluid_Core_Parser_TemplateParser->parse()
  * method and is a parsed template
  */
-interface ParsedTemplateInterface
-{
+interface ParsedTemplateInterface {
+
        /**
         * Render the parsed template with rendering context
         *
         * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext The rendering context to use
-        * @return Rendered string
+        * @return string Rendered string
         */
        public function render(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext);
 
        /**
         * Returns a variable container used in the PostParse Facet.
+        * TODO: remove
         *
         * @return \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer
         */
-       // TODO remove
        public function getVariableContainer();
 
        /**
@@ -62,7 +62,6 @@ interface ParsedTemplateInterface
         * @return boolean TRUE if the template is already compiled, FALSE otherwise
         */
        public function isCompiled();
-
 }
 
 ?>
\ No newline at end of file
index e5dba3e..6ab9d12 100644 (file)
@@ -85,7 +85,7 @@ class ParsingState implements \TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterfa
         * Render the parsed template with rendering context
         *
         * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext The rendering context to use
-        * @return Rendered string
+        * @return string Rendered string
         */
        public function render(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
                return $this->rootNode->evaluate($renderingContext);
@@ -131,9 +131,9 @@ class ParsingState implements \TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterfa
 
        /**
         * Returns a variable container which will be then passed to the postParseFacet.
+        * TODO: Rename to getPostParseVariableContainer
         *
         * @return \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer The variable container or NULL if none has been set yet
-        * @todo Rename to getPostParseVariableContainer
         */
        public function getVariableContainer() {
                return $this->variableContainer;
@@ -170,6 +170,7 @@ class ParsingState implements \TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterfa
         * This requires the current rendering context in order to be able to evaluate the layout name
         *
         * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext
+        * @throws \TYPO3\CMS\Fluid\View\Exception
         * @return string
         */
        public function getLayoutName(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
@@ -203,8 +204,6 @@ class ParsingState implements \TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterfa
        public function isCompiled() {
                return FALSE;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 107667d..88c5b4d 100644 (file)
@@ -75,8 +75,6 @@ abstract class AbstractNode implements \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\N
        public function addChildNode(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface $childNode) {
                $this->childNodes[] = $childNode;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 83d5de8..f2ae28f 100644 (file)
@@ -58,8 +58,6 @@ class ArrayNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
        public function getInternalArray() {
                return $this->internalArray;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0ea31e2..977174d 100644 (file)
@@ -82,6 +82,7 @@ class BooleanNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
         * $this->comparator and $this->syntaxTreeNode.
         *
         * @param \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode
+        * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
         */
        public function __construct(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode) {
                $childNodes = $syntaxTreeNode->getChildNodes();
@@ -184,53 +185,55 @@ class BooleanNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
         *
         * This function must be static public, as it is also directly called from cached templates.
         *
-        * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext
-        * @return boolean TRUE if comparison of left and right side using the comparator emit TRUE, false otherwise
+        * @param string $comparator
+        * @param mixed $evaluatedLeftSide
+        * @param mixed $evaluatedRightSide
         * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
+        * @return boolean TRUE if comparison of left and right side using the comparator emit TRUE, false otherwise
         */
        static public function evaluateComparator($comparator, $evaluatedLeftSide, $evaluatedRightSide) {
                switch ($comparator) {
-               case '==':
-                       if (is_object($evaluatedLeftSide) || is_object($evaluatedRightSide)) {
-                               return $evaluatedLeftSide === $evaluatedRightSide;
-                       } else {
-                               return $evaluatedLeftSide == $evaluatedRightSide;
-                       }
-                       break;
-               case '!=':
-                       if (is_object($evaluatedLeftSide) || is_object($evaluatedRightSide)) {
-                               return $evaluatedLeftSide !== $evaluatedRightSide;
-                       } else {
-                               return $evaluatedLeftSide != $evaluatedRightSide;
-                       }
-                       break;
-               case '%':
-                       if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
-                               return FALSE;
-                       }
-                       return (bool) ((int) $evaluatedLeftSide % (int) $evaluatedRightSide);
-               case '>':
-                       if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
-                               return FALSE;
-                       }
-                       return $evaluatedLeftSide > $evaluatedRightSide;
-               case '>=':
-                       if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
-                               return FALSE;
-                       }
-                       return $evaluatedLeftSide >= $evaluatedRightSide;
-               case '<':
-                       if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
-                               return FALSE;
-                       }
-                       return $evaluatedLeftSide < $evaluatedRightSide;
-               case '<=':
-                       if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
-                               return FALSE;
-                       }
-                       return $evaluatedLeftSide <= $evaluatedRightSide;
-               default:
-                       throw new \TYPO3\CMS\Fluid\Core\Parser\Exception('Comparator "' . $comparator . '" is not implemented.', 1244234398);
+                       case '==':
+                               if (is_object($evaluatedLeftSide) || is_object($evaluatedRightSide)) {
+                                       return $evaluatedLeftSide === $evaluatedRightSide;
+                               } else {
+                                       return $evaluatedLeftSide == $evaluatedRightSide;
+                               }
+                               break;
+                       case '!=':
+                               if (is_object($evaluatedLeftSide) || is_object($evaluatedRightSide)) {
+                                       return $evaluatedLeftSide !== $evaluatedRightSide;
+                               } else {
+                                       return $evaluatedLeftSide != $evaluatedRightSide;
+                               }
+                               break;
+                       case '%':
+                               if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
+                                       return FALSE;
+                               }
+                               return (boolean) ((integer) $evaluatedLeftSide % (integer) $evaluatedRightSide);
+                       case '>':
+                               if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
+                                       return FALSE;
+                               }
+                               return $evaluatedLeftSide > $evaluatedRightSide;
+                       case '>=':
+                               if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
+                                       return FALSE;
+                               }
+                               return $evaluatedLeftSide >= $evaluatedRightSide;
+                       case '<':
+                               if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
+                                       return FALSE;
+                               }
+                               return $evaluatedLeftSide < $evaluatedRightSide;
+                       case '<=':
+                               if (!self::isComparable($evaluatedLeftSide, $evaluatedRightSide)) {
+                                       return FALSE;
+                               }
+                               return $evaluatedLeftSide <= $evaluatedRightSide;
+                       default:
+                               throw new \TYPO3\CMS\Fluid\Core\Parser\Exception('Comparator "' . $comparator . '" is not implemented.', 1244234398);
                }
        }
 
@@ -240,6 +243,8 @@ class BooleanNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
         * only leaving out "array" with "anything" and "object" with anything; as we specify
         * that arrays and objects are incomparable with anything else than their type.
         *
+        * @param mixed $evaluatedLeftSide
+        * @param mixed $evaluatedRightSide
         * @return boolean TRUE if the operands can be compared using arithmetic operators, FALSE otherwise.
         */
        static protected function isComparable($evaluatedLeftSide, $evaluatedRightSide) {
@@ -302,8 +307,6 @@ class BooleanNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
                }
                return FALSE;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 261081b..e601713 100644 (file)
@@ -13,8 +13,8 @@ namespace TYPO3\CMS\Fluid\Core\Parser\SyntaxTree;
 /**
  * Node in the syntax tree.
  */
-interface NodeInterface
-{
+interface NodeInterface {
+
        /**
         * Evaluate all child nodes and return the evaluated results.
         *
@@ -45,7 +45,6 @@ interface NodeInterface
         * @return mixed Evaluated node
         */
        public function evaluate(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext);
-
 }
 
 ?>
\ No newline at end of file
index 22b51dc..7b43ab3 100644 (file)
@@ -91,8 +91,6 @@ class ObjectAccessorNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\Abstrac
                }
                return $subject;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index ab76f5e..d45ce5c 100644 (file)
@@ -15,8 +15,8 @@ namespace TYPO3\CMS\Fluid\Core\Parser\SyntaxTree;
  * marked with this interface will get the current rendering context injected
  * by the ObjectAccessorNode on trying to evaluate them.
  */
-interface RenderingContextAwareInterface
-{
+interface RenderingContextAwareInterface {
+
        /**
         * Sets the current rendering context
         *
@@ -24,7 +24,6 @@ interface RenderingContextAwareInterface
         * @return void
         */
        public function setRenderingContext(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext);
-
 }
 
 ?>
\ No newline at end of file
index f9de754..3923f66 100644 (file)
@@ -24,8 +24,6 @@ class RootNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
        public function evaluate(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
                return $this->evaluateChildNodes($renderingContext);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 14b9218..c8aaa58 100644 (file)
@@ -53,8 +53,6 @@ class TextNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
        public function getText() {
                return $this->text;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index a477c2d..57def6c 100644 (file)
@@ -136,8 +136,6 @@ class ViewHelperNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNod
        public function __sleep() {
                return array('viewHelperClassName', 'arguments', 'childNodes');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 17c9fe2..09cb06c 100644 (file)
@@ -284,6 +284,7 @@ class TemplateParser {
         * TemplateParser directly.
         *
         * @param string $templateString The template to parse as a string
+        * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
         * @return \TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface Parsed template
         */
        public function parse($templateString) {
@@ -326,6 +327,7 @@ class TemplateParser {
         * $this->namespaces.
         *
         * @param string $templateString Template string to extract the namespaces from
+        * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
         * @return string The updated template string without namespace declarations inside
         */
        protected function extractNamespaceDefinitions($templateString) {
@@ -359,6 +361,7 @@ class TemplateParser {
         * Build object tree from the split template
         *
         * @param array $splitTemplate The split template, so that every tag with a namespace declaration is already a separate array element.
+        * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
         * @return \TYPO3\CMS\Fluid\Core\Parser\ParsingState
         */
        protected function buildObjectTree($splitTemplate) {
@@ -413,6 +416,7 @@ class TemplateParser {
         * @param string $namespaceIdentifier Namespace identifier - being looked up in $this->namespaces
         * @param string $methodIdentifier Method identifier
         * @param array $argumentsObjectTree Arguments object tree
+        * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
         * @return void
         */
        protected function initializeViewHelperAndAddItToStack(\TYPO3\CMS\Fluid\Core\Parser\ParsingState $state, $namespaceIdentifier, $methodIdentifier, $argumentsObjectTree) {
@@ -609,10 +613,10 @@ class TemplateParser {
        /**
         * Post process the arguments for the ViewHelpers in the object accessor
         * syntax. We need to convert an array into an array of (only) nodes
+        * TODO: This method should become superflous once the rest has been refactored, so that this code is not needed.
         *
         * @param array $arguments The arguments to be processed
         * @return array the processed array
-        * @todo This method should become superflous once the rest has been refactored, so that this code is not needed.
         */
        protected function postProcessArgumentsForObjectAccessor(array $arguments) {
                foreach ($arguments as $argumentName => $argumentValue) {
@@ -656,7 +660,7 @@ class TemplateParser {
         * no { or < is found, then we just return a TextNode.
         *
         * @param string $argumentString
-        * @return ArgumentObject the corresponding argument object tree.
+        * @return mixed ArgumentObject the corresponding argument object tree.
         */
        protected function buildArgumentObjectTree($argumentString) {
                if (strpos($argumentString, '{') === FALSE && strpos($argumentString, '<') === FALSE) {
@@ -678,12 +682,12 @@ class TemplateParser {
         */
        protected function unquoteString($quotedValue) {
                switch ($quotedValue[0]) {
-               case '"':
-                       $value = str_replace('\\"', '"', trim($quotedValue, '"'));
-                       break;
-               case '\'':
-                       $value = str_replace('\\\'', '\'', trim($quotedValue, '\''));
-                       break;
+                       case '"':
+                               $value = str_replace('\\"', '"', trim($quotedValue, '"'));
+                               break;
+                       case '\'':
+                               $value = str_replace('\\\'', '\'', trim($quotedValue, '\''));
+                               break;
                }
                return str_replace('\\\\', '\\', $value);
        }
@@ -746,7 +750,8 @@ class TemplateParser {
         * - sub-arrays
         *
         * @param string $arrayText Array text
-        * @return Tx_Fluid_ArrayNode the array node built up
+        * @throws \TYPO3\CMS\Fluid\Core\Parser\Exception
+        * @return \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface the array node built up
         */
        protected function recursiveArrayHandler($arrayText) {
                $matches = array();
@@ -785,8 +790,6 @@ class TemplateParser {
                $this->callInterceptor($node, \TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface::INTERCEPT_TEXT, $state);
                $state->getNodeFromStack()->addChildNode($node);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d537f67..8c546e7 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Core\Rendering;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class RenderingContext implements \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface {
 
        /**
@@ -55,8 +52,6 @@ class RenderingContext implements \TYPO3\CMS\Fluid\Core\Rendering\RenderingConte
 
        /**
         * Returns the object manager. Only the ViewHelperNode should do this.
-        *
-        * @param \TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager
         */
        public function getObjectManager() {
                return $this->objectManager;
@@ -117,8 +112,6 @@ class RenderingContext implements \TYPO3\CMS\Fluid\Core\Rendering\RenderingConte
        public function getViewHelperVariableContainer() {
                return $this->viewHelperVariableContainer;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3246212..60b6aa2 100644 (file)
@@ -10,11 +10,8 @@ namespace TYPO3\CMS\Fluid\Core\Rendering;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
+interface RenderingContextInterface {
 
- */
-interface RenderingContextInterface
-{
        /**
         * Get the template variable container
         *
@@ -35,7 +32,6 @@ interface RenderingContextInterface
         * @return \TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperVariableContainer
         */
        public function getViewHelperVariableContainer();
-
 }
 
 ?>
\ No newline at end of file
index 085fc2c..4708c82 100644 (file)
@@ -128,8 +128,6 @@ abstract class AbstractConditionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHel
                }
                return \TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler::SHOULD_GENERATE_VIEWHELPER_INVOCATION;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 7471506..c43348e 100644 (file)
@@ -121,8 +121,6 @@ abstract class AbstractTagBasedViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelp
                $this->registerTagAttribute('tabindex', 'integer', 'Specifies the tab order of this element');
                $this->registerTagAttribute('onclick', 'string', 'JavaScript evaluated for the onclick event');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b8275aa..7e0a78b 100644 (file)
@@ -254,7 +254,6 @@ abstract class AbstractViewHelper {
         * @api
         */
        public function initialize() {
-
        }
 
        /**
@@ -283,7 +282,7 @@ abstract class AbstractViewHelper {
         */
        protected function buildRenderChildrenClosure() {
                $self = $this;
-               return function () use($self) {
+               return function () use ($self) {
                        return $self->renderChildren();
                };
        }
@@ -397,7 +396,6 @@ abstract class AbstractViewHelper {
         * @api
         */
        public function initializeArguments() {
-
        }
 
        /**
@@ -466,10 +464,7 @@ abstract class AbstractViewHelper {
         * @return void
         */
        public function resetState() {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1535961..0d03da7 100644 (file)
@@ -129,8 +129,6 @@ class ArgumentDefinition {
        public function isMethodParameter() {
                return $this->isMethodParameter;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 7a34f1a..8642111 100644 (file)
@@ -27,7 +27,7 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper;
  *
  * @api
  */
-class Arguments implements ArrayAccess {
+class Arguments implements \ArrayAccess {
 
        /**
         * Array storing the arguments themselves
@@ -96,8 +96,6 @@ class Arguments implements ArrayAccess {
        public function hasArgument($argumentName) {
                return $this->offsetExists($argumentName) && $this->arguments[$argumentName] !== NULL;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index da5bc13..923a81d 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper;
  */
 class Exception extends \TYPO3\CMS\Fluid\Core\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index bac5da8..54315d2 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper\Exception;
  */
 class InvalidVariableException extends \TYPO3\CMS\Fluid\Core\ViewHelper\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index d4a9228..0c20fcb 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper\Exception;
  */
 class RenderingContextNotAccessibleException extends \TYPO3\CMS\Fluid\Core\ViewHelper\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 42d9d13..d28a0af 100644 (file)
@@ -22,8 +22,8 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper\Facets;
  *
  * See Tx_Fluid_ViewHelpers_IfViewHelper for an example how it is used.
  */
-interface ChildNodeAccessInterface
-{
+interface ChildNodeAccessInterface {
+
        /**
         * Sets the direct child nodes of the current syntax tree node.
         *
@@ -31,7 +31,6 @@ interface ChildNodeAccessInterface
         * @return void
         */
        public function setChildNodes(array $childNodes);
-
 }
 
 ?>
\ No newline at end of file
index f0af8dd..2ba693f 100644 (file)
@@ -44,8 +44,8 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper\Facets;
  * A ViewHelper which wants to directly influence the resulting PHP code must implement
  * the CompilableInterface, and only implement the compile() method.
  */
-interface CompilableInterface
-{
+interface CompilableInterface {
+
        /**
         * Here follows a more detailed description of the arguments of this function:
         *
@@ -61,7 +61,7 @@ interface CompilableInterface
         * ViewHelperVariableContainer and the ControllerContext.
         *
         * @var array $arguments
-        * @var Closure $renderChildrenClosure
+        * @var \Closure $renderChildrenClosure
         * @var \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext
         * @return string the resulting string which is directly shown
         */
@@ -98,7 +98,6 @@ interface CompilableInterface
         * @return string
         */
        public function compile($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode, \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode, \TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler);
-
 }
 
 ?>
\ No newline at end of file
index be8820c..38728c7 100644 (file)
@@ -22,8 +22,8 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper\Facets;
  *
  * Normally, this facet is not needed, except in really really rare cases.
  */
-interface PostParseInterface
-{
+interface PostParseInterface {
+
        /**
         * Callback which is called directly after the corresponding syntax tree
         * node to this view helper has been built.
@@ -39,7 +39,6 @@ interface PostParseInterface
         * @return void
         */
        static public function postParseEvent(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode $syntaxTreeNode, array $viewHelperArguments, \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $variableContainer);
-
 }
 
 ?>
\ No newline at end of file
index 3904b7f..653b9c1 100644 (file)
@@ -181,7 +181,7 @@ class TagBuilder {
        /**
         * Renders and returns the tag
         *
-        * @return void
+        * @return string
         * @api
         */
        public function render() {
@@ -199,8 +199,6 @@ class TagBuilder {
                }
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 256b38b..027375b 100644 (file)
@@ -50,6 +50,7 @@ class TemplateVariableContainer implements \ArrayAccess {
         *
         * @param string $identifier Identifier of the variable to add
         * @param mixed $value The variable's value
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception\InvalidVariableException
         * @return void
         * @api
         */
@@ -67,7 +68,8 @@ class TemplateVariableContainer implements \ArrayAccess {
         * Get a variable from the context. Throws exception if variable is not found in context.
         *
         * @param string $identifier
-        * @return variable The variable identified by $identifier
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception\InvalidVariableException
+        * @return mixed The variable identified by $identifier
         * @api
         */
        public function get($identifier) {
@@ -84,6 +86,7 @@ class TemplateVariableContainer implements \ArrayAccess {
         * Remove a variable from context. Throws exception if variable is not found in context.
         *
         * @param string $identifier The identifier to remove
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception\InvalidVariableException
         * @return void
         * @api
         */
@@ -170,13 +173,11 @@ class TemplateVariableContainer implements \ArrayAccess {
         * Get a variable from the context. Throws exception if variable is not found in context.
         *
         * @param string $identifier
-        * @return variable The variable identified by $identifier
+        * @return mixed The variable identified by $identifier
         */
        public function offsetGet($identifier) {
                return $this->get($identifier);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d5f19a8..3d1712b 100644 (file)
@@ -20,11 +20,7 @@ namespace TYPO3\CMS\Fluid\Core\ViewHelper;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
-interface ViewHelperInterface
-{
+interface ViewHelperInterface {
 
 }
 
index d0155b5..a96f954 100644 (file)
@@ -138,8 +138,6 @@ class ViewHelperVariableContainer {
        public function __sleep() {
                return array('objects');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0568998..da99322 100644 (file)
@@ -69,8 +69,6 @@ abstract class AbstractWidgetController extends \TYPO3\CMS\Extbase\Mvc\Controlle
                        $view->setTemplateRootPath(\TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName($extbaseFrameworkConfiguration['view']['widget'][$widgetViewHelperClassName]['templateRootPath']));
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 39e589e..2dec786 100644 (file)
@@ -204,8 +204,6 @@ abstract class AbstractWidgetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper
                $this->viewHelperVariableContainer->addOrUpdate('TYPO3\\CMS\\Fluid\\Core\\Widget\\AbstractWidgetViewHelper', 'nextWidgetNumber', $widgetCounter + 1);
                $this->widgetContext->setWidgetIdentifier($widgetIdentifier);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 6761e10..0a0605b 100644 (file)
@@ -104,8 +104,6 @@ class AjaxWidgetContextHolder implements \TYPO3\CMS\Core\SingletonInterface {
                        $GLOBALS['BE_USER']->writeUc();
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index ce130f8..5b19f07 100644 (file)
@@ -60,6 +60,7 @@ class Bootstrap {
        /**
         * Initializes the Object framework.
         *
+        * @param array $configuration
         * @return void
         * @see initialize()
         */
@@ -91,8 +92,6 @@ class Bootstrap {
                        }
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 886a68c..38dd7e2 100644 (file)
@@ -27,8 +27,6 @@ namespace TYPO3\CMS\Fluid\Core\Widget;
  */
 class Exception extends \TYPO3\CMS\Fluid\Core\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index cc943c4..0f04fce 100644 (file)
@@ -25,8 +25,6 @@ namespace TYPO3\CMS\Fluid\Core\Widget\Exception;
  */
 class MissingControllerException extends \TYPO3\CMS\Fluid\Core\Widget\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 0fb88d3..ba802e7 100644 (file)
@@ -25,8 +25,6 @@ namespace TYPO3\CMS\Fluid\Core\Widget\Exception;
  */
 class RenderingContextNotFoundException extends \TYPO3\CMS\Fluid\Core\Widget\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 8fb4766..66b0ccb 100644 (file)
@@ -25,8 +25,6 @@ namespace TYPO3\CMS\Fluid\Core\Widget\Exception;
  */
 class WidgetContextNotFoundException extends \TYPO3\CMS\Fluid\Core\Widget\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 5a755d5..af7f6a7 100644 (file)
@@ -25,8 +25,6 @@ namespace TYPO3\CMS\Fluid\Core\Widget\Exception;
  */
 class WidgetRequestNotFoundException extends \TYPO3\CMS\Fluid\Core\Widget\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 5195626..9254e5f 100644 (file)
@@ -71,10 +71,10 @@ class WidgetContext {
         */
        protected $viewHelperChildNodes;
 
-       // TODO: rename to something more meaningful.
        /**
         * The rendering context of the ViewHelperChildNodes.
         * Only available inside non-AJAX requests.
+        * TODO: rename to something more meaningful.
         *
         * @var \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
         * @transient
@@ -267,8 +267,6 @@ class WidgetContext {
        public function __sleep() {
                return array('widgetIdentifier', 'ajaxWidgetIdentifier', 'widgetConfiguration', 'controllerObjectName', 'parentPluginNamespace', 'parentExtensionName', 'parentPluginName', 'widgetViewHelperClassName');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1fc801a..5bc547d 100644 (file)
@@ -54,8 +54,6 @@ class WidgetRequest extends \TYPO3\CMS\Extbase\Mvc\Web\Request {
        public function getArgumentPrefix() {
                return $this->widgetContext->getParentPluginNamespace() . '[' . $this->widgetContext->getWidgetIdentifier() . ']';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 50e3680..08aac46 100644 (file)
@@ -62,8 +62,6 @@ class WidgetRequestBuilder extends \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder {
                $request->setWidgetContext($widgetContext);
                return $request;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 33823c6..3b183d3 100644 (file)
@@ -95,8 +95,6 @@ class WidgetRequestHandler extends \TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHan
        public function getPriority() {
                return 200;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e591ea2..36a0512 100644 (file)
@@ -13,13 +13,8 @@ namespace TYPO3\CMS\Fluid;
  * TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General      *
  * Public License for more details.                                       *
  *                                                                        */
-/**
-
- */
 class Exception extends \Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 80cf1b4..21f7a22 100644 (file)
@@ -13,16 +13,12 @@ namespace TYPO3\CMS\Fluid;
  * TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General      *
  * Public License for more details.                                       *
  *                                                                        */
-/**
-
- */
 class Fluid {
 
        const LEGACY_NAMESPACE_SEPARATOR = '_';
        const NAMESPACE_SEPARATOR = '\\';
-       static public $debugMode = FALSE;
 
+       static public $debugMode = FALSE;
 }
 
-
 ?>
\ No newline at end of file
index 50bef18..f27d86c 100644 (file)
@@ -14,7 +14,7 @@ namespace TYPO3\CMS\Fluid\Service;
  * XML Schema (XSD) Generator. Will generate an XML schema which can be used for autocompletion
  * in schema-aware editors like Eclipse XML editor.
  */
-class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
+class DocbookGenerator extends \TYPO3\CMS\Fluid\Compatibility\DocbookGeneratorService {
 
        /**
         * Generate the XML Schema definition for a given namespace.
@@ -51,7 +51,7 @@ class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
         *
         * @param string $className Class name to generate the schema for.
         * @param string $namespace Namespace prefix. Used to split off the first parts of the class name.
-        * @param SimpleXMLElement $xmlRootNode XML root node where the xsd:element is appended.
+        * @param \SimpleXMLElement $xmlRootNode XML root node where the xsd:element is appended.
         * @return void
         */
        protected function generateXmlForClassName($className, $namespace, \SimpleXMLElement $xmlRootNode) {
@@ -75,7 +75,7 @@ class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
         * Initializes the view helper and its arguments, and then reads out the list of arguments.
         *
         * @param string $className Class name where to add the attribute descriptions
-        * @param SimpleXMLElement $docbookSection DocBook section to add the attributes to.
+        * @param \SimpleXMLElement $docbookSection DocBook section to add the attributes to.
         * @return void
         */
        protected function addArguments($className, \SimpleXMLElement $docbookSection) {
@@ -107,7 +107,7 @@ class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
        }
 
        /**
-        * @param SimpleXMLElement $parent
+        * @param \SimpleXMLElement $parent
         * @param string $name
         * @param string $type
         * @param boolean $required
@@ -133,7 +133,7 @@ class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
         * CDATA block AND to replace the < and > with their XML entities. (This is IMHO not XML conformant).
         *
         * @param string $documentation Documentation string to add.
-        * @param SimpleXMLElement $docbookSection Node to add the documentation to
+        * @param \SimpleXMLElement $docbookSection Node to add the documentation to
         * @return void
         */
        protected function addDocumentation($documentation, \SimpleXMLElement $docbookSection) {
@@ -153,7 +153,7 @@ class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
 
        /**
         * @param string $text
-        * @param SimpleXMLElement $parentElement
+        * @param \SimpleXMLElement $parentElement
         */
        protected function addText($text, \SimpleXMLElement $parentElement) {
                $splitRegex = '/
@@ -187,8 +187,6 @@ class DocbookGenerator extends Tx_Fluid_Service_AbstractGenerator {
                        }
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 06d7d78..acd2ee1 100644 (file)
@@ -23,6 +23,7 @@ abstract class AbstractTemplateView implements \TYPO3\CMS\Extbase\Mvc\View\ViewI
        const RENDERING_TEMPLATE = 1;
        const RENDERING_PARTIAL = 2;
        const RENDERING_LAYOUT = 3;
+
        /**
         * @var \TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext
         */
@@ -122,7 +123,6 @@ abstract class AbstractTemplateView implements \TYPO3\CMS\Extbase\Mvc\View\ViewI
        }
 
        public function initializeView() {
-
        }
 
        // Here, the backporter can insert the initializeView method, which is needed for Fluid v4.
@@ -363,7 +363,7 @@ abstract class AbstractTemplateView implements \TYPO3\CMS\Extbase\Mvc\View\ViewI
        /**
         * Start a new nested rendering. Pushes the given information onto the $renderingStack.
         *
-        * @param int $type one of the RENDERING_* constants
+        * @param integer $type one of the RENDERING_* constants
         * @param \TYPO3\CMS\Fluid\Core\Parser\ParsedTemplateInterface $parsedTemplate
         * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext
         * @return void
@@ -425,8 +425,6 @@ abstract class AbstractTemplateView implements \TYPO3\CMS\Extbase\Mvc\View\ViewI
        public function canRender(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext $controllerContext) {
                return TRUE;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 8e906d6..0f301d0 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\View;
  */
 class Exception extends \TYPO3\CMS\Fluid\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 0350010..c71b096 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\View\Exception;
  */
 class InvalidSectionException extends \TYPO3\CMS\Fluid\View\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index c179092..2b0e39f 100644 (file)
@@ -17,8 +17,6 @@ namespace TYPO3\CMS\Fluid\View\Exception;
  */
 class InvalidTemplateResourceException extends \TYPO3\CMS\Fluid\View\Exception {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 5f7af37..5eccb41 100644 (file)
@@ -395,8 +395,6 @@ class StandaloneView extends \TYPO3\CMS\Fluid\View\AbstractTemplateView {
                $templateIdentifier = str_replace('/', '_', str_replace('.', '_', $templateIdentifier));
                return $templateIdentifier;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index bdf6abf..3a523e1 100644 (file)
@@ -101,7 +101,6 @@ class TemplateView extends \TYPO3\CMS\Fluid\View\AbstractTemplateView {
        }
 
        public function initializeView() {
-
        }
 
        // Here, the backporter can insert a constructor method, which is needed for Fluid v4.
@@ -470,8 +469,6 @@ class TemplateView extends \TYPO3\CMS\Fluid\View\AbstractTemplateView {
                $templateIdentifier = sprintf('%s_%s_%s_%s', $extensionName, $controllerName, $prefix, sha1($pathAndFilename . '|' . $templateModifiedTimestamp));
                return $templateIdentifier;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f5d71f2..c648e05 100644 (file)
@@ -57,8 +57,6 @@ class AliasViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                }
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e663ab7..1f5341e 100644 (file)
@@ -41,8 +41,6 @@ class BaseViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
        public function render() {
                return '<base href="' . $this->controllerContext->getRequest()->getBaseUri() . '" />';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 2b13b8d..d0a09b9 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Fluid\ViewHelpers\Be;
+
 use \TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /*                                                                        *
@@ -37,7 +38,8 @@ abstract class AbstractBackendViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelpe
                if ($this->viewHelperVariableContainer->exists(
                        'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper',
                        'DocumentTemplate'
-               )) {
+               )
+               ) {
                        $doc = $this->viewHelperVariableContainer->get(
                                'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper',
                                'DocumentTemplate'
@@ -92,5 +94,4 @@ abstract class AbstractBackendViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelpe
        }
 }
 
-
 ?>
\ No newline at end of file
index ad09a4c..b9c2fc3 100644 (file)
@@ -64,8 +64,6 @@ class CshViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendViewH
                $cshButton = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem($table, $field, $GLOBALS['BACK_PATH'], '', $iconOnly, $styleAttributes);
                return '<div class="docheader-csh">' . $cshButton . '</div>';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index cf78888..5b2edcc 100755 (executable)
@@ -54,8 +54,6 @@ class IconViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendView
        public function render($uri, $icon = 'actions-document-close', $title = '') {
                return '<a href="' . $uri . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon($icon, array('title' => $title)) . '</a>';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e23435d..1c93389 100644 (file)
@@ -67,8 +67,6 @@ class ShortcutViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackend
                $setList = implode(',', $setVars);
                return $doc->makeShortcutIcon($getList, $setList, $moduleName);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d15cd85..70255b5 100644 (file)
@@ -87,7 +87,7 @@ class ContainerViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
                        $pageRenderer->loadScriptaculous($scriptaculousModule);
                }
                if ($loadExtJs) {
-                       $pageRenderer->loadExtJS(true, $loadExtJsTheme, $extJsAdapter);
+                       $pageRenderer->loadExtJS(TRUE, $loadExtJsTheme, $extJsAdapter);
                        if ($enableExtJsDebug) {
                                $pageRenderer->enableExtJsDebug();
                        }
@@ -103,8 +103,6 @@ class ContainerViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
                $output .= $doc->endPage();
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d4460da..ed94a44 100644 (file)
@@ -78,8 +78,6 @@ class ActionMenuItemViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract
                $this->tag->setContent($label);
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 928557c..2c09203 100644 (file)
@@ -90,8 +90,6 @@ class ActionMenuViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagB
                $this->tag->setContent($options);
                return '<div class="docheader-funcmenu">' . $this->tag->render() . '</div>';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b3924b7..68c5f2c 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Fluid\ViewHelpers\Be;
+
 use \TYPO3\CMS\Backend\Utility\BackendUtility;
 use \TYPO3\CMS\Backend\Utility\IconUtility;
 
@@ -68,8 +69,6 @@ class PageInfoViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackend
                $pageInfo = $theIcon . '<em>[pid: ' . $pageRecord['uid'] . ']</em>';
                return $pageInfo;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0f530f4..3c491e7 100644 (file)
@@ -64,8 +64,6 @@ class PagePathViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackend
                $pagePath .= '</span>';
                return $pagePath;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index cafbaac..47b260f 100644 (file)
@@ -65,8 +65,6 @@ class IfAuthenticatedViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstrac
                }
                return $this->renderElseChild();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e4fc53d..f832ac3 100644 (file)
@@ -90,7 +90,7 @@ class IfHasRoleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractCondi
                }
                if (is_numeric($role)) {
                        foreach ($GLOBALS['BE_USER']->userGroups as $userGroup) {
-                               if ((int) $userGroup['uid'] === (int) $role) {
+                               if ((integer) $userGroup['uid'] === (integer) $role) {
                                        return TRUE;
                                }
                        }
@@ -103,8 +103,6 @@ class IfHasRoleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractCondi
                }
                return FALSE;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 013dc24..91dafd4 100644 (file)
@@ -44,9 +44,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Be;
  * Clicking on a username will open the TYPO3 info popup for the respective record
  * </output>
  */
-require_once PATH_typo3 . 'class.db_list.inc';
-require_once PATH_typo3 . 'class.db_list_extra.inc';
-
 class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBackendViewHelper {
 
        /**
@@ -58,7 +55,7 @@ class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
         * @param \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager
         * @return void
         */
-       public function injectConfigurationManager(\Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager) {
+       public function injectConfigurationManager(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager) {
                $this->configurationManager = $configurationManager;
        }
 
@@ -98,7 +95,7 @@ class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
                        $frameworkConfiguration = $this->configurationManager->getConfiguration(\Tx_Extbase_Configuration_ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
                        $storagePid = $frameworkConfiguration['persistence']['storagePid'];
                }
-               $dblist->start($storagePid, $tableName, (int) \t3lib_div::_GP('pointer'), $filter, $levels, $recordsPerPage);
+               $dblist->start($storagePid, $tableName, (integer) \t3lib_div::_GP('pointer'), $filter, $levels, $recordsPerPage);
                $dblist->allFields = TRUE;
                $dblist->dontShowClipControlPanels = TRUE;
                $dblist->displayFields = FALSE;
@@ -110,8 +107,6 @@ class TableListViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Be\AbstractBacken
                $dblist->generateList();
                return $dblist->HTMLcode;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1461cf1..f7f4f08 100644 (file)
@@ -18,9 +18,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Be\Widget\Controller;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController {
 
        /**
@@ -65,7 +62,7 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
                $this->objects = $this->widgetConfiguration['objects'];
                $this->configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::array_merge_recursive_overrule($this->configuration, $this->widgetConfiguration['configuration'], TRUE);
                $this->numberOfObjects = count($this->objects);
-               $this->numberOfPages = ceil($this->numberOfObjects / (int) $this->configuration['itemsPerPage']);
+               $this->numberOfPages = ceil($this->numberOfObjects / (integer) $this->configuration['itemsPerPage']);
        }
 
        /**
@@ -74,7 +71,7 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
         */
        public function indexAction($currentPage = 1) {
                // set current page
-               $this->currentPage = (int) $currentPage;
+               $this->currentPage = (integer) $currentPage;
                if ($this->currentPage < 1) {
                        $this->currentPage = 1;
                }
@@ -83,7 +80,7 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
                        $modifiedObjects = NULL;
                } else {
                        // modify query
-                       $this->itemsPerPage = (int) $this->configuration['itemsPerPage'];
+                       $this->itemsPerPage = (integer) $this->configuration['itemsPerPage'];
                        $query = $this->objects->getQuery();
                        $query->setLimit($this->itemsPerPage);
                        $this->offset = $this->itemsPerPage * ($this->currentPage - 1);
@@ -125,8 +122,6 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
                }
                return $pagination;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index fe9d37d..9b22e08 100644 (file)
@@ -73,8 +73,6 @@ class PaginateViewHelper extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetView
        public function render(\TYPO3\CMS\Extbase\Persistence\QueryResultInterface $objects, $as, array $configuration = array('itemsPerPage' => 10, 'insertAbove' => FALSE, 'insertBelow' => TRUE, 'recordsLabel' => '')) {
                return $this->initiateSubRequest();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index aa416ca..f345cc1 100644 (file)
@@ -55,7 +55,7 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
        protected $typoScriptSetup;
 
        /**
-        * @var         t3lib_fe contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
+        * @var \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
         */
        protected $tsfeBackup;
 
@@ -79,6 +79,7 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
         * @param string $typoscriptObjectPath the TypoScript setup path of the TypoScript object to render
         * @param mixed $data the data to be used for rendering the cObject. Can be an object, array or string. If this argument is not set, child nodes will be used
         * @param string $currentValueKey
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return string the content of the rendered TypoScript object
         */
        public function render($typoscriptObjectPath, $data = NULL, $currentValueKey = NULL) {
@@ -139,8 +140,6 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
        protected function resetFrontendEnvironment() {
                $GLOBALS['TSFE'] = $this->tsfeBackup;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 7509aeb..6424a59 100644 (file)
@@ -55,10 +55,7 @@ class CommentViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
         * @api
         */
        public function render() {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0a566d5..cba64dd 100644 (file)
@@ -54,8 +54,6 @@ class CountViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                }
                return count($subject);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f6b42ae..0922ea4 100644 (file)
@@ -88,6 +88,7 @@ class CycleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
         * Sets this->values to the current values argument and resets $this->currentCycleIndex.
         *
         * @param array $values The array or \TYPO3\CMS\Extbase\Persistence\ObjectStorage to be stored in $this->values
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return void
         */
        protected function initializeValues($values) {
@@ -101,8 +102,6 @@ class CycleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                }
                $this->currentCycleIndex = 0;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 116a5ca..961ae1b 100644 (file)
@@ -47,10 +47,8 @@ class DebugViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
         * @return string
         */
        public function render($title = NULL, $maxDepth = 8, $plainText = FALSE, $ansiColors = FALSE, $inline = FALSE, $blacklistedClassNames = NULL, $blacklistedPropertyNames = NULL) {
-               return \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->renderChildren(), $title, $maxDepth, (bool) $plainText, (bool) $ansiColors, (bool) $inline, $blacklistedClassNames, $blacklistedPropertyNames);
+               return \TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->renderChildren(), $title, $maxDepth, (boolean) $plainText, (boolean) $ansiColors, (boolean) $inline, $blacklistedClassNames, $blacklistedPropertyNames);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 032ac9f..7f2a00a 100644 (file)
@@ -39,8 +39,6 @@ class ElseViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
        public function render() {
                return $this->renderChildren();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d11054e..168e6a5 100644 (file)
@@ -65,6 +65,7 @@ class FlashMessagesViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractT
 
        const RENDER_MODE_UL = 'ul';
        const RENDER_MODE_DIV = 'div';
+
        /**
         * @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
         */
@@ -113,12 +114,12 @@ class FlashMessagesViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractT
                        $GLOBALS['TSFE']->no_cache = 1;
                }
                switch ($renderMode) {
-               case self::RENDER_MODE_UL:
-                       return $this->renderUl($flashMessages);
-               case self::RENDER_MODE_DIV:
-                       return $this->renderDiv($flashMessages);
-               default:
-                       throw new \TYPO3\CMS\Fluid\Core\ViewHelper\Exception('Invalid render mode "' . $renderMode . '" passed to FlashMessageViewhelper', 1290697924);
+                       case self::RENDER_MODE_UL:
+                               return $this->renderUl($flashMessages);
+                       case self::RENDER_MODE_DIV:
+                               return $this->renderDiv($flashMessages);
+                       default:
+                               throw new \TYPO3\CMS\Fluid\Core\ViewHelper\Exception('Invalid render mode "' . $renderMode . '" passed to FlashMessageViewhelper', 1290697924);
                }
        }
 
@@ -161,8 +162,6 @@ class FlashMessagesViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractT
                $this->tag->setContent($tagContent);
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f567195..9cefda6 100644 (file)
@@ -76,7 +76,7 @@ class ForViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
 
        /**
         * @param array $arguments
-        * @param Closure $renderChildrenClosure
+        * @param \Closure $renderChildrenClosure
         * @param \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext
         * @return string
         */
@@ -126,8 +126,6 @@ class ForViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
                }
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index c0edc6c..7b76581 100644 (file)
@@ -292,8 +292,6 @@ abstract class AbstractFormFieldViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\
                }
                return '';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index bcc9cc7..ef8ce2b 100644 (file)
@@ -96,8 +96,6 @@ abstract class AbstractFormViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\A
                $formFieldNames[] = $fieldName;
                $this->viewHelperVariableContainer->addOrUpdate('TYPO3\\CMS\\Fluid\\ViewHelpers\\FormViewHelper', 'formFieldNames', $formFieldNames);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5442c68..b8508d4 100644 (file)
@@ -65,6 +65,7 @@ class CheckboxViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF
         * Renders the checkbox.
         *
         * @param boolean $checked Specifies that the input element should be preselected
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return string
         * @api
         */
@@ -75,7 +76,7 @@ class CheckboxViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF
                if ($checked === NULL && $this->isObjectAccessorMode()) {
                        $propertyValue = $this->getPropertyValue();
                        if (is_bool($propertyValue)) {
-                               $checked = $propertyValue === (bool) $valueAttribute;
+                               $checked = $propertyValue === (boolean) $valueAttribute;
                        } elseif (is_array($propertyValue)) {
                                $checked = in_array($valueAttribute, $propertyValue);
                                $nameAttribute .= '[]';
@@ -93,8 +94,6 @@ class CheckboxViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF
                $hiddenField = $this->renderHiddenFieldForEmptyValue();
                return $hiddenField . $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index bd16367..b21a9ff 100644 (file)
@@ -98,8 +98,6 @@ class ErrorsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
                }
                return array();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1467e3a..f328b87 100644 (file)
@@ -59,8 +59,7 @@ class HiddenViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie
                $this->tag->addAttribute('value', $this->getValue());
                return $this->tag->render();
        }
-
 }
 
-
+?>
 ?>
\ No newline at end of file
index 4200f9e..2daf233 100644 (file)
@@ -62,8 +62,6 @@ class PasswordViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF
                $this->setErrorClassAttribute();
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3124aac..417a484 100644 (file)
@@ -88,8 +88,6 @@ class RadioViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFiel
                $this->setErrorClassAttribute();
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3794ad7..496ad57 100644 (file)
@@ -173,7 +173,7 @@ class SelectViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie
                                                }
                                        }
                                } elseif (method_exists($value, '__toString')) {
-                                       $value = (string)$value;
+                                       $value = (string) $value;
                                // TODO: use $this->persistenceManager->isNewObject() once it is implemented
                                } elseif ($this->persistenceManager->getIdentifierByObject($value) !== NULL) {
                                        $value = $this->persistenceManager->getIdentifierByObject($value);
@@ -264,8 +264,6 @@ class SelectViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie
                $output .= '>' . htmlspecialchars($label) . '</option>';
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0019986..7591a7f 100644 (file)
@@ -64,8 +64,6 @@ class SubmitViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie
                $this->tag->addAttribute('value', $this->getValue());
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3fe28bc..4824cf6 100644 (file)
@@ -62,8 +62,6 @@ class TextareaViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormF
                $this->setErrorClassAttribute();
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index c86e796..d5c0c3a 100644 (file)
@@ -74,8 +74,6 @@ class TextfieldViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractForm
                $this->setErrorClassAttribute();
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 8a91e2a..4342441 100644 (file)
@@ -72,8 +72,6 @@ class UploadViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormFie
                $this->setErrorClassAttribute();
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 78a808f..6d94687 100644 (file)
@@ -52,7 +52,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Form;
  * </output>
  *
  * @api
- * @scope prototype
  */
 class ValidationResultsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper {
 
@@ -74,8 +73,6 @@ class ValidationResultsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstr
                $this->templateVariableContainer->remove($as);
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index eb06a45..5a3d9cd 100644 (file)
@@ -21,9 +21,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers;
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
 /**
-
- */
-/**
  * Form view helper. Generates a <form> Tag.
  *
  * = Basic usage =
@@ -423,8 +420,6 @@ class FormViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Form\AbstractFormViewH
                        $this->viewHelperVariableContainer->remove('TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\CheckboxViewHelper', 'checkboxFieldNames');
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index c4416ec..02c0db6 100644 (file)
@@ -35,8 +35,6 @@ abstract class AbstractEncodingViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelp
                }
                return self::$defaultEncoding;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1fd811a..9ea10ec 100644 (file)
@@ -61,8 +61,6 @@ class CdataViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                }
                return sprintf('<![CDATA[%s]]>', $value);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 16150c9..7e6f2ce 100644 (file)
@@ -14,9 +14,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Format;
  * Public License for more details.                                       *
  *                                                                        */
 /**
-
- */
-/**
  * Use this view helper to crop the text between its opening and closing tags.
  *
  * = Examples =
@@ -60,12 +57,12 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Format;
 class CropViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper {
 
        /**
-        * @var         tslib_cObj
+        * @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
         */
        protected $contentObject;
 
        /**
-        * @var         t3lib_fe contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
+        * @var \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
         */
        protected $tsfeBackup;
 
@@ -88,7 +85,7 @@ class CropViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
         *
         * @param integer $maxCharacters Place where to truncate the string
         * @param string $append What to append, if truncation happened
-        * @param boolean $respectBoundaries If TRUE and division is in the middle of a word, the remains of that word is removed.
+        * @param boolean $respectWordBoundaries If TRUE and division is in the middle of a word, the remains of that word is removed.
         * @param boolean $respectHtml If TRUE the cropped string will respect HTML tags and entities. Technically that means, that cropHTML() is called rather than crop()
         * @return string cropped text
         */
@@ -144,8 +141,6 @@ class CropViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
        protected function resetFrontendEnvironment() {
                $GLOBALS['TSFE'] = $this->tsfeBackup;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 6b3882d..63557d5 100644 (file)
@@ -68,8 +68,6 @@ class CurrencyViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHe
                }
                return $output;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 2791f0e..eed554e 100644 (file)
@@ -77,6 +77,7 @@ class DateViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
         *
         * @param mixed $date either a DateTime object or a string that is accepted by DateTime constructor
         * @param string $format Format String which is taken to format the Date/Time
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return string Formatted date
         * @api
         */
@@ -96,8 +97,6 @@ class DateViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
                }
                return $date->format($format);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1430010..6394f6c 100644 (file)
@@ -14,9 +14,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Format;
  * Public License for more details.                                       *
  *                                                                        */
 /**
-
- */
-/**
  * Renders a string by passing it to a TYPO3 parseFunc.
  * You can either specify a path to the TypoScript setting or set the parseFunc options directly.
  * By default lib.parseFunc_RTE is used to parse the string.
@@ -50,12 +47,12 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Format;
 class HtmlViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper {
 
        /**
-        * @var         tslib_cObj
+        * @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer
         */
        protected $contentObject;
 
        /**
-        * @var         t3lib_fe contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
+        * @var \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
         */
        protected $tsfeBackup;
 
@@ -84,7 +81,7 @@ class HtmlViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
 
        /**
         * @param string $parseFuncTSPath path to TypoScript parseFunc setup.
-        * @return the parsed string.
+        * @return string the parsed string.
         */
        public function render($parseFuncTSPath = 'lib.parseFunc_RTE') {
                if (TYPO3_MODE === 'BE') {
@@ -119,8 +116,6 @@ class HtmlViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
        protected function resetFrontendEnvironment() {
                $GLOBALS['TSFE'] = $this->tsfeBackup;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index cd959cc..7d56c55 100644 (file)
@@ -49,8 +49,6 @@ class HtmlentitiesDecodeViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Format\A
                $flags = $keepQuotes ? ENT_NOQUOTES : ENT_COMPAT;
                return html_entity_decode($value, $flags, $encoding);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index ff727f7..8a0a2c3 100644 (file)
@@ -50,8 +50,6 @@ class HtmlentitiesViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Format\Abstrac
                $flags = $keepQuotes ? ENT_NOQUOTES : ENT_COMPAT;
                return htmlentities($value, $flags, $encoding, $doubleEncode);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d7eb307..9dbf15b 100644 (file)
@@ -56,8 +56,6 @@ class HtmlspecialcharsViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\Format\Abs
                $initializationPhpCode .= sprintf('%s = (%s[\'value\'] !== NULL ? %s[\'value\'] : %s());', $valueVariableName, $argumentsVariableName, $argumentsVariableName, $renderChildrenClosureVariableName) . chr(10);
                return sprintf('(!is_string(%s) ? %s : htmlspecialchars(%s, (%s[\'keepQuotes\'] ? ENT_NOQUOTES : ENT_COMPAT), (%s[\'encoding\'] !== NULL ? %s[\'encoding\'] : TYPO3\\CMS\\Fluid\\Core\\Compiler\\AbstractCompiledTemplate::resolveDefaultEncoding()), %s[\'doubleEncode\']))', $valueVariableName, $valueVariableName, $valueVariableName, $argumentsVariableName, $argumentsVariableName, $argumentsVariableName, $argumentsVariableName);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index fb0f5f5..6dbe4b3 100644 (file)
@@ -28,8 +28,6 @@ class Nl2brViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                $content = $this->renderChildren();
                return nl2br($content);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1b281e3..65d6e4a 100644 (file)
@@ -22,7 +22,7 @@ class NumberViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
         * Format the numeric value as a number with grouped thousands, decimal point and
         * precision.
         *
-        * @param int $decimals The number of digits after the decimal point
+        * @param integer $decimals The number of digits after the decimal point
         * @param string $decimalSeparator The decimal point character
         * @param string $thousandsSeparator The character for grouping the thousand digits
         * @return string The formatted number
@@ -32,8 +32,6 @@ class NumberViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
                $stringToFormat = $this->renderChildren();
                return number_format($stringToFormat, $decimals, $decimalSeparator, $thousandsSeparator);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index a2ad3db..62e3403 100644 (file)
@@ -39,8 +39,6 @@ class PaddingViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
                }
                return str_pad($string, $padLength, $padString, $padTypes[$padType]);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 36ff68a..6f76b1f 100644 (file)
@@ -60,8 +60,6 @@ class PrintfViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
                $format = $this->renderChildren();
                return vsprintf($format, $arguments);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 75cbc50..1828291 100644 (file)
@@ -63,8 +63,6 @@ class RawViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
                        return $value;
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b6c28af..2d41714 100644 (file)
@@ -42,8 +42,6 @@ class StripTagsViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewH
                }
                return strip_tags($value);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5c1fafa..101c1cd 100644 (file)
@@ -42,8 +42,6 @@ class UrlencodeViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewH
                }
                return rawurlencode($value);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d37ec5e..a664a61 100644 (file)
@@ -77,6 +77,7 @@ class GroupedForViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractView
         * @param string $as The name of the iteration variable
         * @param string $groupBy Group by this property
         * @param string $groupKey The name of the variable to store the current group
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return string Rendered string
         * @api
         */
@@ -107,6 +108,7 @@ class GroupedForViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractView
         *
         * @param array $elements The array / traversable object to be grouped
         * @param string $groupBy Group by this property
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return array The grouped array in the form array('keys' => array('key1' => [key1value], 'key2' => [key2value], ...), 'values' => array('key1' => array([key1value] => [element1]), ...), ...)
         */
        protected function groupElements(array $elements, $groupBy) {
@@ -128,8 +130,6 @@ class GroupedForViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractView
                }
                return $groups;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 9ddffbc..65d3531 100644 (file)
@@ -99,8 +99,6 @@ class IfViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionVie
                        return $this->renderElseChild();
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 15b65d1..f7f91d5 100644 (file)
@@ -55,7 +55,7 @@ class ImageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedV
        protected $tagName = 'img';
 
        /**
-        * @var t3lib_fe contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
+        * @var \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController contains a backup of the current $GLOBALS['TSFE'] if used in BE mode
         */
        protected $tsfeBackup;
 
@@ -103,6 +103,7 @@ class ImageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedV
         * @param integer $minHeight minimum height of the image
         * @param integer $maxWidth maximum width of the image
         * @param integer $maxHeight maximum height of the image
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return string rendered tag.
         */
        public function render($src, $width = NULL, $height = NULL, $minWidth = NULL, $minHeight = NULL, $maxWidth = NULL, $maxHeight = NULL) {
@@ -177,7 +178,6 @@ class ImageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedV
                $GLOBALS['TSFE'] = $this->tsfeBackup;
                chdir($this->workingDirectoryBackup);
        }
-
 }
 
 ?>
\ No newline at end of file
index 61f7c8a..691869b 100644 (file)
@@ -60,10 +60,7 @@ class LayoutViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
         * @api
         */
        public function render() {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 94c5717..c30bf71 100644 (file)
@@ -73,8 +73,6 @@ class ActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBased
                $this->tag->forceClosingTag(TRUE);
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index ea27686..39905f5 100644 (file)
@@ -14,9 +14,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Link;
  * Public License for more details.                                       *
  *                                                                        */
 /**
-
- */
-/**
  * Email link view helper.
  * Generates an email link incorporating TYPO3s spamProtectEmailAddresses-settings.
  *
@@ -78,7 +75,6 @@ class EmailViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedV
                $this->tag->forceClosingTag(TRUE);
                return $this->tag->render();
        }
-
 }
 
 ?>
\ No newline at end of file
index 23231a4..32a475b 100644 (file)
@@ -68,8 +68,6 @@ class ExternalViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBas
                $this->tag->forceClosingTag(TRUE);
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b653e7c..a9a06dc 100644 (file)
@@ -61,7 +61,7 @@ class PageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi
        }
 
        /**
-        * @param integer $page target page. See TypoLink destination
+        * @param integer|NULL $pageUid target page. See TypoLink destination
         * @param array $additionalParams query parameters to be attached to the resulting URI
         * @param integer $pageType type of the target page. See typolink.parameter
         * @param boolean $noCache set this to disable caching for the target page. You should not need this.
@@ -80,8 +80,6 @@ class PageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi
                $this->tag->setContent($this->renderChildren());
                return $this->tag->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 99c5d52..99ecd08 100644 (file)
@@ -47,6 +47,7 @@ class RenderChildrenViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract
        /**
         * Get the widget rendering context, or throw an exception if it cannot be found.
         *
+        * @throws \TYPO3\CMS\Fluid\Core\Widget\Exception\RenderingContextNotFoundException
         * @return \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
         */
        protected function getWidgetRenderingContext() {
@@ -65,6 +66,7 @@ class RenderChildrenViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract
        }
 
        /**
+        * @throws \TYPO3\CMS\Fluid\Core\Widget\Exception\WidgetRequestNotFoundException
         * @return \TYPO3\CMS\Fluid\Core\Widget\WidgetContext
         */
        protected function getWidgetContext() {
@@ -100,8 +102,6 @@ class RenderChildrenViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract
                        $templateVariableContainer->remove($identifier);
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 295a672..806073b 100644 (file)
@@ -102,8 +102,6 @@ class RenderViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
                }
                return $arguments;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 14741db..66a2372 100644 (file)
@@ -111,8 +111,6 @@ class SectionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHel
        public function compile($argumentsVariableName, $renderChildrenClosureVariableName, &$initializationPhpCode, \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode $syntaxTreeNode, \TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler $templateCompiler) {
                return '\'\'';
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 88ac03f..556fc26 100644 (file)
@@ -65,8 +65,6 @@ class IfAuthenticatedViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstrac
                }
                return $this->renderElseChild();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 15ed20b..6a6419a 100644 (file)
@@ -94,8 +94,6 @@ class IfHasRoleViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractCondi
                        return is_array($GLOBALS['TSFE']->fe_user->groupData['title']) && in_array($role, $GLOBALS['TSFE']->fe_user->groupData['title']);
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 84d3524..6ec91ab 100644 (file)
@@ -27,8 +27,6 @@ class ThenViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
        public function render() {
                return $this->renderChildren();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index a727d90..fa312ee 100644 (file)
@@ -117,4 +117,4 @@ class TranslateViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewH
        }
 }
 
-?>
\ No newline at end of file
+?>
index e2783c8..ab171ab 100644 (file)
@@ -52,8 +52,6 @@ class ActionViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelp
                $uri = $uriBuilder->reset()->setTargetPageUid($pageUid)->setTargetPageType($pageType)->setNoCache($noCache)->setUseCacheHash(!$noCacheHash)->setSection($section)->setFormat($format)->setLinkAccessRestrictedPages($linkAccessRestrictedPages)->setArguments($additionalParams)->setCreateAbsoluteUri($absolute)->setAddQueryString($addQueryString)->setArgumentsToBeExcludedFromQueryString($argumentsToBeExcludedFromQueryString)->uriFor($action, $arguments, $controller, $extensionName, $pluginName);
                return $uri;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 07b16ba..68c404c 100644 (file)
@@ -41,8 +41,6 @@ class EmailViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                        return 'mailto:' . $email;
                }
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d808b62..7b2b2e8 100644 (file)
@@ -47,8 +47,6 @@ class ExternalViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHe
                }
                return $uri;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index febf1b5..21f4723 100644 (file)
@@ -74,6 +74,7 @@ class ImageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
         * @param integer $minHeight minimum height of the image
         * @param integer $maxWidth maximum width of the image
         * @param integer $maxHeight maximum height of the image
+        * @throws \TYPO3\CMS\Fluid\Core\ViewHelper\Exception
         * @return string path to the image
         */
        public function render($src, $width = NULL, $height = NULL, $minWidth = NULL, $minHeight = NULL, $maxWidth = NULL, $maxHeight = NULL) {
@@ -138,8 +139,6 @@ class ImageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                $GLOBALS['TSFE'] = $this->tsfeBackup;
                chdir($this->workingDirectoryBackup);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 285be91..b48de88 100644 (file)
@@ -45,7 +45,7 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Uri;
 class PageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper {
 
        /**
-        * @param integer $page target PID
+        * @param integer|NULL $pageUid target PID
         * @param array $additionalParams query parameters to be attached to the resulting URI
         * @param integer $pageType type of the target page. See typolink.parameter
         * @param boolean $noCache set this to disable caching for the target page. You should not need this.
@@ -62,8 +62,6 @@ class PageViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
                $uri = $uriBuilder->setTargetPageUid($pageUid)->setTargetPageType($pageType)->setNoCache($noCache)->setUseCacheHash(!$noCacheHash)->setSection($section)->setLinkAccessRestrictedPages($linkAccessRestrictedPages)->setArguments($additionalParams)->setCreateAbsoluteUri($absolute)->setAddQueryString($addQueryString)->setArgumentsToBeExcludedFromQueryString($argumentsToBeExcludedFromQueryString)->build();
                return $uri;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 52042e8..93cdd97 100644 (file)
@@ -52,8 +52,6 @@ class ResourceViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHe
                }
                return $uri;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 071d558..c4e3185 100644 (file)
@@ -71,8 +71,6 @@ class AutocompleteViewHelper extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidget
        public function render(\TYPO3\CMS\Extbase\Persistence\Generic\QueryResult $objects, $for, $searchProperty) {
                return $this->initiateSubRequest();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d1560fa..d09ed6d 100644 (file)
@@ -20,9 +20,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class AutocompleteController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController {
 
        /**
@@ -57,8 +54,6 @@ class AutocompleteController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidget
                }
                return json_encode($output);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 76d0cd6..68b8b36 100644 (file)
@@ -20,9 +20,6 @@ namespace TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetController {
 
        /**
@@ -56,8 +53,8 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
        public function initializeAction() {
                $this->objects = $this->widgetConfiguration['objects'];
                $this->configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::array_merge_recursive_overrule($this->configuration, $this->widgetConfiguration['configuration'], TRUE);
-               $this->numberOfPages = ceil(count($this->objects) / (int) $this->configuration['itemsPerPage']);
-               $this->maximumNumberOfLinks = (int) $this->configuration['maximumNumberOfLinks'];
+               $this->numberOfPages = ceil(count($this->objects) / (integer) $this->configuration['itemsPerPage']);
+               $this->maximumNumberOfLinks = (integer) $this->configuration['maximumNumberOfLinks'];
        }
 
        /**
@@ -66,7 +63,7 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
         */
        public function indexAction($currentPage = 1) {
                // set current page
-               $this->currentPage = (int) $currentPage;
+               $this->currentPage = (integer) $currentPage;
                if ($this->currentPage < 1) {
                        $this->currentPage = 1;
                }
@@ -75,11 +72,11 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
                        $modifiedObjects = NULL;
                } else {
                        // modify query
-                       $itemsPerPage = (int) $this->configuration['itemsPerPage'];
+                       $itemsPerPage = (integer) $this->configuration['itemsPerPage'];
                        $query = $this->objects->getQuery();
                        $query->setLimit($itemsPerPage);
                        if ($this->currentPage > 1) {
-                               $query->setOffset((int) ($itemsPerPage * ($this->currentPage - 1)));
+                               $query->setOffset((integer) ($itemsPerPage * ($this->currentPage - 1)));
                        }
                        $modifiedObjects = $query->execute();
                }
@@ -110,8 +107,8 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
                if ($this->displayRangeEnd > $this->numberOfPages) {
                        $this->displayRangeStart -= $this->displayRangeEnd - $this->numberOfPages;
                }
-               $this->displayRangeStart = (int) max($this->displayRangeStart, 1);
-               $this->displayRangeEnd = (int) min($this->displayRangeEnd, $this->numberOfPages);
+               $this->displayRangeStart = (integer) max($this->displayRangeStart, 1);
+               $this->displayRangeEnd = (integer) min($this->displayRangeEnd, $this->numberOfPages);
        }
 
        /**
@@ -142,8 +139,6 @@ class PaginateController extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetCont
                }
                return $pagination;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 9f563a7..87edf8e 100644 (file)
@@ -114,8 +114,6 @@ class LinkViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi
                }
                return $uriBuilder->reset()->setArguments(array($argumentPrefix => $arguments))->setSection($this->arguments['section'])->setAddQueryString(TRUE)->setArgumentsToBeExcludedFromQueryString(array($argumentPrefix, 'cHash'))->setFormat($this->arguments['format'])->build();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 6b5fbf6..e2ff8a6 100644 (file)
@@ -74,8 +74,6 @@ class PaginateViewHelper extends \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetView
        public function render(\TYPO3\CMS\Extbase\Persistence\QueryResultInterface $objects, $as, array $configuration = array('itemsPerPage' => 10, 'insertAbove' => FALSE, 'insertBelow' => TRUE, 'maximumNumberOfLinks' => 99)) {
                return $this->initiateSubRequest();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 4988ef2..2f6a592 100644 (file)
@@ -92,8 +92,6 @@ class UriViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
                }
                return $uriBuilder->reset()->setArguments(array($argumentPrefix => $arguments))->setSection($this->arguments['section'])->setAddQueryString(TRUE)->setArgumentsToBeExcludedFromQueryString(array($argumentPrefix, 'cHash'))->setFormat($this->arguments['format'])->build();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b981215..09d5e19 100644 (file)
@@ -43,14 +43,12 @@ class AbstractCompilerTemplateTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTes
                $fullClassName = 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\' . $className;
                eval(
                        'namespace TYPO3\\CMS\\Fluid\\Core\\Compiler;' .
-                       'abstract class ' . $className . ' extends AbstractCompiledTemplate {' .
-                       '  static protected $defaultEncoding = \'ISO-8859-1\';' .
-                       '}'
+                               'abstract class ' . $className . ' extends AbstractCompiledTemplate {' .
+                               '  static protected $defaultEncoding = \'ISO-8859-1\';' .
+                               '}'
                );
                $this->assertSame('ISO-8859-1', $fullClassName::resolveDefaultEncoding());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 54f2139..9135b01 100644 (file)
@@ -11,10 +11,7 @@ class TestViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
         * @param string $param3 P3 Stuff
         */
        public function render($param1, array $param2, $param3 = 'default') {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f756d5d..1166dbf 100644 (file)
@@ -11,10 +11,7 @@ class TestViewHelper2 extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
         * @param string $param3 P3 Stuff
         */
        public function render($param1, array $param2, $param3 = 'default') {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 2c90adb..eead342 100644 (file)
@@ -15,8 +15,6 @@ namespace TYPO3\CMS\Fluid\Core\Parser\Fixtures;
  */
 abstract class ChildNodeAccessFacetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper implements \TYPO3\CMS\Fluid\Core\ViewHelper\Facets\ChildNodeAccessInterface {
 
-
 }
 
-
 ?>
\ No newline at end of file
index 7f86c9c..07842f3 100644 (file)
@@ -18,7 +18,6 @@ class PostParseFacetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract
        static public $wasCalled = FALSE;
 
        public function __construct() {
-
        }
 
        static public function postParseEvent(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode $viewHelperNode, array $arguments, \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $variableContainer) {
@@ -26,14 +25,10 @@ class PostParseFacetViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\Abstract
        }
 
        public function initializeArguments() {
-
        }
 
        public function render() {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 48fd7a0..4909fb7 100644 (file)
@@ -91,8 +91,6 @@ class EscapeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $this->escapeInterceptor->process($mockNode, $interceptorPosition, $this->mockParsingState);
                $this->assertSame($this->mockNode, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5919eda..0860b15 100644 (file)
@@ -60,8 +60,6 @@ class ParsingStateTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $renderedValue = $this->parsingState->render($renderingContext);
                $this->assertEquals($renderedValue, 'T3DD09 Rock!', 'The rendered value of the Root Node is not returned by the ParsingState.');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5fc9072..6f350fd 100644 (file)
@@ -11,7 +11,7 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\Core\Parser\SyntaxTree;
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
 /**
-
+ * An AbstractNode Test
  */
 class AbstractNodeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
@@ -42,8 +42,6 @@ class AbstractNodeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
        public function childNodeCanBeReadOutAgain() {
                $this->assertSame($this->abstractNode->getChildNodes(), array($this->childNode));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3e2a884..91249a2 100644 (file)
@@ -327,8 +327,6 @@ class BooleanNodeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $this->assertFalse(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(NULL));
                $this->assertTrue(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\BooleanNode::convertToBoolean(new \stdClass()));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 318b39b..74f33ea 100644 (file)
@@ -31,8 +31,6 @@ class TextNodeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
        public function constructorThrowsExceptionIfNoStringGiven() {
                new \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\TextNode(123);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 62d5071..1a5bd44 100644 (file)
@@ -102,9 +102,9 @@ class ViewHelperNodeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
         */
        public function initializeArgumentsAndRenderIsCalledWithCorrectArguments() {
                $arguments = array(
-                       'param0' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'string', 'Hallo', TRUE, null, FALSE),
-                       'param1' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'string', 'Hallo', TRUE, null, TRUE),
-                       'param2' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param2', 'string', 'Hallo', TRUE, null, TRUE)
+                       'param0' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'string', 'Hallo', TRUE, NULL, FALSE),
+                       'param1' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'string', 'Hallo', TRUE, NULL, TRUE),
+                       'param2' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param2', 'string', 'Hallo', TRUE, NULL, TRUE)
                );
                $mockViewHelper = $this->getMock('TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractViewHelper', array('initializeArgumentsAndRender', 'prepareArguments'));
                $mockViewHelper->expects($this->any())->method('prepareArguments')->will($this->returnValue($arguments));
@@ -136,8 +136,6 @@ class ViewHelperNodeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $viewHelperNode->evaluate($this->renderingContext);
                $viewHelperNode->evaluate($this->renderingContext);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 41f0860..b4aaac5 100644 (file)
@@ -317,8 +317,6 @@ class TemplateParserPatternTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCa
        protected function insertNamespaceIntoRegularExpression($regularExpression, $namespace) {
                return str_replace('NAMESPACE', implode('|', $namespace), $regularExpression);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 8f422d8..39a7d93 100644 (file)
@@ -503,8 +503,6 @@ class TemplateParserTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $templateParser->_set('configuration', $parserConfiguration);
                $templateParser->_call('textHandler', $mockState, 'string');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f074b7d..5aa1303 100644 (file)
@@ -52,8 +52,6 @@ class RenderingContextTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $this->renderingContext->injectViewHelperVariableContainer($viewHelperVariableContainer);
                $this->assertSame($viewHelperVariableContainer, $this->renderingContext->getViewHelperVariableContainer());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 6405185..82e1be8 100644 (file)
@@ -137,8 +137,6 @@ class AbstractConditionViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHe
                $actualResult = $this->viewHelper->_call('renderElseChild');
                $this->assertEquals('ElseArgument', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 860f908..668718a 100644 (file)
@@ -102,8 +102,6 @@ class AbstractTagBasedViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseT
                $this->viewHelper->expects($this->once())->method('registerArgument')->with('foo', 'string', 'Description', FALSE, NULL);
                $this->viewHelper->_call('registerTagAttribute', 'foo', 'string', 'Description', FALSE);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 2f7e899..8908720 100644 (file)
@@ -105,8 +105,8 @@ class AbstractViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $viewHelper = new \TYPO3\CMS\Fluid\Tests\Unit\Core\Fixtures\TestViewHelper();
                $viewHelper->injectReflectionService($reflectionService);
                $expected = array(
-                       'param1' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'integer', 'P1 Stuff', TRUE, null, TRUE),
-                       'param2' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param2', 'array', 'P2 Stuff', TRUE, null, TRUE),
+                       'param1' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'integer', 'P1 Stuff', TRUE, NULL, TRUE),
+                       'param2' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param2', 'array', 'P2 Stuff', TRUE, NULL, TRUE),
                        'param3' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param3', 'string', 'P3 Stuff', FALSE, 'default', TRUE)
                );
                $this->assertEquals($expected, $viewHelper->prepareArguments(), 'Annotation based arguments were not registered.');
@@ -129,8 +129,8 @@ class AbstractViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $viewHelper = new \TYPO3\CMS\Fluid\Tests\Unit\Core\Fixtures\TestViewHelper2();
                $viewHelper->injectReflectionService($reflectionService);
                $expected = array(
-                       'param1' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'integer', '', TRUE, null, TRUE),
-                       'param2' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param2', 'array', '', TRUE, null, TRUE),
+                       'param1' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param1', 'integer', '', TRUE, NULL, TRUE),
+                       'param2' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param2', 'array', '', TRUE, NULL, TRUE),
                        'param3' => new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition('param3', 'string', '', FALSE, 'default', TRUE)
                );
                $this->assertEquals($expected, $viewHelper->prepareArguments(), 'Annotation based arguments were not registered.');
@@ -216,8 +216,6 @@ class AbstractViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $this->assertSame($viewHelper->_get('viewHelperVariableContainer'), $viewHelperVariableContainer);
                $this->assertSame($viewHelper->_get('controllerContext'), $controllerContext);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index dbd4f41..82501fe 100644 (file)
@@ -24,15 +24,13 @@ class ArgumentDefinitionTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $type = 'string';
                $isRequired = TRUE;
                $isMethodParameter = TRUE;
-               $argumentDefinition = new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition($name, $type, $description, $isRequired, null, $isMethodParameter);
+               $argumentDefinition = new \TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition($name, $type, $description, $isRequired, NULL, $isMethodParameter);
                $this->assertEquals($argumentDefinition->getName(), $name, 'Name could not be retrieved correctly.');
                $this->assertEquals($argumentDefinition->getDescription(), $description, 'Description could not be retrieved correctly.');
                $this->assertEquals($argumentDefinition->getType(), $type, 'Type could not be retrieved correctly');
                $this->assertEquals($argumentDefinition->isRequired(), $isRequired, 'Required flag could not be retrieved correctly.');
                $this->assertEquals($argumentDefinition->isMethodParameter(), $isMethodParameter, 'isMethodParameter flag could not be retrieved correctly.');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 7bbec80..177b60a 100644 (file)
@@ -184,8 +184,6 @@ class TagBuilderTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $tagBuilder->setTagName('');
                $this->assertEquals('', $tagBuilder->render());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 861a4c2..73e19df 100644 (file)
@@ -16,15 +16,14 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\Core\ViewHelper;
 class TemplateVariableContainerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
-
+        * @var \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer
         */
+       protected $variableContainer;
+
        public function setUp() {
                $this->variableContainer = new \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer();
        }
 
-       /**
-
-        */
        public function tearDown() {
                unset($this->variableContainer);
        }
@@ -132,8 +131,6 @@ class TemplateVariableContainerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTe
        public function addingVariableNamedAllShouldThrowException() {
                $this->variableContainer->add('_all', 'foo');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 717e787..2454d8b 100644 (file)
@@ -88,8 +88,6 @@ class ViewHelperVariableContainerTest extends \TYPO3\CMS\Extbase\Tests\Unit\Base
                $this->viewHelperVariableContainer->setView($view);
                $this->assertSame($view, $this->viewHelperVariableContainer->getView());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d651200..28a703e 100644 (file)
@@ -79,8 +79,6 @@ class AbstractWidgetControllerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTes
                $abstractWidgetController->_call('setViewConfiguration', $view);
                $this->assertEquals(\TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName('EXT:fluid/Resources/Private/DummyTestTemplates'), $view->_call('getTemplateRootPath'));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 8deb5f6..9f218e2 100644 (file)
@@ -181,8 +181,6 @@ class AbstractWidgetViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTes
                // SubResponse is returned
                $this->assertSame($response, $output);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e25abba..929e100 100644 (file)
@@ -31,8 +31,6 @@ class AjaxWidgetContextHolderTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTest
        public function foo() {
                $this->markTestIncomplete();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 771cf82..e5d39eb 100644 (file)
@@ -79,8 +79,6 @@ class WidgetContextTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $this->assertSame($viewHelperChildNodes, $this->widgetContext->getViewHelperChildNodes());
                $this->assertSame($renderingContext, $this->widgetContext->getViewHelperChildNodeRenderingContext());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 57d6c43..0cecde5 100644 (file)
@@ -65,9 +65,6 @@ class WidgetRequestBuilderTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCas
         */
        protected $postBackup;
 
-       /**
-
-        */
        public function setUp() {
                $this->serverBackup = $_SERVER;
                $this->getBackup = $_GET;
@@ -168,8 +165,6 @@ class WidgetRequestBuilderTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCas
                $actual = $this->widgetRequestBuilder->build();
                $this->assertSame($expected, $actual);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f293e13..016e4e3 100644 (file)
@@ -70,8 +70,6 @@ class WidgetRequestHandlerTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCas
                $defaultWebRequestHandler = $this->getMock('TYPO3\\CMS\\Extbase\\Mvc\\Web\\AbstractRequestHandler', array('handleRequest'), array(), '', FALSE);
                $this->assertTrue($this->widgetRequestHandler->getPriority() > $defaultWebRequestHandler->getPriority());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 59e2d19..632382f 100644 (file)
@@ -45,8 +45,6 @@ class WidgetRequestTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $widgetRequest->setWidgetContext($widgetContext);
                $this->assertSame($widgetContext, $widgetRequest->getWidgetContext());
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d1bf789..9f73e3d 100644 (file)
@@ -109,8 +109,6 @@ class AbstractTemplateViewTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCas
                $this->view->assign('foo', 'FooValue');
                $this->view->assignMultiple(array('foo' => 'FooValueOverridden', 'bar' => 'BarValue'));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5aab0fd..15bcba6 100644 (file)
@@ -18,14 +18,10 @@ class TemplateViewFixture extends \TYPO3\CMS\Fluid\View\TemplateView {
        public $syntaxTree;
 
        protected function resolveTemplateFile() {
-
        }
 
        protected function loadTemplateFile($templateFilePath) {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b14b217..55e0b1c 100644 (file)
@@ -18,10 +18,7 @@ class TransparentSyntaxTreeNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\
        public $variableContainer;
 
        public function evaluate(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d146f73..2a9aec9 100644 (file)
@@ -142,22 +142,22 @@ class StandaloneViewTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
         */
        public function objectManagerCallback($className) {
                switch ($className) {
-               case 'TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManagerInterface':
-                       return $this->mockConfigurationManager;
-               case 'TYPO3\\CMS\\Fluid\\Core\\Parser\\TemplateParser':
-                       return $this->mockTemplateParser;
-               case 'TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContext':
-                       return $this->mockRenderingContext;
-               case 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Request':
-                       return $this->mockRequest;
-               case 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder':
-                       return $this->mockUriBuilder;
-               case 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ControllerContext':
-                       return $this->mockControllerContext;
-               case 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\FlashMessageContainer':
-                       return $this->mockFlashMessageContainer;
-               case 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\TemplateCompiler':
-                       return $this->mockTemplateCompiler;
+                       case 'TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManagerInterface':
+                               return $this->mockConfigurationManager;
+                       case 'TYPO3\\CMS\\Fluid\\Core\\Parser\\TemplateParser':
+                               return $this->mockTemplateParser;
+                       case 'TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContext':
+                               return $this->mockRenderingContext;
+                       case 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Request':
+                               return $this->mockRequest;
+                       case 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder':
+                               return $this->mockUriBuilder;
+                       case 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ControllerContext':
+                               return $this->mockControllerContext;
+                       case 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\FlashMessageContainer':
+                               return $this->mockFlashMessageContainer;
+                       case 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\TemplateCompiler':
+                               return $this->mockTemplateCompiler;
                }
        }
 
@@ -446,8 +446,6 @@ class StandaloneViewTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $this->view->_call('getPartialSource', 'LayoutFixture');
                $this->assertEquals($expectedResult, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0bfbe0b..e8072eb 100644 (file)
@@ -113,10 +113,11 @@ class TemplateViewTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
        /**
         * Helper to build mock controller context needed to test expandGenericPathPattern.
         *
-        * @param $packageKey
-        * @param $subPackageKey
-        * @param $controllerClassName
-        * @param $format
+        * @param string $packageKey
+        * @param string $subPackageKey
+        * @param string $controllerName
+        * @param string $format
+        * @return \PHPUnit_Framework_MockObject_MockObject
         */
        protected function setupMockControllerContextForPathResolving($packageKey, $subPackageKey, $controllerName, $format) {
                $controllerObjectName = "TYPO3\\{$packageKey}\\" . ($subPackageKey != $subPackageKey . '\\' ?: '') . 'Controller\\' . $controllerName . 'Controller';
@@ -208,8 +209,6 @@ class TemplateViewTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $templateView->_set('templatePathAndFilename', 'vfs://MyTemplates/MyCoolAction.html');
                $this->assertSame('contentsOfMyCoolAction', $templateView->_call('getTemplateSource'));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 4784d1a..d296aea 100644 (file)
@@ -60,8 +60,6 @@ class AliasViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
                $viewHelper->setViewHelperNode($mockViewHelperNode);
                $this->assertEquals('foo', $viewHelper->render(array()));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 194e408..0f07a95 100644 (file)
@@ -29,8 +29,6 @@ class BaseViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHel
                $actualResult = $viewHelper->render();
                $this->assertSame($expectedResult, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f498442..796540c 100644 (file)
@@ -68,8 +68,6 @@ class IfAuthenticatedViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelp
                $actualResult = $this->viewHelper->render();
                $this->assertEquals('else child', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 6d62580..f9c7c71 100644 (file)
@@ -93,8 +93,6 @@ class IfHasRoleViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Vi
                $actualResult = $this->viewHelper->render(123);
                $this->assertEquals('else child', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 529c7b7..7b37962 100644 (file)
@@ -84,8 +84,6 @@ class CountViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
                $object = new \stdClass();
                $this->viewHelper->render($object);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d23e5ef..82c383e 100644 (file)
@@ -113,8 +113,6 @@ class CycleViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
                $this->viewHelper->render($traversableObject, 'innerVariable');
                $this->viewHelper->render($traversableObject, 'innerVariable');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 00aa3f2..15f5af0 100644 (file)
@@ -26,8 +26,6 @@ class ElseViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHel
                $actualResult = $viewHelper->render();
                $this->assertEquals('foo', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1e13f96..e638435 100644 (file)
@@ -31,10 +31,7 @@ class ConstraintSyntaxTreeNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\V
        }
 
        public function evaluate(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 7140d08..0300ffc 100644 (file)
@@ -346,8 +346,6 @@ class ForViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHelp
                );
                $this->assertSame($expectedCallProtocol, $viewHelperNode->callProtocol, 'The call protocol differs -> The for loop does not work as it should!');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index fc059e1..b005ae4 100644 (file)
@@ -162,8 +162,8 @@ class AbstractFormFieldViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHe
        }
 
        /**
-        * @test
-        */
+        * @test
+        */
        public function getValueConvertsObjectsToIdentifiersByDefault() {
                $mockObject = $this->getMock('stdClass');
 
@@ -481,8 +481,6 @@ class AbstractFormFieldViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHe
                $actual = $formViewHelper->_call('renderHiddenFieldForEmptyValue');
                $this->assertEquals($expected, $actual);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e48e1de..7212361 100644 (file)
@@ -110,8 +110,6 @@ class AbstractFormViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers
                $this->viewHelperVariableContainer->expects($this->once())->method('get')->with('TYPO3\\CMS\\Fluid\\ViewHelpers\\FormViewHelper', 'fieldNamePrefix')->will($this->returnValue('somePrefix[foo]'));
                $this->assertSame('somePrefix[foo][someFieldName][bar]', $viewHelper->_call('prefixFieldName', 'someFieldName[bar]'));
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 5b80fa1..f1d78aa 100644 (file)
@@ -155,8 +155,6 @@ class CheckboxViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\For
                $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b2ea6ca..18ca3f5 100644 (file)
@@ -16,10 +16,7 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\Fixtures;
 class EmptySyntaxTreeNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode {
 
        public function __construct() {
-
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 886c9cf..65a37ce 100644 (file)
@@ -24,7 +24,7 @@ class Fixture_UserDomainClass {
        /**
         * Constructor.
         *
-        * @param int $id
+        * @param integer $id
         * @param string $firstName
         * @param string $lastName
         */
@@ -60,8 +60,6 @@ class Fixture_UserDomainClass {
        public function getLastName() {
                return $this->lastName;
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d77c0b8..c5f7080 100644 (file)
@@ -48,8 +48,6 @@ abstract class FormFieldViewHelperBaseTestcase extends \TYPO3\CMS\Fluid\Tests\Un
                $viewHelper->injectConfigurationManager($this->mockConfigurationManager);
                parent::injectDependenciesIntoViewHelper($viewHelper);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b877319..b15c7be 100644 (file)
@@ -45,8 +45,6 @@ class HiddenViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
                $this->viewHelper->initialize();
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 4780695..1b94fd2 100644 (file)
@@ -71,8 +71,6 @@ class PasswordViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\For
                $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 034d002..aeff1ad 100644 (file)
@@ -144,8 +144,6 @@ class RadioViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\F
                $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 4330ee5..de8919a 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form;
+
 /*                                                                        *
  * This script is backported from the FLOW3 package "TYPO3.Fluid".        *
  *                                                                        *
@@ -333,8 +334,6 @@ class SelectViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
                $this->viewHelper->initialize();
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 0028aef..4ed82f8 100644 (file)
@@ -41,8 +41,6 @@ class SubmitViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
                $this->viewHelper->initialize();
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 373b013..251e5f5 100644 (file)
@@ -90,8 +90,6 @@ class TextareaViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\For
                $this->viewHelper->initialize();
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index d65a509..ea4a466 100644 (file)
@@ -71,8 +71,6 @@ class TextfieldViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Fo
                $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 18655c7..ea112b3 100644 (file)
@@ -71,8 +71,6 @@ class UploadViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
                $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
                $this->viewHelper->render();
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 608a1eb..0e1d4e6 100644 (file)
@@ -246,8 +246,6 @@ class FormViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHel
                $viewHelper->_callRef('postProcessUriArgumentsForRequestHash', $arguments, $results);
                $this->assertEquals($expectedResults, $results);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1f50802..b5119ad 100644 (file)
@@ -20,9 +20,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class CropViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -85,8 +82,6 @@ class CropViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $this->viewHelper->render(123, '...', TRUE, FALSE);
                $this->assertEquals('Cropped Content', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 1eb31a5..fa44145 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class CurrencyViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -134,8 +131,6 @@ class CurrencyViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $actualResult = $viewHelper->render();
                $this->assertEquals('12,00', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 9cb6113..aadb272 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class DateViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -80,8 +77,6 @@ class DateViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $viewHelper->render('1980-12-12');
                $this->assertEquals('1980-12-12', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 7eb232b..70789e8 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class HtmlentitiesDecodeViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -96,8 +93,6 @@ class HtmlentitiesDecodeViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\Bas
                $actualResult = $this->viewHelper->render($source);
                $this->assertSame($source, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 608859f..46f8f88 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class HtmlentitiesViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -21,7 +18,7 @@ class HtmlentitiesViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestC
        protected $viewHelper;
 
        public function setUp() {
-               $this->viewHelper = $this->getMock('TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlentitiesViewHelper', array('renderChildren','resolveDefaultEncoding'));
+               $this->viewHelper = $this->getMock('TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlentitiesViewHelper', array('renderChildren', 'resolveDefaultEncoding'));
                $this->viewHelper->expects($this->any())->method('resolveDefaultEncoding')->will($this->returnValue('UTF-8'));
        }
 
@@ -117,8 +114,6 @@ class HtmlentitiesViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestC
                $actualResult = $this->viewHelper->render($source);
                $this->assertSame($source, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index c3c80d7..b5f5fcb 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class HtmlspecialcharsViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -116,8 +113,6 @@ class HtmlspecialcharsViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseT
                $actualResult = $this->viewHelper->render($source);
                $this->assertSame($source, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index bb8ec3e..aec8c16 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class Nl2brViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -44,8 +41,6 @@ class Nl2brViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $viewHelper->render();
                $this->assertEquals('Line 1<br />' . chr(13) . chr(10) . 'Line 2', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index f7b4a42..06db5f5 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class NumberViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -34,8 +31,6 @@ class NumberViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $viewHelper->render(3, ',', '.');
                $this->assertEquals('3.333,333', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 9819d05..19aa2d4 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class PaddingViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -54,8 +51,6 @@ class PaddingViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $viewHelper->render(5, '0');
                $this->assertEquals('12300', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 9e4fa46..223051d 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class PrintfViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -34,8 +31,6 @@ class PrintfViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $viewHelper->render(array(123, 'foo', 'bar'));
                $this->assertEquals('foo 123 bar foo', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3b4d615..218ab1e 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class RawViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -50,8 +47,6 @@ class RawViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
                $actualResult = $this->viewHelper->render();
                $this->assertEquals($childNodes, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 8d628d8..d8de0db 100644 (file)
@@ -10,9 +10,6 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class StripTagsViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
@@ -79,8 +76,6 @@ class StripTagsViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $actualResult = $this->viewHelper->render($source);
                $this->assertSame($source, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index 3db2e78..e9fff28 100644 (file)
@@ -10,13 +10,10 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Format;
  *                                                                        *
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
-/**
-
- */
 class UrlencodeViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
 
        /**
-        * @var Tx_Fluid_ViewHelpers_Format_UrlEncodeViewHelper
+        * @var \TYPO3\CMS\Fluid\ViewHelpers\Format\UrlencodeViewHelper
         */
        protected $viewHelper;
 
@@ -76,8 +73,6 @@ class UrlencodeViewHelperTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase
                $actualResult = $this->viewHelper->render($source);
                $this->assertSame($source, $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index bc175f5..8848a1b 100644 (file)
@@ -236,8 +236,6 @@ class GroupedForViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\V
                $values = array('some', 'simple', 'array');
                $this->viewHelper->render($values, 'innerVariable', 'someKey');
        }
-
 }
 
-
 ?>
\ No newline at end of file
index b39ec9f..2a96af3 100644 (file)
@@ -51,8 +51,6 @@ class IfViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHelpe
                $actualResult = $this->viewHelper->render(FALSE);
                $this->assertEquals('foo', $actualResult);
        }
-
 }
 
-
 ?>
\ No newline at end of file
index e47ddcf..b491216 100644 (file)
@@ -64,8 +64,6 @@ class EmailViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
                $this->viewHelper->initialize();
                $this->viewHelper->render('some@email.tld');
        }
-
 }
 
-
 ?>
\ No newline at end of file