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

studio create -> Namespace contains / (forward slash) #70

Closed
seb-ster opened this issue Nov 23, 2016 · 4 comments
Closed

studio create -> Namespace contains / (forward slash) #70

seb-ster opened this issue Nov 23, 2016 · 4 comments

Comments

@seb-ster
Copy link

seb-ster commented Nov 23, 2016

Great Package!
But after following the initial tutorial from the README, the package namespace (Example.php) contains / (forward slahes) as separator.
Also the autoload_static.php arrays contain forward slashes.
After i fixed this, my package worked.

Studio 0.11.1
Windows 10
Apache 2.4.23
PHP 5.6.25
Composer 1.2.2

@seb-ster seb-ster changed the title studio create -> Namespace contains / (slash) studio create -> Namespace contains / (forward slash) Nov 23, 2016
@seb-ster
Copy link
Author

Tried it again with a new Package. It appears that i made a Typo on the first one. studio create worked correct on the second package.

But it might be a nice feature to atomatically correct forward slahes in the namespace.

@tomicakorac
Copy link

@seb-ster can you please close your issue if it's been resolved?

@seb-ster
Copy link
Author

seb-ster commented Nov 25, 2016 via email

@franzliedke
Copy link
Owner

Released as part of version 0.11.2.

I guess we could improve the regex that validates namespace names - if any of you want to send a pull request, that would be very cool. :)

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

No branches or pull requests

3 participants