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

MigrationStatusInfosHelper::getFormattedVersionAlias() doesn't show full class name + sub-namespace #742

Closed
Majkl578 opened this issue Jul 10, 2018 · 1 comment
Milestone

Comments

@Majkl578
Copy link
Contributor

Bug Report

Q A
Version 2.0-alpha1

Summary

Given a structured migrations setup with sub-namespaces, where migration class name looks like:

App\Migrations\SomeFeature\Version20180702173000

Where App\Migrations is the root migrations' namespace.

The Status command only shows version number itself, not the class number + namespace.

Current behavior

The class above would be reported as:

Current Version: 2018-07-02 17:30:00 (20180702173000)

Expected behavior

When using sub-namespaces, it'd be a good idea to output the namespace as well. Maybe printing the sub-namespace + class name would be ideal:

Current Version: 2018-07-02 17:30:00 (SomeFeature\Version20180702173000)

Also it's questionable whether it's desired to print version number formatted as a date like this as current version.

@goetas goetas mentioned this issue Sep 15, 2019
5 tasks
@goetas goetas added this to the 3.0.0 milestone Dec 1, 2019
@goetas
Copy link
Member

goetas commented Dec 3, 2019

I believe that this is solved in 3.x

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

No branches or pull requests

2 participants