FriendsOfTYPO3 / tt_address

Add address / contact datasets to your content management system.
GNU General Public License v2.0
40 stars 76 forks source link

compatibility issue within the 'execute' method of a Command in Symfony Console version 7 #518

Closed GigaCode93 closed 9 months ago

GigaCode93 commented 9 months ago

Bug Report

Current Behavior In Symfony 7, the execute method of Symfony Command now requires a return value of type int as part of its method signature. However, this requirement has not been implemented in your extension's Commands. Additionally, your code includes the strict types declaration declare(strict_types=1);. As a result, it leads to a fatal error due to this incompatibility.

Expected behavior/output Preventing fatal errors and ensuring compatibility.

Environment

Possible Solution Modifying the method signature to make it compatible with the execute method of the Symfony command, or alternatively, removing declare(strict_types=1);.

georgringer commented 9 months ago

fixed with #516