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

bin/console kahlan:run not registered in symfony4 and kahlan4 #11

Open
samsonasik opened this Issue Dec 31, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@samsonasik
Contributor

samsonasik commented Dec 31, 2017

step to reproduce:

  1. install symfony 4 skeleton
composer create-project symfony/skeleton my_project
  1. install kahlan-bundle with kahlan 4
composer require --dev kahlan/kahlan:^4.0 elephantly/kahlan-bundle:^0.9.8
  1. Try run command:
bin/console kahlan:run

got error:

There are no commands defined in the "kahlan" namespace.

It seems the services and commands not automatically registered.

@samsonasik samsonasik changed the title from bin/console kahlan:run not registered in symfony4 to bin/console kahlan:run not registered in symfony4 and kahlan4 Jan 2, 2018

@Tiriel

This comment has been minimized.

Show comment
Hide comment
@Tiriel

Tiriel Jan 10, 2018

Collaborator

Hey! Sorry for the long delay, and thanks for the report!

I just checked, it seems there are modifications needed for the commands to load with Symfony 4 indeed.
I'll try some things asap.

Collaborator

Tiriel commented Jan 10, 2018

Hey! Sorry for the long delay, and thanks for the report!

I just checked, it seems there are modifications needed for the commands to load with Symfony 4 indeed.
I'll try some things asap.

@samsonasik

This comment has been minimized.

Show comment
Hide comment
@samsonasik

samsonasik Jan 10, 2018

Contributor

Thank you. Kahlan 4 have different behavior for using Filters, I've created a blog post for sample usage filter with kahlan 4 and symfony 4 : https://samsonasik.wordpress.com/2018/01/03/functional-test-symfony-4-with-kahlan-4/

Contributor

samsonasik commented Jan 10, 2018

Thank you. Kahlan 4 have different behavior for using Filters, I've created a blog post for sample usage filter with kahlan 4 and symfony 4 : https://samsonasik.wordpress.com/2018/01/03/functional-test-symfony-4-with-kahlan-4/

@MatthD

This comment has been minimized.

Show comment
Hide comment
@MatthD

MatthD Sep 2, 2018

HI, is it currently possible to use Khalan-bundle for symphony 4 Unit Test ?

MatthD commented Sep 2, 2018

HI, is it currently possible to use Khalan-bundle for symphony 4 Unit Test ?

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