kbond
Repos
127
Followers
127
Following
10

Schedule Cron jobs (commands/callbacks/bash scripts) within your Symfony application.

311
13

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

441
37

A fluent interface for your Symfony functional tests.

119
10

Assertions and helpers for testing your symfony/messenger queues.

100
8

Alternative, opinionated helpers for testing emails sent with symfony/mailer.

29
3

Alternative, opinionated helper for testing Symfony console commands.

31
1

Events

issue comment
Make it easier to contribute

It would be really useful to have a PHP environment in the docker-compose as well. The tests need specific PHP extensions.

Good point! Same with sca/fixcs, they need specific PHP versions.

Created at 1 day ago
Docker support
  • [ ] during init, ask if wanting to use docker
  • [ ] ask MySQL version
  • [ ] Configure docker-compose.yml
  • [ ] phpmyadmin command runs docker compose up -d before starting
  • [ ] phpmyadmin command runs docker compose down after stopping
  • [ ] phpmyadmin mysql to run interactive MySQL command
Created at 1 day ago
issue comment
docs: Improve initial Setup to contribute on this Bundle

How to generate new migrations?

This would be very useful. Going to need to do this in #300.

Created at 2 days ago
kbond create tag v1.5.1
Created at 3 days ago
issue comment
[Ux] Add/Update docs to show new `make:twig-component` in MakerBundle

See https://github.com/symfony/ux/issues/480

Created at 3 days ago
opened issue
[Live][Twig] document `make:twig-component`

symfony/maker-bundle 1.46.0 provides a make:twig-component maker that can make both twig and live components.

Created at 3 days ago
issue comment
[TwigBridge] add tailwindcss form layout

@ahmed-bhs, is there anything that would have changed between 2 and 3? I think you could just use tailwind_2_layout.html.twig with tailwind 3 without issue.

Created at 3 days ago
issue comment
[Fix] ignore receiver detached from transport

Thanks @alli83!

Created at 3 days ago

[bug] ignore receiver detached from transport (#52)

Created at 3 days ago
Ignore receiver when detached from transport

Hello,

First of all, this library is super cool . Lately, I have encountered a small problem that prevented me from using it. In case there are transports (single or multiple) but also classes implementing ReceiverInterface without being attached to a transport, the registration of "the transport" is prevented because it implements receiverInterface but not transportInterface.

For example:

if I have in config:

    Zenstruck\Messenger\Test\Tests\Fixture\Messenger\Receiver\RandomReceiver:
        tags:
            - { name: messenger.receiver }

I tried with this test case and i received this type of error

self::bootKernel(['environment' => 'with_receiver']);
    $this->expectException(\TypeError::class);
    $this->expectExceptionMessage('Zenstruck\Messenger\Test\Transport\TestTransportRegistry::register(): Argument #2 ($transport) must be of type Symfony\Component\Messenger\Transport\TransportInterface');
$this->messenger();

In the compiler pass, the check is based on $container->findTaggedServiceIds('messenger.receiver') but it does not distinguish if it's a class that just implements ReceiverInterface or TransportInterface and then, the method call "register" of TestTransportRegistry expects a TransportInterface.

If it's possible, I would like to suggest a fix. #52

Thanks again for this library!

Created at 3 days ago
pull request closed
[Fix] ignore receiver detached from transport

Hello,

Issue explained here: #51

summary: In case there are transports (single or multiple) but also classes implementing ReceiverInterface without being attached to a transport, the registration of "the transport" is prevented because it implements receiverInterface but not transportInterface.

Proposal: Check if's a TransportInterface before calling register of testTransportRegistry

Created at 3 days ago

minor cs fix

Created at 3 days ago

minor cs fixes

Created at 3 days ago