cronos-bundle icon indicating copy to clipboard operation
cronos-bundle copied to clipboard

Breaking change in version 4

Open garak opened this issue 2 years ago • 0 comments

Updating from version 3 to version 4, I got the following exception:

In AnnotationLineConfigurator.php line 18:

[Error]
Typed property MyBuilder\Bundle\CronosBundle\Annotation\Cron::$hour must not be accessed before initialization

This is because now the property is typed and has no default value. So, the following annotation stops working: @Cron(minute="/15")

I worked around it by explicating a * value for the hour, but this should made back-compatible OR noted in a changelog file.

garak avatar Jan 08 '24 14:01 garak