Kompilierungsfehler: Deklaration von Symfony\Bridge\Monolog\Handler\ConsoleHandler::handle(array $record): bool muss komPhp

PHP-Programmierer chatten hier
Anonymous
 Kompilierungsfehler: Deklaration von Symfony\Bridge\Monolog\Handler\ConsoleHandler::handle(array $record): bool muss kom

Post by Anonymous »

Ich aktualisiere Symfony 4.4 auf 5.4 mit PHP 8.2, nachdem ich den Composer-Update-Befehl ausgeführt habe, dann stehe ich vor diesem Problem.

Code: Select all

ERROR: Compile Error: Declaration of Symfony\Bridge\Monolog\Handler\ConsoleHandler::handle(array $record): bool must be compatible with Monolog\Handler\AbstractProcessingHandler::handle(Monolog\LogRecord $record): bool
PHP 8.0 & Symfony 4.4 Composer.json-Datei, die in Ordnung ist, aber ich muss auch PHP und die Symfony-Version aktualisieren.
Composer.json für PHP 8.2 & Symfony 5.4 aktualisiert:
Ergebnis des Composer-Updates -W

Code: Select all

ERROR: Compile Error: Declaration of Model\Base\Account::isPrimaryKeyNull() must be compatible with Propel\Runtime\ActiveRecord\ActiveRecordInterface::isPrimaryKeyNull(): bool

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post