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

Use the standard comment marker in SQL migration files #472

Merged
merged 2 commits into from
Jul 2, 2016

Conversation

aaa2000
Copy link
Contributor

@aaa2000 aaa2000 commented Jun 20, 2016

Close #466

@@ -107,7 +107,6 @@ private function buildMigrationFilePath()
{
$path = $this->destPath;
if (is_dir($path)) {
$path = realpath($path);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to remove the realpath call because https://github.com/mikey179/vfsStream/wiki/Known-Issues

I hope that adding this dependency is not a problem.

@mikeSimonson
Copy link
Contributor

@aaa2000 Can you add tests to verify that the removing of the realpath call did not break anything ?

@aaa2000 aaa2000 force-pushed the fix-sql-files-on-postgresql branch from 212a3eb to 569813b Compare July 2, 2016 09:24
@aaa2000
Copy link
Contributor Author

aaa2000 commented Jul 2, 2016

@mikeSimonson I have keept the realpath call and modified tests by mocking realpath in order to be sure that it did not break anything.

@mikeSimonson
Copy link
Contributor

@aaa2000 That works too.
Thanks

@mikeSimonson mikeSimonson merged commit 70026a6 into doctrine:master Jul 2, 2016
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