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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Require more recent phpspec/phpspec #60

Merged
merged 2 commits into from Sep 6, 2015

Conversation

localheinz
Copy link
Contributor

This PR

  • requires a more recent phpspec/phpspec
  • flattens the directory structure

馃拋 Before this change, whenever you do the describe and run thing, the actual class would be created in src/League/Event, rather than in src/.

Before

$ bin/phpspec describe League\\\Event\\\LazyListener
Specification for League\Event\LazyListener created in /Users/am/Sites/thephpleague/event/spec/League/Event/LazyListenerSpec.php. 

and then

$ bin/phpspec run spec/League/Event/LazyListenerSpec.php

...

Class League\Event\LazyListener created in /Users/am/Sites/thephpleague/event/src/League/Event/LazyListener.php.

Before

$ bin/phpspec describe League\\\Event\\\LazyListener
Specification for League\Event\LazyListener created in /Users/am/Sites/thephpleague/event/spec/LazyListenerSpec.php. 

and then

$ bin/phpspec run spec/LazyListenerSpec.php
...

Class League\Event\LazyListener created in /Users/am/Sites/thephpleague/event/src/LazyListener.php.

frankdejonge added a commit that referenced this pull request Sep 6, 2015
Enhancement: Require more recent phpspec/phpspec
@frankdejonge frankdejonge merged commit f68aa91 into thephpleague:master Sep 6, 2015
@localheinz localheinz deleted the feature/phpspec branch September 6, 2015 10:49
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.

None yet

2 participants