webmozarts / console-parallelization

Enables the parallelization of Symfony Console commands.
MIT License
222 stars 19 forks source link

fix: Remove incorrect deprecations trigger #278

Closed theofidry closed 7 months ago

theofidry commented 7 months ago

Previously if a user was using the Parallelization trait, the only way they had to get rid of the deprecation notices triggered was to override getParallelExecutableFactory(). This is not ideal as we recommend to override configureParallelExecutableFactory() instead.

This PR moves the deprecations to ::configureParallelExecutableFactory().

theofidry commented 7 months ago

Hmm I think this is best to be abandoned as it is a BC break.