The Wayback Machine - https://web.archive.org/web/20210121063852/https://github.com/Ocramius/ProxyManager/pull/412
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

FileWriterGenerator temp name fix #412

Closed
wants to merge 1 commit into from
Closed

Conversation

@mainegreen
Copy link

@mainegreen mainegreen commented Mar 19, 2018

tempname will not work on location that includes proxy php class file name, as passed in location. This is generated in generate() as from the $this->fileLocator->getProxyFileName($className). In reality we need the dirname base path of the desired location to pass into tempname.

tempname will not work on location that includes proxy php class file name, as passed  in location. This is generated in generate() as from the $this->fileLocator->getProxyFileName($className). In reality we need the dirname base path of the desired location to pass into tempname.
@Ocramius
Copy link
Owner

@Ocramius Ocramius commented Mar 19, 2018

@mainegreen this requires a test case demonstrating how the current approach is incorrect/fails, and that the patch fixes that.

@fmasa
Copy link
Contributor

@fmasa fmasa commented Nov 18, 2018

I just noticed this PR 🤦‍♂️ I submitted PR with both fix and test change demonstrating the issue in #438

@Ocramius Ocramius closed this Dec 20, 2020
@Ocramius Ocramius deleted the branch Ocramius:master Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.