You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user forgets to use a namespace for their dependency when type hinting it:
namespace spec\MyProject
class FooSpec extends ObjectBehaviour
{
function it_does_a_thing(Collab $collab)
{
}
}
Currently we detect that it starts with the spec namespace and silently ignore it.
It would be better to alert the user what's going on (maybe some sort of better error message?), or even better prompt them and change the namespace in the spec file on their behalf
The text was updated successfully, but these errors were encountered:
If a user forgets to
use
a namespace for their dependency when type hinting it:Currently we detect that it starts with the
spec
namespace and silently ignore it.It would be better to alert the user what's going on (maybe some sort of better error message?), or even better prompt them and change the namespace in the spec file on their behalf
The text was updated successfully, but these errors were encountered: