Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Conversation

@Starli0n
Copy link

Hi,

I added two features:

  • Use one shortcut to switch from Class.php to ClassTest.php and vice versa.
  • Do a matching between the class and the file.

For example my class micClass is matching the file miClass.php.
Therefore, I had two (facultative) entries in PHPUnit.sublime-settings

{
    "prefix_file": "mi",
    "prefix_class": "mic"
}

Hope, this could help.

@stuartherbert
Copy link
Owner

Hi,

It isn't clear to me why this is needed? It sounds like you're creating code that isn't PSR0 or PSR4 compliant. If that's the case, I'm afraid that I can't accept your pull request.

Best regards,

Stu

@Starli0n
Copy link
Author

Starli0n commented Mar 6, 2017

Hi,

After almost 2 years, I came back on this PR as I was doing some cleaning on my repos.

I removed the commit that was not PSR0/PSR4 compliant. I did not know what it meant back in the days.

In this PR, I fixed the issue #60 and I offer the ability to toggle between Class.php and ClassTest.php with one shortcut.

Could you please review it?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants