Rector: don't exists class Rector\Core\ValueObject\PhpVersion

Created on 11 Dec 2020  路  2Comments  路  Source: rectorphp/rector

Bug Report

| Subject | Details |
| :------------- | :---------------------------------------------------------------|
| Rector version | 0.8.56 |
| Installed as | composer dependency |

I copy Full Config Configuration from https://github.com/rectorphp/rector/blob/master/README.md#full-config-configuration

to my rector.php. But Rector\Core\ValueObject\PhpVersion don't exists. ValueObject contains only:

|-- Application
|   |-- ParsedStmtsAndTokens.php
|   `-- RectorError.php
|-- MethodName.php
|-- PhpVersionFeature.php
|-- ProjectType.php
|-- RenamedNamespace.php
|-- Reporting
|   `-- FileDiff.php
|-- SprintfStringAndArgs.php
`-- StaticNonPhpFileSuffixes.php
bug

All 2 comments

Hi,

thanks for new issue report!

The README is related to dev-master, where the value object already exists.
You can either use older version README https://github.com/rectorphp/rector/releases/tag/0.8.56,
or update to dev-master.

Next stable Rector 0.9 should be released in ~week.

I am closing it as answered.

Was this page helpful?
0 / 5 - 0 ratings