Skip to content

LevelOverflow causes fatal error #9044

Closed
rectorphp/rector-src
#6766
@duchymor

Description

@duchymor

Bug Report

Subject Details
Rector version v2.0.10

PHP Fatal error: Uncaught Error: Object of class Rector\ValueObject\Configuration\LevelOverflow could not be converted to string in /var/www/project/vendor/rector/rector/src/Configuration/Parameter/SimpleParameterProvider.php:65

Minimal PHP Code Causing Issue

either of:
->withTypeCoverageLevel(999)
->withDeadCodeLevel(999)

Expected Behaviour

same as:
->withCodeQualityLevel(999)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions