Witold Wasiczko

Results 47 comments of Witold Wasiczko

I have a case where I use `ReflectionBasedAbstractFactory` in my factory to create new instance. Typically I use shared instance across system, but in this case I need new one....

I have already registered this service (and share it in multiple places), but I need - in some case - new instance. I can create new factory and pass by...

I forgot about `build`! That should works!

@makasim can you take a look?

Every run in actions install v1 because doesn't meet dependecy requirements (e.g. laminas-servicemanager)

No, but I manage that I don't need do that because I use cache from https://github.com/staabm/phpstan-dba/blob/main/docs/record-and-replay.md

So I need to setup db? What about this https://github.com/staabm/phpstan-dba/blob/main/docs/record-and-replay.md ?

For me works like you mentioned, but looks like just `Doctrine\DBAL\Connection::delete` or `Doctrine\DBAL\Connection::insert` didn't work when run on CI without DB with `record-and-replay`. There are not errors with missing table...

I have simplified code. ``` final readonly class Db { public function __construct(private \Doctrine\DBAL\Connection $connection) { } public function save( string $id, ): string { $this->connection->insert('table', [ 'id' => $id,...