Skip to content

PHP Fatal error: Uncaught Rector\Exception\DependencyInjection\ClassNotFoundException: Class "Rector\CodingStyle\Rector\Property\ArrayPropertyDefaultValueRector" was not found while loading "vendor/rector/rector/config/set/coding-style/coding-style.yaml" #1867

@gnutix

Description

@gnutix
Subject Details
PHP version PHP 7.3.8-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Aug 7 2019 09:52:12) ( NTS )
Full Command vendor/bin/rector --ansi process var/ --level coding-style

Current Behaviour

PHP Fatal error:  Uncaught Rector\Exception\DependencyInjection\ClassNotFoundException: Class "Rector\CodingStyle\Rector\Property\ArrayPropertyDefaultValueRector" was not found while loading "vendor/rector/rector/config/set/coding-style/coding-style.yaml"

Minimal PHP Code Causing Issue

The command line above.

Expected Behaviour

Configuration files provided by Rector should work.

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