Skip to content

skipOnEmpty in some rules is not null by default #788

Description

@vjik

Description

skipOnEmpty parameter in rules should be null by default. In this case validator can set default value setted via Validator::withDefaultSkipOnEmptyCondition().

Currently some rules use false as default value:

Image

Package version

2.5.1

PHP version

any

Activity

  1. samdark commented on Mar 10, 2026

    @samdark
    Member

    @vjik screenshot is missing.

  2. added a commit that references this issue on Mar 10, 2026
  3. vjik commented on Mar 11, 2026

    @vjik
    MemberAuthor

    @vjik screenshot is missing.

    Reloaded.

  4. added this to the 3,0 milestone on Mar 21, 2026
  5. vjik commented on Mar 21, 2026

    @vjik
    MemberAuthor

    Implemented in #789

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions