fluffycondor

Results 31 issues of fluffycondor

Добрый день. PHP 7.3.19 fr05t1k/esia 2.3.1 Так как используемый нами фреймворк конвертит ворнинги в эксепшны, крашимся в SignerPKCS7 на этой строке: ```php $signResult = openssl_pkcs7_sign( $messageFile, $signFile, $cert, $privateKey, []...

bug

When I run this command: ``` composer init ``` I get the following output: ``` composer init -vvv Running 2.3.10 (2022-07-13 15:48:23) with PHP 7.4.30 on Linux / 5.4.0-120-generic Loading...

# Bug report Readonly property can be not set in if-else condition, and PHPStan yields no error. ### Code snippet that reproduces the problem https://phpstan.org/r/9d088cab-7c46-4d83-a75b-739900979c5b ### Expected output This snippet...

feature-request

# Bug report `$collection->remove($collection->getFirst());` triggers an error if it's `Collection|Collection`. ### Code snippet that reproduces the problem https://phpstan.org/r/6ed36fa2-279d-4c53-a53b-7c65a89678e4 ### Expected output No errors.

phpstan-doctrine 1.0.1 The [PHPStan's documentation](https://phpstan.org/blog/detecting-unused-private-properties-methods-constants#what-if-my-code-is-%E2%80%9Cspecial%E2%80%9D%3F) says > For Doctrine the logic is following: > Property is always read (it doesn’t need a getter) if it’s a persisted field or association....

doctrine/doctrine-migrations-bundle 3.1.1 PostgreSQL 10.18 With the given code ````php class Foo { /** * @ORM\Id * @ORM\Column(type="ascii_string", unique=true) */ private string $id; } ```` I get these lines in my...

It's basically the same as #891, but that one was closed by its author because he was unbanned by Github rate-limiting algorithm. ```` In CurlDownloader.php line 645: The "https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json" file...

https://psalm.dev/r/51731007b1 Sandbox responds 500 > Warning: Undefined array key "self::$doctrineNullLink" in /var/www/vhosts/psalm.dev/httpdocs/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/InstancePropertyAssignmentAnalyzer.php on line 526 > {"error":{"message":"\/vendor\/vimeo\/psalm\/src\/Psalm\/Internal\/Analyzer\/Statements\/Expression\/Assignment\/InstancePropertyAssignmentAnalyzer.php: __clone method called on non-object","line_from":526,"type":"psalm_error"}} If I don't set the private field, everything...

bug
causes crash
pure/immutable

https://psalm.dev/r/348f362bc8 PHPStan considers this snippet perfectly valid: https://phpstan.org/r/b6a8fe7d-df8a-459b-b1a1-46be219287cc

enhancement

`int-mask` equals to `int`. If I mark a parameter as `int`, I get only one expected error: https://psalm.dev/r/a1142261f0 If I mark it as `int-mask`, I get `Docblock-defined type 3 for...

bug
match