Behatch/contexts

Class Aliases in package HttpCall

Closed this issue · 1 comments

Hi @sanpii,

It looks like all class_alias in src/class_aliases/HttpCall/ miss HttpCall in the path.

E.g. src/class_aliases/HttpCall/Request.php:

Line 5: class_alias('\\Behatch\\Request', '\\Sanpi\\Behatch\\Request');

I would expect
class_alias('\\Behatch\\HttpCall\\Request', '\\Sanpi\\Behatch\\HttpCall\\Request');

I am asking because I get the following error:

[ReflectionException]
Class Sanpi\Behatch\HttpCall\Request does not exist

[Symfony\Component\Debug\Exception\ContextErrorException]
Warning: Class '\Behatch\Request' not found

Regards,
Christoph

Fixed, thank you.