Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.56 KB

UPGRADE-7.3.md

File metadata and controls

49 lines (36 loc) · 1.56 KB

UPGRADE FROM 7.2 to 7.3

Symfony 7.3 is a minor release. According to the Symfony release process, there should be no significant backward compatibility breaks. Minor backward compatibility breaks are prefixed in this document with [BC BREAK], make sure your code is compatible with these entries before upgrading. Read more about this in the Symfony documentation.

If you're upgrading from a version below 7.1, follow the 7.2 upgrade guide first.

Console

  • Omitting parameter types in callables configured via Command::setCode method is deprecated

    Before

    $command->setCode(function ($input, $output) {
        // ...
    });

    After

    use Symfony\Component\Console\Input\InputInterface;
    use Symfony\Component\Console\Output\OutputInterface;
    
    $command->setCode(function (InputInterface $input, OutputInterface $output) {
        // ...
    });

FrameworkBundle

  • Not setting the framework.property_info.with_constructor_extractor option explicitly is deprecated because its default value will change in version 8.0
  • Deprecate the --show-arguments option of the container:debug command, as arguments are now always shown

Serializer

  • Deprecate the CompiledClassMetadataFactory and CompiledClassMetadataCacheWarmer classes

VarDumper

  • Deprecate ResourceCaster::castCurl(), ResourceCaster::castGd() and ResourceCaster::castOpensslX509()
  • Mark all casters as @internal