Manuel Voss
Manuel Voss
Maybe another thing: During the build `mappersmith` pops up, also in the final build there is a `var mappersmith=`, so I'd assume it probably is some issue with vite rather...
Ok, after fiddling around some more, it looks like it's the default import that somehow breaks. I switched to: ``` import { configs } from 'mappersmith' import forge from 'mappersmith/mappersmith'...
@f3l1x Thx for the workaround. For people like me, running this in docker, there is a simple way to run the query using the console: ```shell bin/console doctrine:query:sql "" ```
Just to leave this here: Packeton is really easy to setup. We have a setup where we run the docker version behind Caddy as a reverse proxy. Took me round...
Same here. Any update on why this is closed? Is there a patch we can add to fix it temporarily?
I have another example for a usecase. ```php public function doSomething(ClassA|ClassB|ClassC|ClassD $someObject) { $something = match (get_class($someObject)) { ClassA::class => $someObject->some, ClassB::class, ClassC::class => $someObject->thing, ClassD::class => $someObject->else }; $this->doSomethingWithSomething($something);...
For people with a similar use case than mine, there at least is a workaround (maybe another missing feature for PHPStan): Instead of using `get_class` for the match, I now...
I am currently using this: https://github.com/kubawerlos/php-cs-fixer-custom-fixers?tab=readme-ov-file#multilinepromotedpropertiesfixer - fixes it at least for constructors (where constructor promotion makes the signatures even less readable). Might also be a good starting point for...