Samuel Levy
Samuel Levy
This includes a PHPStan extension to add support for `InvokableCases` so that static analysis tools can understand the callable methods and their return types. The extension has been added in...
| Q | A | ----------------- | ---------- | Bug fix? | yes | New feature? | no | BC breaks? | no | Need Doc update | no ##...
How many times has this happened to you? ```html @foreach($post->comments as $comment) @can('promote', $comment) promote @endcan @endforeach ``` With the policy: ```php public function promote(User $user, Comment $comment): bool {...
### What Happened I am attempting to run mutation tests against my application, and it is frequently reporting untested methods which are definitely explicitly tested. If I attempt to make...
The default path wasn't a valid directory path due to the capitalized `App` (instead of `app`): ``` $ php artisan saloon:list Symfony\Component\Finder\Exception\DirectoryNotFoundException The "/var/www/html/App/Http/Integrations" directory does not exist. ```