fluffycondor

Results 16 comments of fluffycondor

Увы, эффекта не даёт, варнинг на месте. Даже `PKCS7_NOVERIFY | PKCS7_NOATTR | PKCS7_NOCERTS | PKCS7_NOCHAIN | PKCS7_NOINTERN`

Я не думаю, что дело в ключах. Скорее всего, дело в связке определенных версий PHP + openssl (у нас это PHP 7.3.19 и OpenSSL 1.1.1d). Глубже я не компетентен -...

А если добавить в конфиг опцию supressPKCS7Warnings и по ее наличию оборачивать openssl_pkcs7_sign в ```php $oldErrorReportingLevel = error_reporting(E_ALL & ~E_WARNING); // выключает только варнинги $signResult = openssl_pkcs7_sign( $messageFile, $signFile, $cert,...

Huh, I'm confused by this: `Cannot call a non-mutation-free method Doctrine\Common\Collections\Criteria::orderBy from a pure context` I've marked this method as `@psalm-external-mutation-free` because it mutates its own state only. The object...

> Is the creation of a new Collection necessarily mutable-free (if so, should Collection::__construct be flagged as mutation-free)? > Does it clone the provided Collection maybe? Collection interface doesn't specify...

> In case of @var, this is even more strictly prohibitted. https://docs.phpdoc.org/latest/references/phpdoc/tags/var.html >The @var tag MUST contain the name of the element it documents. But on the next line there...

>I dislike inline @vars because they shouldn't be necessary at all - the source should already have the correct type when obtaining the value If there is typehinted a parent...

> Likewise, it would be easy to add here Not so easy as it would be. `ctype_*` functions return true not only for asserted strings but also for some ASCII...

> it should be in providerInvalidCodeParse I've tried it like that, it yields no error. I mean the test fails with the reason "No CodeException was thrown" or something. So...