Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML parsing error: log file with problem #3407

Closed
linawolf opened this issue Mar 30, 2023 · 0 comments · Fixed by #3428
Closed

YAML parsing error: log file with problem #3407

linawolf opened this issue Mar 30, 2023 · 0 comments · Fixed by #3428
Labels

Comments

@linawolf
Copy link
Contributor

Bug Report

Subject Details
Rector version Rector 0.15.22

When I have an invalid yaml file, for example an old file generated by extension builder Configuration/ExtensionBuilder/settings.yaml that I forgot to exclude I get the very unspecific error

In Parser.php line 425:

  Multiple documents are not supported at line 2 (near "---").

Minimal PHP Code Causing Issue

Expected Behaviour

An error message:

Invalid YAML found in file Configuration/ExtensionBuilder/settings.yaml

  Multiple documents are not supported at line 2 (near "---").

Might be related to #2515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant