Project

General

Profile

Actions

Bug #96148

closed

phpdocumentor parseTypes() with bad return value

Added by Henri Nathanson almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-11-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I guess this is no TYPO3 error. But I maybe wrong. And it may serve as documentation meanwhile. The error comes up as one opens the scheduler backend module.

https://github.com/phpDocumentor/TypeResolver/issues/141

#0  phpDocumentor\Reflection\TypeResolver->parseTypes() called at [/var//webroot/vendor/phpdocumentor/type-resolver/src/TypeResolver.php:172]
#1  phpDocumentor\Reflection\TypeResolver->resolve() called at [/var//webroot/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php:68]
#2  phpDocumentor\Reflection\DocBlock\Tags\Var_::create() called at [/var//webroot/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:217]
#3  phpDocumentor\Reflection\DocBlock\StandardTagFactory->createTag() called at [/var//webroot/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:149]
#4  phpDocumentor\Reflection\DocBlock\StandardTagFactory->create() called at [/var//webroot/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php:245]
#5  phpDocumentor\Reflection\DocBlockFactory->parseTagBlock() called at [/var//webroot/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php:105]
#6  phpDocumentor\Reflection\DocBlockFactory->create() called at [/var//webroot/vendor/symfony/property-info/Extractor/PhpDocExtractor.php:289]
#7  Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor->getDocBlockFromProperty() called at [/var//webroot/vendor/symfony/property-info/Extractor/PhpDocExtractor.php:252]
#8  Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor->getDocBlock() called at [/var//webroot/vendor/symfony/property-info/Extractor/PhpDocExtractor.php:126]
#9  Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor->getTypes() called at [/var//webroot/vendor/symfony/property-info/PropertyInfoExtractor.php:109]
#10 Symfony\Component\PropertyInfo\PropertyInfoExtractor->extract() called at [/var//webroot/vendor/symfony/property-info/PropertyInfoExtractor.php:74]
#11 Symfony\Component\PropertyInfo\PropertyInfoExtractor->getTypes() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Reflection/ClassSchema.php:259]
#12 TYPO3\CMS\Extbase\Reflection\ClassSchema->reflectProperties() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Reflection/ClassSchema.php:184]
#13 TYPO3\CMS\Extbase\Reflection\ClassSchema->__construct() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Reflection/ReflectionService.php:123]
#14 TYPO3\CMS\Extbase\Reflection\ReflectionService->buildClassSchema() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Reflection/ReflectionService.php:110]
#15 TYPO3\CMS\Extbase\Reflection\ReflectionService->getClassSchema() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Object/Container/Container.php:164]
#16 TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Object/Container/Container.php:112]
#17 TYPO3\CMS\Extbase\Object\Container\Container->getInstance() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Object/ObjectManager.php:116]
#18 TYPO3\CMS\Extbase\Object\ObjectManager->get() called at [/var//webroot/packages/sharepointer/Classes/Command/ImportCommand.php:73]
#19 Birt\Importer\Command\ImportCommand->__construct() called at [/var//webroot/web/typo3/sysext/core/Classes/Utility/GeneralUtility.php:3477]
#20 TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance() called at [/var//webroot/web/typo3/sysext/core/Classes/Console/CommandRegistry.php:234]
#21 TYPO3\CMS\Core\Console\CommandRegistry->populateCommandsFromPackages() called at [/var//webroot/web/typo3/sysext/core/Classes/Console/CommandRegistry.php:165]
#22 TYPO3\CMS\Core\Console\CommandRegistry->getCommandByIdentifier() called at [/var//webroot/web/typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandTask.php:118]
#23 TYPO3\CMS\Scheduler\Task\ExecuteSchedulableCommandTask->getAdditionalInformation() called at [/var//webroot/web/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:898]
#24 TYPO3\CMS\Scheduler\Controller\SchedulerModuleController->listTasksAction() called at [/var//webroot/web/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:311]
#25 TYPO3\CMS\Scheduler\Controller\SchedulerModuleController->getModuleContent() called at [/var//webroot/web/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:178]
#26 TYPO3\CMS\Scheduler\Controller\SchedulerModuleController->mainAction()
#27 call_user_func_array() called at [/var//webroot/web/typo3/sysext/backend/Classes/Http/RouteDispatcher.php:66]
#28 TYPO3\CMS\Backend\Http\RouteDispatcher->dispatch() called at [/var//webroot/web/typo3/sysext/backend/Classes/Http/RequestHandler.php:94]
#29 TYPO3\CMS\Backend\Http\RequestHandler->handle() called at [/var//webroot/web/typo3/sysext/extbase/Classes/Middleware/SignalSlotDeprecator.php:49]
#30 TYPO3\CMS\Extbase\Middleware\SignalSlotDeprecator->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#31 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/SiteResolver.php:69]
#32 TYPO3\CMS\Backend\Middleware\SiteResolver->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#33 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/AdditionalResponseHeaders.php:41]
#34 TYPO3\CMS\Backend\Middleware\AdditionalResponseHeaders->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#35 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/OutputCompression.php:47]
#36 TYPO3\CMS\Backend\Middleware\OutputCompression->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#37 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/BackendUserAuthenticator.php:79]
#38 TYPO3\CMS\Backend\Middleware\BackendUserAuthenticator->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#39 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php:58]
#40 TYPO3\CMS\Backend\Middleware\BackendRouteInitialization->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#41 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/ForcedHttpsBackendRedirector.php:55]
#42 TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#43 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Middleware/LockedBackendGuard.php:75]
#44 TYPO3\CMS\Backend\Middleware\LockedBackendGuard->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#45 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php:45]
#46 TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:172]
#47 class@anonymous->handle() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:78]
#48 TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/AbstractApplication.php:85]
#49 TYPO3\CMS\Core\Http\AbstractApplication->handle() called at [/var//webroot/web/typo3/sysext/backend/Classes/Http/Application.php:72]
#50 TYPO3\CMS\Backend\Http\Application->handle() called at [/var//webroot/web/typo3/sysext/core/Classes/Http/AbstractApplication.php:97]
#51 TYPO3\CMS\Core\Http\AbstractApplication->run() called at [/var//webroot/web/typo3/index.php:25]
#52 {closure}() called at [/var//webroot/web/typo3/index.php:26]
Actions #1

Updated by Henri Nathanson almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by Henri Nathanson almost 3 years ago

  • Description updated (diff)
Actions #3

Updated by Henri Nathanson almost 3 years ago

  • Description updated (diff)
Actions #4

Updated by Henri Nathanson almost 3 years ago

please close this issue. Will/has to be handled within phpDocumentor. Problem may arise with such - possibly wrong - annotations.

/**
 * @var []
 */
protected $somevar;
Actions #5

Updated by Riccardo De Contardi over 2 years ago

  • Status changed from New to Closed

@Henri Nathanson Thank you for your reply and sorry for the late feedback;

I close this issue in agreement with the reporter.

If you think that this is the wrong decision or I have misunderstood or there is still work to be done, please reopen it or open a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF