Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Hi @janedbal,

I recently tried your lib and it's really great.

I just encounter an issue, when I use an absolute path in my autoload.classmap key of the composer.json, this lib consider it's a relative path when composer does resolve the absolute path. I made some checks and

  • /src is not found by composer (but does by your lib), so it means that composer don't have a relative-path fallback when the absolute is not found. It just respect my path.
  • /my-absolute-path is found by composer (but not your lib)

I made a fix to respect absolute path given and updated the tests.

@janedbal janedbal changed the title Fix the way absolute path are handled Support absolute paths in composer autoload sections Aug 6, 2024
@VincentLanglet VincentLanglet requested a review from janedbal August 6, 2024 11:26
@janedbal janedbal merged commit c11ae11 into shipmonk-rnd:master Aug 6, 2024
@VincentLanglet
Copy link
Contributor Author

Thanks ! If you have time for a patch release, this would allow me to unable again this lib on my ci :)

@janedbal
Copy link
Member

janedbal commented Aug 8, 2024

Released as 1.7.0

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

Successfully merging this pull request may close these issues.

2 participants