Profile avatar
codito.dev
πŸ‡΅πŸ‡± https://codito.pl πŸ‡¬πŸ‡§ https://codito.dev | Self-educated specialist: PHP, CI/CD, QA automation, Docker, Gitlab and more 😎. Member of PHP-CS-Fixer team πŸͺΆ.
185 posts 152 followers 117 following
Regular Contributor
Active Commenter

I took a look at the new #Laravel page and in my opinion it has really great visual effects that are awesome for presentation purposes, but horrible for daily usage. The fact you need to scroll to progress the animation, and see most important parts after it ends is mind-blowing.

I have a dream 🀩! I want to make small #gym at my new home, so it's easier to continue my #fitness adventure πŸ˜ƒπŸ’ͺ. However, this dream is hard to achieve, that's why I'm looking for assistance. Can you help? Find full story & donate here: 4fund.com/z/home-gym 😊. Thanks ❀️!

If you use #Deptrac in your #PHP projects, then migrate your Composer requirements from `qossmic/deptrac` to `deptrac/deptrac` 😊. Autoloading namespace is the same for 2.x so it does not require additional work. More info: github.com/deptrac/dept...

As an YAML engineer I often use yaml-multiline.info to remember myself how handling of multiline scripts works πŸ˜†. With Bash's heredoc syntax (for string interpolation) it's different when it comes to end marker's placement. Important to avoid "unexpected end of file" errors.

New times ahead, so many changes! I've finally decided to cut off my #dreadlocks after more than 20 years. These were older than my kids, my marriage, and basically been with me half of my life πŸ₯Ή. One love to the dreadlocks, #rasta forever β€οΈπŸ’›πŸ’š! #newme #newlook #lifechanges

My CI job with Hadolint is failing because Docker Registry gone away. I guess it's time to go to bed πŸ˜‰.

I am exploring the possibility of upgrading our app to #PHP 8.4 and found out that one of our internal libs has Composer constraint for `ext-redis` that enforces 5.x version. I allowed 6.x and also prepared fair matrix of tests (PHP, #Redis extension, Redis server) πŸ˜ƒ.

πŸ’‘ If you need to install #PECL extension during your #Docker build, and it has interactive questions that determine how it's built, you have at least to ways of handling it: automatically answer all the questions with the same value, or pass the configure options to the command.

The fact that iPad Pro doesn't have hotspot feature and can't be used as internet source using its mobile connection is just 🀯. Device for gazillions $$$ and missing basic functionality. This is (along with other reasons) why I won't be an Apple fan, ever.

I really like @sentry.io, it helps so much with observability from developers' PoV. But its approach to releases is mind-boggling 😩. Not only `prefix@name` convention & sharing releases between projects is weird, but also displaying adoption for web apps does not make sense πŸ€·β€β™‚οΈ.

Did you know you can use #️⃣ as #PHP inline comment opening char? This feels.... awkward 🫠 3v4l.org/eBFhD

Am I blind, or there really isn't a way to run Laravel Pint in a _real_ dry run mode that will exit with non-zero code? --test and --bail does not work, and --repair is the only one that exits with proper code, but it applies changes, and I only want to check files.

I lost significant amount of time on debugging why my Slack message from CI job does not contain everything it should. It turned out that I was modifying Bash variable in a loop, which in fact was a local variable & original one remained untouched 😩. www.codeproject.com/Tips/5356411...

Following already accepted and implemented "Support Closures in constant expressions" RFC, the new "First Class Callables in constant expressions" #PHP RFC extends the initial proposal with FCC usage. Hot or not? wiki.php.net/rfc/fcc_in_c...

Do yourself a favour and stop using Laravel's magic aliases. Always explicitly import symbols from their respective FQNs and avoid this implicit fallback. Tools like #ComposerRequireChecker can report such symbols for you, fix is super easy, and the value is great.

I am ALL IN for #PHP RFC about changing behaviour of sort/map/walk functions 😍! It always drives me mad when I need to put sorting in separate line, instead of inlining it in further expression. Just had it in my PHPStan's PR recently, urgh πŸ₯΄. wiki.php.net/rfc/array-so...

There are another 2 #PHP RFCs with similar concept πŸ˜΅β€πŸ’«! - Records: wiki.php.net/rfc/records - Structs: wiki.php.net/rfc/structs-v2 How on Earth voters can process all of that? Each of these RFCs require a lot of attention, I feel sorry for them πŸ˜….

Aaaand it's now live πŸ˜ƒ. Tomorrow I will update #PHPStan and #Symfony extension in GetResponse, which should prevent any other issues with static analysis not catching bugs related to DI container ☺️. github.com/phpstan/phps...

Been a while since my last contribution to #PHPStan, but here it is ☺️. Very first implementation of result cache meta extension is almost done for #Symfony plugin πŸ‘. github.com/phpstan/phps...

I can't fully grasp the value of #PHP RFC for optional interfaces πŸ˜…. I mean... what's the point of implementing the interface conditionally? If it does not exist, then it can't be used to type against it in the code. People smarter than me: help πŸ˜ƒ! wiki.php.net/rfc/optional...

Interesting #PHP RFC: data classes πŸ€”. With `data` modifier, such classes would have been compared by values they carry, rather than memory allocation (object ID). No more big conditions with multiple expressions, single === would be enough! wiki.php.net/rfc/dataclass

My daughter, who's 3 years and 4 months old, starts to write 😳🀯. She knows the letters (well, some/most) and can write some words with some help. She's so fantastic 😍!

Nintendo Switch v2 is going to be released this year. I have 2 Switches v1 already, OLED version was about to replace the old one but I did not even finish migration. Most importantly, I don't have time for gaming... But I still consider buying v2 πŸ˜‚. www.nintendo.com/successor/en...

I want to find useless `assertInstanceOf` tests and created a regex with backtracking reference to match the exact same FQN used for assertion _and_ for instantiation, but it seems like `\g` is not supported in #PHPStorm. I used $1 too, no luck. Ideas? regex101.com/r/uuKa7O/2

Please, never do this πŸ™. It's a waste of time to write such test, waste of resources to run it, and waste of any code reader's time. It's obvious that creating instance of Foo will end up with an object that is an instance of Foo, no need to test it πŸ€¦β€β™‚οΈ.

Sad reality of #OpenSource. Easy to use for free, hard to contribute with your own valuable time. Remember: contributing to #OSS is not only about providing features or fixing bugs, it's also sponsoring people like Juliette, triaging stuff, writing docs, answering discussions 😊.

Today I reached 500 merged #Gitlab merge requests at #GetResponse πŸ₯³. There was more in Crucible (before I convinced the company to migrate), but it was long ago and at this point I can't check this. Anyway, it's been almost 4 years of constant improvements 🀌😊.

After almost a year since I created it, my PR to #PHPCSFixer that introduces #PHPCompatibility check was merged πŸ₯³. This improves our QA suite with another tool that can catch usage of language features not available on runtimes marked as supported. github.com/PHP-CS-Fixer...