Actions
Bug #105584
closedException: Too few arguments to function Lexer in StringTypeResolver.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2024-11-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Too few arguments to function PHPStan\PhpDocParser\Lexer\Lexer::__construct(), 0 passed in /var/www/site-uol12/vendor/symfony/type-info/TypeResolver/StringTypeResolver.php on line 66 and exactly 1 expected
directly after updating to TYPO3 12.4.23 when trying to login to BE
This seems to be due to existing issue in Symfony :
Reproduce¶
- Update to 12.4.23
- try to login to BE
Environment¶
- Composer mode
- Install without --no-dev (is dev environment)
- probably necessary to use Extbase, call stack has cms-extbase/Classes/Reflection/ClassSchema.php
- PHP 8.2
I updated as recommened:
composer update typo3/cms-* -W
Files
Updated by Sybille Peters 1 day ago · Edited
- Description updated (diff)
There is a possible workaround in the Symfony issue:
Possible Solution
To avoid this issue for now I've added "phpdocumentor/reflection-docblock": "5.5.1" to my composer.json dev requirements.
https://github.com/symfony/symfony/issues/58840
TYPO3 uses:
"symfony/property-info": "^6.4 || ^7.0",
Updated by Andreas Kienast 1 day ago · Edited
- Status changed from New to Closed
Closed as a duplicate of #105582
Updated by Andreas Kienast 1 day ago
- Is duplicate of Bug #105577: Update packages symfony/http-foundation & symfony/process added
Updated by Andreas Kienast 1 day ago
- Is duplicate of deleted (Bug #105577: Update packages symfony/http-foundation & symfony/process)
Updated by Andreas Kienast 1 day ago
- Is duplicate of Bug #105582: PHPstan crash after update to 13.4.1 added
Actions