Dāvis Zālītis

Results 12 comments of Dāvis Zālītis

I think it's always a misuse if you use count for something else than actual counting. If, as in example, variable is an actual strict array, empty() is the way...

yes and no. while if(count($array) === 1) is counting (aka, you need it to have one element), if(count($array)) is not counting (aka, you don't give a damn how many items...

so what we want from inspection now? that you shouldn't compare it with 0 in any way and with 1 some of the time?

still happening in v0.6.3. it works after some time but after a lot of retrying and language changes. it should work at first time not aftter spending 10+ minutes on...

@dktapps rebase your branch. this was fixed some time ago when php master went from 8.2 to 8.3

i have written an action: https://github.com/k0d3r1s/vairogs-action-split it's subjective as i wrote it for my own use but feel free to check it out i am using it in this repo:...

same here but i'm on lima 0.18.0 instead of head, im on macOS M2 >= 14 (Sonoma)

@aaronlehmann it seems like i have found the issue and fixed this for myself. issue here is that there are changes in configuration in new lima version and updating lima...

@soyuka that inline service configuration is not needed anymore if you remove this code in php code. this re-configuration just acts as fix for what happens in php code

@MariusJam do you have cache in your project configured to use pools, or maybe at least redis/apc? I find the default symfony cache config not really friendly with api-platform.