[TASK] Streamline return tags in phpdocs
The TYPO3 Core currently has no guidline how to handle phpdoc comments regarding @return annoations related to "void" and "null". In practice, these annotations have no additional value if no additional documentation is given. With this change, the php-cs-fixer will remove any unnecessary linebreaks within the comments above the @return annotation, as well as remove completely empty phpdoc comments because the @return annotation is removed. Please be aware, that once PSR-5 is accepted, this coding standard within the TYPO3 Core will change again, where there are currently some further proposal details like inheritance information. Resolves: #80454 Releases: master Change-Id: Ie969d720684c0a75919fe5addd1c36ef5b12eb04 Reviewed-on: https://review.typo3.org/51686 Reviewed-by:Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- Build/.php_cs 4 additions, 1 deletionBuild/.php_cs
- components/testing_framework/Classes/Core/Acceptance/AcceptanceCoreEnvironment.php 0 additions, 2 deletions...ork/Classes/Core/Acceptance/AcceptanceCoreEnvironment.php
- components/testing_framework/Classes/Core/AccessibleObjectInterface.php 0 additions, 6 deletions...ting_framework/Classes/Core/AccessibleObjectInterface.php
- components/testing_framework/Classes/Core/BaseTestCase.php 0 additions, 3 deletionscomponents/testing_framework/Classes/Core/BaseTestCase.php
- components/testing_framework/Classes/Core/FileStreamWrapper.php 0 additions, 7 deletions...ents/testing_framework/Classes/Core/FileStreamWrapper.php
- components/testing_framework/Classes/Core/Functional/Framework/Frontend/Collector.php 0 additions, 3 deletions.../Classes/Core/Functional/Framework/Frontend/Collector.php
- components/testing_framework/Classes/Core/Functional/Framework/Frontend/Renderer.php 0 additions, 1 deletion...k/Classes/Core/Functional/Framework/Frontend/Renderer.php
- components/testing_framework/Classes/Core/Functional/Framework/Frontend/RequestBootstrap.php 0 additions, 1 deletion...s/Core/Functional/Framework/Frontend/RequestBootstrap.php
- components/testing_framework/Classes/Core/Functional/FunctionalTestCase.php 0 additions, 2 deletions..._framework/Classes/Core/Functional/FunctionalTestCase.php
- components/testing_framework/Classes/Core/Testbase.php 0 additions, 26 deletionscomponents/testing_framework/Classes/Core/Testbase.php
- components/testing_framework/Classes/Core/Unit/UnitTestCase.php 0 additions, 2 deletions...ents/testing_framework/Classes/Core/Unit/UnitTestCase.php
- components/testing_framework/Classes/Fluid/Unit/ViewHelpers/ViewHelperBaseTestcase.php 0 additions, 2 deletions...Classes/Fluid/Unit/ViewHelpers/ViewHelperBaseTestcase.php
- typo3/sysext/about/Classes/Controller/AboutController.php 0 additions, 2 deletionstypo3/sysext/about/Classes/Controller/AboutController.php
- typo3/sysext/about/Classes/Controller/ModulesController.php 0 additions, 2 deletionstypo3/sysext/about/Classes/Controller/ModulesController.php
- typo3/sysext/backend/Classes/Backend/Avatar/Avatar.php 0 additions, 1 deletiontypo3/sysext/backend/Classes/Backend/Avatar/Avatar.php
- typo3/sysext/backend/Classes/Backend/ToolbarItems/SystemInformationToolbarItem.php 0 additions, 14 deletions...ses/Backend/ToolbarItems/SystemInformationToolbarItem.php
- typo3/sysext/backend/Classes/Clipboard/Clipboard.php 0 additions, 12 deletionstypo3/sysext/backend/Classes/Clipboard/Clipboard.php
- typo3/sysext/backend/Classes/Command/LockBackendCommand.php 0 additions, 1 deletiontypo3/sysext/backend/Classes/Command/LockBackendCommand.php
- typo3/sysext/backend/Classes/Command/ReferenceIndexUpdateCommand.php 0 additions, 1 deletion...t/backend/Classes/Command/ReferenceIndexUpdateCommand.php
- typo3/sysext/backend/Classes/Command/UnlockBackendCommand.php 0 additions, 1 deletion...3/sysext/backend/Classes/Command/UnlockBackendCommand.php
Please register or sign in to comment