Caleb White
Caleb White
Hello! I have this package configured via phpunit: ```xml ``` `.cache` is a gitignored directory in the repository that just used for easy CI caching and to easily clear all...
### Bug report Hello! Laravel has many builder methods for querying on relationships (like `whereHas`), here's a signature for reference: ```php /** * Add a relationship count / exists condition...
### Bug report Hello! This just bit me in prod, this is actually an undefined variable warning in PHP, despite this being an arrow closure, `compact` does not have access...
Hello! The [docs](https://phpactor.readthedocs.io/en/master/reference/configuration.html#schema) say that `phpactor config:initialize` will populate the `$schema` key, but the file does not exist. ```json { "$schema": "/phpactor.schema.json", "language_server_phpstan.enabled": true, "php_code_sniffer.enabled": false } ``` There is...
Hello! We recently switched to using the [InterNACHI/modular](https://github.com/InterNACHI/modular) package for Laravel (we're actually using the pre-released v3 branch). Basically it allows you to group all your related code together and...
Hello! ### Motivation I just had a bug in production where a developer (me :upside_down_face:) was validating a datetime with: ```php 'request_at' => [Rule::date()->beforeOrEqual(now())], ``` However, this caused failures when...
Hello! ### Motivation The [contribution guidelines](https://laravel.com/docs/12.x/contributions#phpdoc) say to remove redundant tags that provide no additional information over native php types (note that this does not include tags that provide additional...
Hello! This resolves https://github.com/larastan/larastan/discussions/2397 by only marking macros as static if the closure is static. This allows the user to control whether they want the closure to act like a...
Fixes https://github.com/larastan/larastan/discussions/2405 Thanks!
Hello! This adds `pluck` support to the Collection, Builder, and Arr classes: ```php // before User::pluck('name', 'id'); // Collection User::all()->pluck('name', 'id'); // Collection Arr::pluck($users, 'name', 'id'); // array INCORRECT! //...