This looks suspiciously similar to azjezz/psl, just with a different API. It even has the same name: PHP Standard Library.
The PHP community would be better if devs worked together instead of copying and re-branding someone else's work. Credit to azjezz for the original PSL.
@afilina At least the screenshot shows a perfect example of adding pointless complexity rather than addressing the design flaw of using implicit APIs with magic strings.
@Crell The thing that I see happening a lot is that things are made configurable that aren't actually configurable - for instance because there's only one implementation to choose from - or should be represented by code rather then being generalized into something requiring more configuration than actual code would have...
PHPStan reports "Property stdClassList::$classes (array<int, stdClass>) does not accept array<int|string, stdClass>." but I would expect that $classes will always be array<int, stdClass> without any string-keys
@shochdoerfer@heiglandreas@phpstan The variadic doesn't care. All phpstan is telling you that if you do new StdClassList( ...['a' => new StdClass]); the key "a" is kept in the params array. And does not magically turn into an int. If you'd do $this->classes = array_values($classes); the problem is gone.
I finally started the project to write a small purpose-driven FTP server that accepts a file and sends it to an email address.
I decided to use ReactPHP for that.
FTP is.... challenging. On the server side at least.
Why? I have a scanner that can scan to FTP. But I need to send the files via email. And the FTP server I so far used can't send emails from new files. So what's the natural approach as developer?
I tried to be an attendee-only at a conference and failed. I am taking over Tomas Votruba's talk about Rector on short notice (with his slides and permission), as he's unable to make the trip to Montreal.
I really would like an opportunity to get in on a Product Owner role at some point. Unfortunately all the requests for PO roles specify the ideal candidate has 5+ years of previous experience as a PO
Following the steps documented using https://rpms.remirepo.net/wizard/ for getting PHP 8.3 as default on Fedora 39 (after removing the default 8.2) I only get PHP 8.3.0-RC.1...?
@Skoop Oh I don't doubt it is possible ;-) I just have a rather long "track record" of failing to make the cut. Which, for whatever reason, bothers me more than it probably should..