Project

General

Profile

Actions

Bug #105584

closed

Exception: Too few arguments to function Lexer in StringTypeResolver.php

Added by Sybille Peters 9 days ago. Updated 9 days ago.

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

  1. Update to 12.4.23
  2. 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

exception_issue.log (11.9 KB) exception_issue.log Sybille Peters, 2024-11-12 14:47

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #105582: PHPstan crash after update to 13.4.1Closed2024-11-12

Actions
Actions #1

Updated by Sybille Peters 9 days ago

  • Description updated (diff)
Actions #2

Updated by Sybille Peters 9 days ago

  • Description updated (diff)
Actions #3

Updated by Sybille Peters 9 days ago

  • Description updated (diff)
Actions #4

Updated by Sybille Peters 9 days 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",

Actions #5

Updated by Andreas Kienast 9 days ago · Edited

  • Status changed from New to Closed

Closed as a duplicate of #105582

Actions #6

Updated by Andreas Kienast 9 days ago

  • Is duplicate of Bug #105577: Update packages symfony/http-foundation & symfony/process added
Actions #7

Updated by Andreas Kienast 9 days ago

  • Is duplicate of deleted (Bug #105577: Update packages symfony/http-foundation & symfony/process)
Actions #8

Updated by Andreas Kienast 9 days ago

  • Is duplicate of Bug #105582: PHPstan crash after update to 13.4.1 added
Actions

Also available in: Atom PDF