phpstan / php-8-stubs

MIT License
27 stars 8 forks source link

Update extractor #65

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
phpstan/phpdoc-parser require patch 1.22.0 -> 1.22.1
phpstan/phpstan require patch 1.10.21 -> 1.10.25

Release Notes

phpstan/phpdoc-parser (phpstan/phpdoc-parser) ### [`v1.22.1`](https://togithub.com/phpstan/phpdoc-parser/releases/tag/1.22.1) [Compare Source](https://togithub.com/phpstan/phpdoc-parser/compare/1.22.0...1.22.1) - [65c3959](http://github.com/phpstan/phpdoc-parser/commit/65c39594fbd8c67abfc68bb323f86447bab79cc0) - Format-preserving printer - use original detected newline - [c001601](http://github.com/phpstan/phpdoc-parser/commit/c001601c3e394ecde018c4b93aca55949ff437d4) - Fix newline separator in description - [522c7e2](http://github.com/phpstan/phpdoc-parser/commit/522c7e2951edc42dc1210b419757ad6aabec330f) - TokenIterator - detect newline - [ccca1bd](http://github.com/phpstan/phpdoc-parser/commit/ccca1bd0623aa0b59b447be6bd280b884a1c6946) - Skip FuzzyTest on Windows - [2542ebb](http://github.com/phpstan/phpdoc-parser/commit/2542ebb5dbfd47f7207ef2ae946b34388faf66ca) - Windows build - [d2c85f3](http://github.com/phpstan/phpdoc-parser/commit/d2c85f3e4cc713a7f879f146dd3a175b8a328dfa) - Test updated Slevomat CS - [d7b38ea](http://github.com/phpstan/phpdoc-parser/commit/d7b38ea9cc92628c2b97e1b4034c19c100ba9aae) - Merge branch refs/heads/1.21.x into 1.22.x - [35bfc80](http://github.com/phpstan/phpdoc-parser/commit/35bfc8073acf99d40151dc888af8fb564084ea39) - Regression test about GenericTagValueNode that starts at next line - [0666db5](http://github.com/phpstan/phpdoc-parser/commit/0666db55a2b3f3b89664032a26fc8e92106b274a) - Update Slevomat CS to test
phpstan/phpstan (phpstan/phpstan) ### [`v1.10.25`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.25) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.24...1.10.25) # Improvements šŸ”§ - Understand that promoted property can come from renamed trait constructor (https://github.com/phpstan/phpstan-src/commit/eafba2e09164846a010dc29e65bbc49c814941ae) - Understand that methods called from constructor throwing exception cannot leave object in an uninitializad state (https://github.com/phpstan/phpstan-src/commit/f4d060b6888c8ef4469e99becfd23eb64c40da89) # Bugfixes šŸ› - Allow promoted properties in trait `__construct` even when renamed (https://github.com/phpstan/phpstan-src/commit/4dd3f753b1438c30e9ee882a3f2b4632b1a8cecc), [#​9577](https://togithub.com/phpstan/phpstan/issues/9577) - IllegalConstructorStaticCallRule - fix for renamed trait constructor (https://github.com/phpstan/phpstan-src/commit/65330d3be77c4c7e28a2eb51b19850f8895c147a), [#​9577](https://togithub.com/phpstan/phpstan/issues/9577) ### [`v1.10.24`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.24) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.23...1.10.24) # Improvements šŸ”§ - Evaluate uninitialized properties based on each execution end in constructor (https://github.com/phpstan/phpstan-src/commit/b2d2a9d08df092e78fa0cd652e158e13f2e63a7d), [#​7649](https://togithub.com/phpstan/phpstan/issues/7649) - ConstructorReturnTypeRule (https://github.com/phpstan/phpstan-src/commit/2ebbb5303aad6b757c65ca6f12cafebed79bed83) # Bugfixes šŸ› - Fix `processCalledMethod` when anonymous classes are involved (https://github.com/phpstan/phpstan-src/commit/3f5277975a4c625b0fd6a29ea256a672d0bb77fa) - Do not require return type for renamed trait constructor (https://github.com/phpstan/phpstan-src/commit/f6ca9c88d66af8d272e4baec19dbd63a0ec54a5f), [#​9571](https://togithub.com/phpstan/phpstan/issues/9571) - FileTypeMapper - fix PHPDocs for renamed trait methods (https://github.com/phpstan/phpstan-src/commit/0bd48b4ae0f397de435ba657f7a36284d90ef2dd), [#​9571](https://togithub.com/phpstan/phpstan/issues/9571), [#​6856](https://togithub.com/phpstan/phpstan/issues/6856) - Register `json_validate` stub only on PHP 8.3+ (https://github.com/phpstan/phpstan-src/commit/8f8c1af790395a07eb46016ec20f20485bc42c66), [#​9574](https://togithub.com/phpstan/phpstan/issues/9574) # Function signature fixes šŸ¤– - More precise `session_status()` return type ([#​2509](https://togithub.com/phpstan/phpstan-src/pull/2509)), thanks [@​staabm](https://togithub.com/staabm)! ### [`v1.10.23`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.23) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.22...1.10.23) # Improvements šŸ”§ - Fix false positives and false negatives about uninitialized properties (https://github.com/phpstan/phpstan-src/commit/348debc5c3b38c5f40448bae63d76cc99a6baea8), [#​7198](https://togithub.com/phpstan/phpstan/issues/7198) - This leads to uninitialized properties being detected in more places - Lazy initialization of `AnalyserResult::$errors` ([#​2400](https://togithub.com/phpstan/phpstan-src/pull/2400)), thanks [@​takaram](https://togithub.com/takaram)! - Check additional assign of promoted readonly property (https://github.com/phpstan/phpstan-src/commit/8fe4401489c58da040889ed18bffda10ba89f05c) # Bugfixes šŸ› - Fix readonly property assigned in if-else (https://github.com/phpstan/phpstan-src/commit/ce3c1641926e8abf7ce6dca055717e1657deb792), [#​6402](https://togithub.com/phpstan/phpstan/issues/6402) - Fix ConstantArrayTypeBuilder's isList flag ([#​2408](https://togithub.com/phpstan/phpstan-src/pull/2408)), thanks [@​jlherren](https://togithub.com/jlherren)! - TypeSpecifier - handle AlwaysRememberedExpr in handling Identical (https://github.com/phpstan/phpstan-src/commit/a769a1c90c7d9b051e42225104dbc3c83768a553), [#​9499](https://togithub.com/phpstan/phpstan/issues/9499) - Fix processing traits with renamed methods (https://github.com/phpstan/phpstan-src/commit/c6035f3ca1511332c9fec762135a24f5963dee06), [#​7198](https://togithub.com/phpstan/phpstan/issues/7198), [#​6039](https://togithub.com/phpstan/phpstan/issues/6039), [#​4758](https://togithub.com/phpstan/phpstan/issues/4758) # Function signature fixes šŸ¤– - Allow `null` in `mysqli*real_connect` arguments ([#​2508](https://togithub.com/phpstan/phpstan-src/pull/2508)), thanks [@​staabm](https://togithub.com/staabm)! # Internals šŸ” - Cheap checks first in IgnoredRegexValidator ([#​2505](https://togithub.com/phpstan/phpstan-src/pull/2505)), thanks [@​mad-briller](https://togithub.com/mad-briller)! - Do not use `instanceof ThisType` as it can be unreliable in case of intersection types (https://github.com/phpstan/phpstan-src/commit/79359450f36c073fa8444a7e87c0e29867f6b4c1) ### [`v1.10.22`](https://togithub.com/phpstan/phpstan/releases/tag/1.10.22) [Compare Source](https://togithub.com/phpstan/phpstan/compare/1.10.21...1.10.22) # Bleeding edge šŸ”Ŗ - More precise `file()` flags args ([#​2476](https://togithub.com/phpstan/phpstan-src/pull/2476), [#​2482](https://togithub.com/phpstan/phpstan-src/pull/2482)), thanks [@​staabm](https://togithub.com/staabm)! - Non-static methods cannot be used as static callables in PHP 8+ ([#​2420](https://togithub.com/phpstan/phpstan-src/pull/2420)), thanks [@​staabm](https://togithub.com/staabm)! - More precise `flock()` operation flags ([#​2477](https://togithub.com/phpstan/phpstan-src/pull/2477)), thanks [@​staabm](https://togithub.com/staabm)! - Rule for `call_user_func()` ([#​2479](https://togithub.com/phpstan/phpstan-src/pull/2479)), thanks [@​staabm](https://togithub.com/staabm)! *If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's `phpstan.neon`:* includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon *Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. [Learn more](https://phpstan.org/blog/what-is-bleeding-edge)* # Improvements šŸ”§ - Add return type extension for `constant()` ([#​2474](https://togithub.com/phpstan/phpstan-src/pull/2474)), thanks [@​herndlm](https://togithub.com/herndlm)! - Dynamic `assert()` throw type extension ([#​2427](https://togithub.com/phpstan/phpstan-src/pull/2427)), thanks [@​patrickkusebauch](https://togithub.com/patrickkusebauch)! - Update nikic/PHP-Parser (https://github.com/phpstan/phpstan-src/commit/79b3034acf926b23ec3bcfed1ad36ea375f01981) - PHP 8.3: `json_validate()` stub (https://github.com/phpstan/phpstan-src/commit/828b269c0dccda404e33a5cca1ac4be1998e18ba), thanks [@​staabm](https://togithub.com/staabm)! - Implement `call_user_func()` DynamicFunctionReturnTypeExtension ([#​2479](https://togithub.com/phpstan/phpstan-src/pull/2479)), thanks [@​staabm](https://togithub.com/staabm)! # Bugfixes šŸ› - Add support for math with constant numeric string ([#​2209](https://togithub.com/phpstan/phpstan-src/pull/2209)), [#​8803](https://togithub.com/phpstan/phpstan/issues/8803), [#​8827](https://togithub.com/phpstan/phpstan/issues/8827), thanks [@​VincentLanglet](https://togithub.com/VincentLanglet)! - Use case insensitive matching to detect usages of private methods ([#​2484](https://togithub.com/phpstan/phpstan-src/pull/2484)), [#​8346](https://togithub.com/phpstan/phpstan/issues/8346), thanks [@​stof](https://togithub.com/stof)! - fix array_splice with non-array replacement ([#​2457](https://togithub.com/phpstan/phpstan-src/pull/2457)), thanks [@​schlndh](https://togithub.com/schlndh)! - Resolve key and value type of partially non-iterable types when entering foreach (https://github.com/phpstan/phpstan-src/commit/cb5a2b4575bee005c33fcbdc3748abc160cbda14), [#​9535](https://togithub.com/phpstan/phpstan/issues/9535), [#​4907](https://togithub.com/phpstan/phpstan/issues/4907), [#​8924](https://togithub.com/phpstan/phpstan/issues/8924), [#​5998](https://togithub.com/phpstan/phpstan/issues/5998) - Foreach can append to the array but it does not change the number of iterations (https://github.com/phpstan/phpstan-src/commit/27085c5516f6864d73e660d6e897a1466c4169a6), [#​4612](https://togithub.com/phpstan/phpstan/issues/4612) - MutatingScope - process left side of BooleanAnd and BooleanOr before getting type of the whole expression (https://github.com/phpstan/phpstan-src/commit/989dd6fab8b0bf66777e20c533c90c7841d05c3a), [#​5365](https://togithub.com/phpstan/phpstan/issues/5365), [#​6551](https://togithub.com/phpstan/phpstan/issues/6551), [#​7491](https://togithub.com/phpstan/phpstan/issues/7491), [#​4004](https://togithub.com/phpstan/phpstan/issues/4004), [#​2499](https://togithub.com/phpstan/phpstan/issues/2499) - MutatingScope - process ternary cond before getting type of the whole expression (https://github.com/phpstan/phpstan-src/commit/faba80560516dc2780ff014f36171e806a7b19c2) - Fix processing switch with complex case conditions (https://github.com/phpstan/phpstan-src/commit/f6b34f2ac86d2830f53ba51601067232ea1bf6d6), [#​5326](https://togithub.com/phpstan/phpstan/issues/5326) - Fix ClassConstFetch Identical specification with Yoda conditions ([#​2498](https://togithub.com/phpstan/phpstan-src/pull/2498)), [#​9542](https://togithub.com/phpstan/phpstan/issues/9542), thanks [@​herndlm](https://togithub.com/herndlm)! # Function signature fixes šŸ¤– - Update functionMap for ext-mongodb 1.16 ([#​2473](https://togithub.com/phpstan/phpstan-src/pull/2473)), thanks [@​alcaeus](https://togithub.com/alcaeus)! - Add false to the `db2_num_rows()` return type ([#​2456](https://togithub.com/phpstan/phpstan-src/pull/2456)), thanks [@​morozov](https://togithub.com/morozov)! - More precise `ignore_user_abort()` return type ([#​2489](https://togithub.com/phpstan/phpstan-src/pull/2489)), thanks [@​staabm](https://togithub.com/staabm)! # Internals šŸ” - Type projections, part 1: call-site variance in GenericObjectType ([#​2471](https://togithub.com/phpstan/phpstan-src/pull/2471)), thanks [@​jiripudil](https://togithub.com/jiripudil)! - Test PHP 8.3 ([#​2486](https://togithub.com/phpstan/phpstan-src/pull/2486)) - Cleanup NodeScopeResolver ([#​2499](https://togithub.com/phpstan/phpstan-src/pull/2499)), thanks [@​staabm](https://togithub.com/staabm)!

Configuration

šŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ‘» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.