Skip to content

Latest webmozart/assert 2.4.0 cause downgrade scoped error #9764

Description

@samsonasik

Bug Report

Subject Details
Rector version dev-main

Minimal PHP Code Causing Issue

webmozart/assert latest have mixin code:

public static function nullOrTrue($value, $message = ''): ?true

which cause downgrade error

https://github.com/rectorphp/rector-src/actions/runs/26181495364/job/77025550737#step:14:77

Expected Behaviour

It should keep working.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions