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

Classes using Heredoc/Nowdoc not found #10091

Closed
vody105 opened this issue Sep 7, 2021 · 2 comments
Closed

Classes using Heredoc/Nowdoc not found #10091

vody105 opened this issue Sep 7, 2021 · 2 comments
Labels
Milestone

Comments

@vody105
Copy link

vody105 commented Sep 7, 2021

Composer version:
2.1.6 2021-08-19 17:11:08

PHP Version:
8.0.5

Type:
Bug

Problem:
Classes containing Nowdoc or Heredoc in both class attribute and property attribute at the same time are not present in autoload_classmap.php when --classmap-authoritative is used.

How to reproduce:
Downloading this minimal example https://github.com/vody105/composer-bug and running

  • composer dump-autoload --classmap-authoritative
  • php index.php

Afaik this issue was introduced in 2.1.6 by #10050.

@Seldaek
Copy link
Member

Seldaek commented Sep 8, 2021

Should be fixed in snapshot build already (by #10072), if you can check with composer self-update --snapshot that'd be good.

@Seldaek Seldaek added this to the 2.1 milestone Sep 8, 2021
@Seldaek Seldaek added the Bug label Sep 8, 2021
@vody105
Copy link
Author

vody105 commented Sep 10, 2021

Snapshot build is working fine. 👍

@vody105 vody105 closed this as completed Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants