Release 2.0.10 路 phpstan/phpstan-nette

26e6253 - Narrow Strings::match/Strings::matchAll subject string type when match is truthy (#201) 130b009 - Update test-expectations after more precise phpstan-src types (#200) e869d35 - Replace de...

GitHub

Spent the morning to make sure #composer/pcre, @PHPCSFixer, thecodingmachine/safe #phpstan integrations will utilize latest PCRE type inference additions

goal is to make sure users of this regex wrappers will have the same benefits native php-src preg_* function consumers have

Release 2.2.2 路 phpstan/phpstan

Improvements 馃敡 Narrow preg_match/preg_match_all subject string type when match is truthy (#5777), #14710, thanks @staabm and @VincentLanglet! Resolve per-element callback return types in array_map...

GitHub

New #ampache release again!

Bugs found and bugs squashed from the #api work and #phpstan issues.

There is a problem with the #docker images not loading the web player properly so if you're on docker hold out for a bit while I work that out

https://github.com/ampache/ampache/releases/tag/7.9.6

#php #dev

Release 7.9.6 路 ampache/ampache

7.9.6 php8.5 6c970e48d6773e905af5145d0067b304 ./ampache-7.9.6_all_php8.5.zip 19b6f4d4ffbfaf319cb5d32285870114 ./ampache-7.9.6_all_php8.5_squashed.zip cf316930f61456d89225e66acb609d2d ./ampache-7...

GitHub
working on more precise #phpstan types, based on regex AST - lets make use of the new decimal-int-string type.
Release 2.0.25 路 phpstan/phpstan-doctrine

e20e8bf - Fix duplicate registration of RepositoryMethodCallRule (#764)

GitHub
Release 2.0.24 路 phpstan/phpstan-doctrine

5485522 - Check field names of orderBy parameter in findBy and findOneBy

GitHub

645 #phpstan issues down to 85.

The #ampache code base has moved from #php 8.2 -> 8.5 very smoothly so far.

This #dev is done for the weekend!

Who would have known that supporting #php 8.2 for so long would lead to so many #phpstan issues moving to php8.5?

Good thing I've got a whole weekend!

#ampache #dev

You might remember #PHPStan supports array-shapes for $matches in preg_match*() since ~June 2024.
RegEx AST based inference implemented before AI was even a thing.

Today I realized that we can re-use the existing RegEx inference for $subject :-). Coming to you in the next release

https://phpstan.org/r/8b12686a-f8c8-457f-9d1f-1f8737a95939