To be compat with Symfony 6 (and specifically with SF's integration with Monolog). We need to raise the PSR/Log constraint to either 2 or 3. I'm opting to stick it at 3. The major differences between the versions are summarized below.
BC change from 1 to 2: require PHP 8.0 or higher
BC change from 2 to 3: makes the log methods type safer (adds return typ void)
To be compat with Symfony 6 (and specifically with SF's integration with Monolog). We need to raise the PSR/Log constraint to either 2 or 3. I'm opting to stick it at 3. The major differences between the versions are summarized below.
BC change from 1 to 2: require PHP 8.0 or higher BC change from 2 to 3: makes the log methods type safer (adds return typ void)