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.
I have an #infectionPHP question: The _Throws-Mutation effectively removes my exit condition to avoid an endless recursion loop and thus runs into a Timeout.
The Timeout though apparently is considered bad, given it's not considered a "killed" mutation.
So, how do I make infection happy? I don't know how to avoid an endless recursion when infection would mutate my exit condition away ;)
Is it just me or is #phpstorm getting worse by the day?
I'm runnig 2024.1 (Build #PS-241.14494.237, built on March 27, 2024) but have to constantly restart the IDE to fix bizarre errors like PHPStorm claiming a property or parameter isn't used while highlighting the very use a line later, inconsistently resolving asserts with instanceof checks - e.g. claiming a method doesn't exist in the class referenced in a different assert and not seeing a parameter that is clearly there... #fail#ensh11n
Is it just me doing something wrong or is @plausible (self hosted) having issues all of a sudden with the google search console integration? I cannot re-link anymore - it used to work before like charm, but now always fails: "Your Search Console account hasn't been connected successfully. Please unlink your Google account and try linking it again."
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.
@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...
@Skoop The problem is that PHStan for no apparent reason prefixes (using phpscoper) all the classes in the phar thus having no means to have an extension find the relevant classes.
Is it just me or is anyone else running their own mailserver experiencing a lot servers being blocked by zen.spamhaus.org currently that one would assume not to be considered offensive?