Thanks to visit codestin.com
Credit goes to github.com

Skip to content

IsNull but NotNull instead of IsNotNull #17477

Closed
@conradkleinespel

Description

@conradkleinespel

Hello,

I am migrating a project from Symfony 2.8 to 3.0

In the process, I saw I had to change the Null constraint to IsNull for forward compatibility with PHP 7. So I thought it would be obvious to also rename NotNull to IsNotNull. But I see that NotNull was kept intact.

Would it make sense to change NotNull to IsNotNull for consistency ? Is there a specific reason why maybe this hasn't been done as part of #14228 ?

Thanks for your help,
Best regards

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