Skip to content

Breaking change in version 4 #52

@garak

Description

@garak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions