I wonder how long until pun gives in on this and adds a config option (like every other formatter before it).
I'd actually consider a tabs option a mark of success. It would mean enough real projects want to use pun that they have to make concessions.
Pun is now in public beta: The ultrafast unified PHP toolchain.
Format, lint, analyse and install packages. One pun.toml.
Try it and break it. The beta is how we find and fix the bugs.
What each command does 👇
2
60
Chris Morrell retweeted
Pun is now in public beta: The ultrafast unified PHP toolchain.
Format, lint, analyse and install packages. One pun.toml.
Try it and break it. The beta is how we find and fix the bugs.
What each command does 👇
About a week ago I set up @AmpCode to monitor recent deploys and notify us on Slack if we introduce a bug.
The orb has a webhook that we hit on deploy, which schedules a 5/10/15 min check in on @laravel nightwatch + @datadoghq logs (plus regular hourly checks).
Today was the first time it found something—a small bug in a scheduled command that failed this morning. We got a message in our internal dev channel with details about the issue and a link to both the PR and exception.
Very very cool.
Another one in @joetannenbaum's thread that's a must-watch.
255
God this is incredible to watch.
Replying to @joetannenbaum
I watch this at least once a year.
youtu.be/9D2rFMPN9js?is=lbas…
It’s obscene. If I see this record broken in my lifetime I’ll be very surprised.
2
359
I like to call the herb mix for Thanksgiving the "Scarborough Fair" mix. But last year when I said that everyone on my team looked at me with completely blank stares. Am I in the minority here? When I hear parsley/sage/rosemary/thyme I immediately hear that song.
1
238
There’s something special about getting home from a date night and seeing our youngest’s face briefly peek out their window and then the bedroom lights suddenly turn off. 😂
25
724
Well, it's only been a year since last episode.
overengineered.fm/episodes/h…
I made a tool to help folks find the next major 0-day.
cmorrell.com/cveslots
Couple days in and I’ll say I like the iPhone duo a lot.
- the small screen doesn’t bug me nearly as much as I thought
- the big screen is spectacularly great
- the weight is fine
- Touch ID sucks but is not as bad as I anticipated
- screen orientation is a little tricky, but mostly not a big deal
All-in-all it’s got its rough edges, but it’s fun and novel and I’m almost certainly keeping it.
3
6
792
I knew a little of the backstory but there’s a lot in here that I *didn’t* know. Good read.
★ Why PHP 6 Never Shipped and PHP Skipped to 7
laravel-news.com/link/19915?…
How do we feel about this?
Claude loves to use database locks (usually in good places that I *should* have been doing before). But it bugs me that you have to do a second query to use them in Laravel.
I think using PHP attributes would be great here. What do you think?
![<?php class ClaimUploadController { // BEFORE: public function __invoke(Upload $upload) { DB::transaction(function() { // Extra query to lock model at the database $locked = Upload::query() ->lockForUpdate() ->find($upload->getKey()); $locked->claim(); }, attempts: 3); } // AFTER: #[Transaction(attempts: 3)] public function __invoke( #[LockForUpdate] Upload $upload ) { $upload->claim(); } }](https://pbs.twimg.com/media/HWeKtxSWIAETiWR.jpg?name=small&format=webp)
ALT <?php class ClaimUploadController { // BEFORE: public function __invoke(Upload $upload) { DB::transaction(function() { // Extra query to lock model at the database $locked = Upload::query() ->lockForUpdate() ->find($upload->getKey()); $locked->claim(); }, attempts: 3); } // AFTER: #[Transaction(attempts: 3)] public function __invoke( #[LockForUpdate] Upload $upload ) { $upload->claim(); } }
Also @AmpCode on the Duo is great. It’s wild how quickly I’ve gone from “I need the biggest MacBook possible” to “yeah, I could probably get away with just my phone and a foldable keyboard for a day or two.”
5
14
1,046













