It's happening! With composer's 2.6 release using @reactphp's Promise v3 package, I can now start put out the new async test utilities release with support for Promise v3. Once that is out, I get to update all my packages to support Promise v3 🎉 🎉 🎉 🎉 🎉 🎉
One of the fun things of maintaining https://www.wyrimaps.net/wow/ is figuring out where to put the Emerald Dream on the map and which one of these two. Especially since the Emerald Dream is a special place in the #WarCraft universe
Been spending the afternoon optimizing World of Warcraft Datamining automation for https://wyrimaps.net/wow. Got to the rather exciting point where I only have to extra the resources I need from the game and scanners will pick up any new work and miners will then do that work. Used to have a step in between for the BLP to #PNG conversion using a desktop app. But after finding some #PHP code that can do that I automated that. (Hence using threads in PHP.)
But because this feature will, while now still at the surface, blend into the background over time. Like the image left where it is fully visible, to the image on the right where it will be blended into the background. And even in the foreground PHPStan and Psalm will know which types are to be expected going in and
We're looking for community feedback for the final feature of Promise v3 because of its big breaking nature. If you work with @reactphp this will impact you and we'd appreciate your feedback on this change: https://github.com/orgs/reactphp/discussions/514#php#phpc
It is Monday, and I've already written my most ridiculous bit of code of this week. A #PHP method that "converts" a string or class-string into a class-string. By returning it and telling static analyzers it is now a class-string. Mainly because I got tired of putting @var class-string everywhere. And code is used to generate code, not run at service runtime.