phpstan/phpstan
### [`v0.12.81`](https://togithub.com/phpstan/phpstan/releases/0.12.81)
[Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.80...0.12.81)
# Improvements 🔧
- **Support for running PHPStan without any arguments** ([phpstan/phpstan-src@`469a8c3`](https://togithub.com/phpstan/phpstan-src/commit/469a8c3dc32141c2783e61f4ac0fd4c7ac726d15))
- You can run PHPStan just by executing `vendor/bin/phpstan`, if you satisfy two conditions:
- You have `phpstan.neon` (or `phpstan.neon.dist`) in your current working directory
- This configuration file contains [rule `level`](https://phpstan.org/config-reference#rule-level) parameter, and [`paths` to analyse](https://phpstan.org/config-reference#analysed-files)
- Fix support for classes named after pseudotypes in PHPDocs ([#365](https://togithub.com/phpstan/phpstan-src/pull/365)), thanks [@stof](https://togithub.com/stof)!
- This means that existing classes with names like `Resource` or `Never` are now correctly recognized in PHPDocs and have priority over PHP's `resource` type and PHPStan's `never` pseudotype
- Understand `noreturn` in PHPDoc as NeverType ([phpstan/phpstan-src@`bce31f0`](https://togithub.com/phpstan/phpstan-src/commit/bce31f014da8302be403e40c76158a83d96a967a))
- Docker - support ARM architecture ([#4663](https://togithub.com/phpstan/phpstan/pull/4663))
# Bugfixes 🐛
- Updated PHP 8 stubs ([phpstan/phpstan-src@`8382e35`](https://togithub.com/phpstan/phpstan-src/commit/8382e35a2b60d4a121d5b20aeb8871b734a9c4dc))
- Fix infinite recursion when asking `isSuperTypeOf()` between template union types ([phpstan/phpstan-src@`9f51f8e`](https://togithub.com/phpstan/phpstan-src/commit/9f51f8e6dde3ff01c335848e2f16c7bc56174a6d)), [#4670](https://togithub.com/phpstan/phpstan/issues/4670)
- Fix generic variance with BenevolentUnionType ([phpstan/phpstan-src@`49dcc50`](https://togithub.com/phpstan/phpstan-src/commit/49dcc504cfb97060953e9712b1c3cb18a53ffe6e)), [#4634](https://togithub.com/phpstan/phpstan/issues/4634)
- Nested generic type - correctly infer template types ([phpstan/phpstan-src@`48aea56`](https://togithub.com/phpstan/phpstan-src/commit/48aea56c5ed8fda80caf3d1dbaa8b9dd2c8fd301)), [#4642](https://togithub.com/phpstan/phpstan/issues/4642)
- Fixed false positive about unreferenced template type in a parameter with nested generics ([phpstan/phpstan-src@`0725f5a`](https://togithub.com/phpstan/phpstan-src/commit/0725f5a71113e399e077bf9ae038467e69c1e0bc)), [#4641](https://togithub.com/phpstan/phpstan/issues/4641)
- Fixed class-scoped template type used as a bound in method-scoped template type ([phpstan/phpstan-src@`e68ca10`](https://togithub.com/phpstan/phpstan-src/commit/e68ca10bf5bf5fa72bc35de4800b0ea71f7f50b5)), [#4643](https://togithub.com/phpstan/phpstan/issues/4643)
# Function signature fixes 🤖
- Fixed incorrect return type for `SplFileObject::fgetcsv()` ([#464](https://togithub.com/phpstan/phpstan-src/pull/464)), thanks [@TomAdam](https://togithub.com/TomAdam)!
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
:warning: We detected security issues in this pull request:
Vulnerable Libraries (1)
https://github.com/koromerzhin/template-phpfpm/blob/6b07dfb153f0114f5087a1b39e81b57550f1a382/apps/composer.json#L23
More info on how to fix Vulnerable Libraries in [PHP](https://docs.guardrails.io/docs/en/vulnerabilities/php/using_vulnerable_libraries.html?utm_source=ghpr).
This PR contains the following updates:
0.12.80
->0.12.81
Release Notes
phpstan/phpstan
### [`v0.12.81`](https://togithub.com/phpstan/phpstan/releases/0.12.81) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.80...0.12.81) # Improvements 🔧 - **Support for running PHPStan without any arguments** ([phpstan/phpstan-src@`469a8c3`](https://togithub.com/phpstan/phpstan-src/commit/469a8c3dc32141c2783e61f4ac0fd4c7ac726d15)) - You can run PHPStan just by executing `vendor/bin/phpstan`, if you satisfy two conditions: - You have `phpstan.neon` (or `phpstan.neon.dist`) in your current working directory - This configuration file contains [rule `level`](https://phpstan.org/config-reference#rule-level) parameter, and [`paths` to analyse](https://phpstan.org/config-reference#analysed-files) - Fix support for classes named after pseudotypes in PHPDocs ([#365](https://togithub.com/phpstan/phpstan-src/pull/365)), thanks [@stof](https://togithub.com/stof)! - This means that existing classes with names like `Resource` or `Never` are now correctly recognized in PHPDocs and have priority over PHP's `resource` type and PHPStan's `never` pseudotype - Understand `noreturn` in PHPDoc as NeverType ([phpstan/phpstan-src@`bce31f0`](https://togithub.com/phpstan/phpstan-src/commit/bce31f014da8302be403e40c76158a83d96a967a)) - Docker - support ARM architecture ([#4663](https://togithub.com/phpstan/phpstan/pull/4663)) # Bugfixes 🐛 - Updated PHP 8 stubs ([phpstan/phpstan-src@`8382e35`](https://togithub.com/phpstan/phpstan-src/commit/8382e35a2b60d4a121d5b20aeb8871b734a9c4dc)) - Fix infinite recursion when asking `isSuperTypeOf()` between template union types ([phpstan/phpstan-src@`9f51f8e`](https://togithub.com/phpstan/phpstan-src/commit/9f51f8e6dde3ff01c335848e2f16c7bc56174a6d)), [#4670](https://togithub.com/phpstan/phpstan/issues/4670) - Fix generic variance with BenevolentUnionType ([phpstan/phpstan-src@`49dcc50`](https://togithub.com/phpstan/phpstan-src/commit/49dcc504cfb97060953e9712b1c3cb18a53ffe6e)), [#4634](https://togithub.com/phpstan/phpstan/issues/4634) - Nested generic type - correctly infer template types ([phpstan/phpstan-src@`48aea56`](https://togithub.com/phpstan/phpstan-src/commit/48aea56c5ed8fda80caf3d1dbaa8b9dd2c8fd301)), [#4642](https://togithub.com/phpstan/phpstan/issues/4642) - Fixed false positive about unreferenced template type in a parameter with nested generics ([phpstan/phpstan-src@`0725f5a`](https://togithub.com/phpstan/phpstan-src/commit/0725f5a71113e399e077bf9ae038467e69c1e0bc)), [#4641](https://togithub.com/phpstan/phpstan/issues/4641) - Fixed class-scoped template type used as a bound in method-scoped template type ([phpstan/phpstan-src@`e68ca10`](https://togithub.com/phpstan/phpstan-src/commit/e68ca10bf5bf5fa72bc35de4800b0ea71f7f50b5)), [#4643](https://togithub.com/phpstan/phpstan/issues/4643) # Function signature fixes 🤖 - Fixed incorrect return type for `SplFileObject::fgetcsv()` ([#464](https://togithub.com/phpstan/phpstan-src/pull/464)), thanks [@TomAdam](https://togithub.com/TomAdam)!Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.