Caleb White
@_calebdw
Followers
279
Following
594
Media
27
Statuses
378
Engineer & OSS Contributor • Husband & Father • ✝️ Psalms 1 You can't build fast if you don’t break often.
Texas
Joined April 2025
Just earned my BJJ purple belt after 6 years, 3 gyms, and 2 states! So grateful for all the teachers and training partners along the way who helped me improve my game 💜🙏 Now I can miss warm-ups guilt-free right? OSS!
2
0
12
We recently tagged @rectorphp for Laravel - v2.1.0, and it's one of my favorite releases so far 🔥 Not just the bugfixes, but also all the rules that are now present by default in the Code Quality set 🚀 Huge thanks to @_calebdw @LiamHammett @can__vural @MrPunyapal & jm-f❤️🔥🤲
2
6
35
Looking to implement mentioning people in our ERP, are there any good and active mentioning packages for Laravel, or do I need to build my own?
0
0
0
My 2-year-old daughter just told me she loves me for the first time out of the blue Best feeling ever
0
0
6
Every time I'm typing and want to use ctrl-w to delete the previous word I have to pause and think if this will close the current tab/window/program I'm in #vimproblems
0
0
3
A historic moment for PHPStan: Ten months after its release 2.x now has more daily downloads than 1.x! I promised 1.x will no longer be maintained once this happens, so there will be one or two more releases there and then adieu! 👋🏻
0
8
49
Ooooh. Jujutsu just merged an initial `bisect` implementation. This is currently the ONLY command I still use the `git` binary for. I might be able to be fully Git CLI free after the next jj release...
github.com
Checklist If applicable: I have updated CHANGELOG.md I have updated the documentation (README.md, docs/, demos/) I have updated the config schema (cli/src/config-schema.json) I have added/upda...
20
13
498
The PR has been submitted! 🤞 https://t.co/ur7VVT7IR9
github.com
Closes phpstan/phpstan#11707, closes phpstan/phpstan#12585 Supersedes #3828, supersedes #3131, supersedes #3823 Hello! This adds generalized dynamic parameter type extensions and deprecates the par...
I've been working on dynamic parameter type extensions for @phpstan; there's still some edge-cases to fix but it's a working prototype! This can be used to make Larastan smarter by knowing the type of relation that's passed to the `->with()` method closures:
1
0
11
New version @rectorphp 2.1.5 is out now 🥳 🥳 🥳 Apart many new rules in PHP 8.5, iterable assert, type coverage improvements on array_* functions... I think this is the first release that was build by 10+ community contributors! Happy to see this huge active group of amazing
1
5
18
Switch to jj-vcs and no longer be afraid to make mistakes---you can `jj undo`/`jj redo` any state change in your repository and get back to any previous operation with `jj op restore` https://t.co/0gvfQCOkQW
github.com
A Git-compatible VCS that is both simple and powerful - jj-vcs/jj
0
0
1
Just created a @phpstan PR to add support for dynamically specifying closure `$this` types through extensions If merged, this would allow creating an extension for @pestphp so that PHPStan better knows what the `$this` type is inside of tests! https://t.co/DFeIcRpHLx
github.com
Hello! Summary This PR introduces extension interfaces that allow PHPStan extensions to dynamically specify the $this context for closure parameters. Problem Currently, PHPStan only supports static...
1
1
17
It's a great feeling to finally solve a problem that's been bugging you for a while 🥳 I've gone ahead and released this on my personal fork if anyone wants to give it a whirl while it's being reviewed upstream! https://t.co/FRMYAqX4ft
github.com
⚗️ Adds code analysis to Laravel improving developer productivity and code quality. - calebdw/larastan
0
0
2
However, things all came together last night when I finally figured out (with the help of Claude Code 😅) how to (re)evaluate the return type of a callable expression after I know what the parameter type passed to it is: https://t.co/xt7qJbN3GI
github.com
Hello! Please see calebdw/larastan#41 for additional context, I'm developing some Larastan extensions for the Laravel pluck method that's on a few classes (Eloquent Builder, Arr helper, Col...
2
0
1
Turns out this case is impossible for PHPStan to determine through PHPDocs alone. Typically, this would be solved through using template generics on the class/method. However, there's a technical limitation here, read about it below https://t.co/KFIIosc8Gi
github.com
Bug report Hello! Please see the linked code snippet, essentially, when using method @template tags, PHPStan is not correctly determining the return type of the closure even though the closure know...
1
0
1
This has been mostly complete for about 2 months now---there was just one case that was incredibly difficult to solve (it wasn't what you might think!): Support for closures on the Arr helper
1
0
1