phpstan-webmozart-assert icon indicating copy to clipboard operation
phpstan-webmozart-assert copied to clipboard

PHPStan extension for webmozart/assert

Results 16 phpstan-webmozart-assert issues
Sort by recently updated
recently updated
newest added

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Eomm/why-don-t-you-tweet](https://redirect.github.com/Eomm/why-don-t-you-tweet) | action | major | `v1` -> `v2` | --- ### Release...

Just for the record and since reporting on Mastodon is not optimal I guess :) But see https://phpc.social/@herndlm/112179238683506275 for reference didn't work the last 2 times with the same error...

having these files in the releases is unnecessary bloat

I noticed an interesting behavior in this extension. With the following code: ```php class AssertReturn { /** * @template TClass of object * @param class-string $class * * @throws InvalidArgumentException...

Used to explain webmozart build failure on https://github.com/phpstan/phpstan-src/pull/4472

The following code causes a false PHPStan error. The `Assert::allInArray($enabledNames, $supportedNames);` assertion certainly isn't always true. ```php use Webmozart\Assert\Assert; class C { /** * @param array $supportedNames * @param array...