phpstan-src
phpstan-src copied to clipboard
PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.
closes https://github.com/phpstan/phpstan/issues/6830
And indicate that `DOMNode::$attributes` is a node map of `DOMAttr`. Not sure how to write a test, nor if this is where I need to amend the stubs. But happy...
Fixes https://github.com/phpstan/phpstan/issues/12250 I made a bug report https://github.com/phpstan/phpstan/issues/12250, and this PR is fixing that. While all the current tests are passing this PR adds a conditional assignment to NewAssignedToPropertyVisitor which...
This is very W.I.P. and I think this is the correct way to fix it, but I don't know if I should update `Type::isOffsetAccessible()` to pass in the `$mode` parameter...
https://www.php.net/manual/en/function.imagecreatefromavif.php https://www.php.net/manual/en/function.imagecreatefromtga.php https://www.php.net/manual/en/function.odbc-procedurecolumns.php https://www.php.net/manual/en/function.odbc-procedures.php https://www.php.net/manual/en/function.openssl-cipher-key-length.php https://www.php.net/manual/en/function.pg-lo-import.php https://www.php.net/manual/en/function.sodium-crypto-aead-aegis128l-decrypt.php https://www.php.net/manual/en/function.sodium-crypto-aead-aegis256-decrypt.php https://www.php.net/manual/en/function.ssh2-forward-accept.php https://www.php.net/manual/en/function.ssh2-forward-listen.php
Gitlab CI wasn't being detected by the `CiDetectedErrorFormatter`. This MR allows detection so that the `CiDetectedErrorFormatter` can be used for gitlab as well.
See https://www.php.net/manual/en/function.apcu-inc.php
extracts `ComposerPhpVersionParser` to allow re-use of version-string into min/max `PhpVersion` parsing. I think this will be usefull in https://github.com/phpstan/phpstan-phpunit/pull/269 to build `PhpVersion` min/max for versions in PHPUnits `#[RequiresPhp('5.*')]`-attribute.
I created new pull request for: https://github.com/phpstan/phpstan-src/pull/4580 because i can not update source branch.