v-noskov

Results 8 issues of v-noskov

### Bug report I'm handling an error when the code tries to access an uninitialised object property. But PhpStan does not consider that an error can be thrown, resulting in...

bug

### Version 4.24.1 ### Description Model properties without OA\Property annotation or attribute are included in the model's 'required' array if they aren't nullable and don't have a default value. For...

bug

| Q | A | |---------------|---------------------------------------------------------------------------------------------------------------------------| | Issues | Reproduce #2271 |

Implicitly marking function/method parameters as nullable is [deprecated](https://www.php.net/manual/en/migration84.deprecated.php#migration84.deprecated.core.implicitly-nullable-parameter) in PHP 8.4. Please, fix deprecation at least in these classes: ``` docusign/esign-client/src/Client/ApiClient.php:91 DocuSign\eSign\Client\ApiClient::__construct(): Implicitly marking parameter $config as nullable is deprecated,...

Since DBAL v.4 binary mapping [converts](https://github.com/doctrine/dbal/blob/4.2.x/UPGRADE.md#bc-break-changes-to-handling-binary-fields) DB value to PHP string instead of resource. But PHPStan check produces an error in this case: ``` Property Entity\Foo::$bar type mapping mismatch: database...

Running library on PHP 8.4, I get these deprecation notices: ``` Deprecated: Jenssegers\ImageHash\ImageHash::__construct(): Implicitly marking parameter $implementation as nullable is deprecated, the explicit nullable type must be used instead in...

This PR demonstrates the bug described in #670

Doctrine DBAL always converts the database value to a PHP array, even when the field contains null. SimpleArrayType mapper converts the null value from DB to [an empty PHP array](https://github.com/doctrine/dbal/blob/4.2.x/src/Types/SimpleArrayType.php#L41)....