Caleb White
Caleb White
Maybe you should, then you wouldn't have to have the creating observer
@khalidmaquilang, that's because https://github.com/larastan/larastan/pull/2197 is needed to support HasUuid
I'll try to add support soon! Can you please gather a list of all the v4 features that need to be supported? Thanks!
This is what's keeping me from ditching the copilot plugin and copilot. > Does this require an "auth flow"? Or could this be done with a config (non-interactively). I don't...
It's possible to just write an extension in Larastan that understands what type the string value is and if it exists. I've already done something similar with pluck
We also have domain based routing (several domains) in a monorepo. In our existing playwright tests we had fixtures for each domain that would set things like the base url...
Just came across this, it would be great if Mockery had builtin support for mocking final classes without having to use another package!
It's already testing by the existing annotation fixture---I didn't want to write a whole PHPStan extension just to test something other than a AnnotationMethodReflection (e.g., Laravel's macro system)
This is a Macro: ```php MenuItem::macro('reportable', static function (string $class): MenuItem { if (! class_exists($class) || ! is_a($class, Reportable::class, true)) { throw new RuntimeException("Invalid reportable class [{$class}]."); } $instance =...
Yes, it's not an actual method, it's a closure that is called through `__call`: https://github.com/laravel/framework/blob/12.x/src/Illuminate/Macroable/Traits/Macroable.php Note, this does not actually result in a php error, so I'm not sure why...