abbadon1334 / atk4-trumbowyg

ATK4 Textarea powered by JS library Trumbowyg
2 stars 2 forks source link

Update dependency phpstan/phpstan to v0.12.99 - autoclosed #18

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
phpstan/phpstan require-dev patch 0.12.94 -> 0.12.99

Release Notes

phpstan/phpstan ### [`v0.12.99`](https://togithub.com/phpstan/phpstan/releases/0.12.99) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.98...0.12.99) # Improvements πŸ”§ - `CompoundTypeHelper` is deprecated (https://github.com/phpstan/phpstan-src/commit/fff85f3c08a38110bca6a13d341778bbd79a2108) - Update `phpstorm-stubs` (https://github.com/phpstan/phpstan-src/commit/6fa12857c88dccfcf58492fc20aaa1f8aaa60535) - Add support for multiple wildcards in const type annotations ([#​658](https://togithub.com/phpstan/phpstan-src/pull/658)), [#​5534](https://togithub.com/phpstan/phpstan/issues/5534),thanks [@​Seldaek](https://togithub.com/Seldaek)! # Bleeding edge πŸ”ͺ - `empty()` rule (https://github.com/phpstan/phpstan-src/commit/601460ccecfd72888d96e9c53d21cc3a8b66c719) - `MissingReturnRule` - make the error non-ignorable for native typehints (https://github.com/phpstan/phpstan-src/commit/9ecefd56d8b1d5cf0100c50d6e620285d5312291) - Check callable parameter types for `array_map()` and `array_filter()` calls, [#​5609](https://togithub.com/phpstan/phpstan/issues/5609), [#​5356](https://togithub.com/phpstan/phpstan/issues/5356), [#​1954](https://togithub.com/phpstan/phpstan/issues/1954) - Teach `IssetRule` everything what `VariableCertaintyInIssetRule` does (https://github.com/phpstan/phpstan-src/commit/9689fbd0ed9f8438afc8679c90df61ee48a638fe), [#​970](https://togithub.com/phpstan/phpstan/issues/970) - Teach `CatchWithUnthrownExceptionRule` everything what `DeadCatchRule` does (https://github.com/phpstan/phpstan-src/commit/165504cf9c4ae6e2dcfc2c3570a631441a411615) - Check that function with `@throws void` does not have an explicit throw point (https://github.com/phpstan/phpstan-src/commit/8b3382aceac801b9801fccda253033d8e8e5f655) *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)* # Bugfixes πŸ› - Fix false-positive when merging unions with plus operator ([#​657](https://togithub.com/phpstan/phpstan-src/pull/657)), [#​5584](https://togithub.com/phpstan/phpstan/issues/5584), thanks [@​staabm](https://togithub.com/staabm)! - `checkExplicitMixed` - replace mixed type recursively (https://github.com/phpstan/phpstan-src/commit/b4f81dbd777f071d78ccfc453c12e82b6f950f11), [#​5218](https://togithub.com/phpstan/phpstan/issues/5218) - Fixed `checkExplicitMixed` with `TemplateMixedType` (https://github.com/phpstan/phpstan-src/commit/6ba9ef29cb5ccd5b540815e899c95e6a1602ccad), [#​3566](https://togithub.com/phpstan/phpstan/issues/3566) - `BaselineNeonErrorFormatter`: Sort errors by normalized relative path ([#​536](https://togithub.com/phpstan/phpstan-src/pull/536)), [#​5085](https://togithub.com/phpstan/phpstan/issues/5085), thanks [@​dktapps](https://togithub.com/dktapps)! - Enter assignment of property fetch's var when in null coalesce operator (https://github.com/phpstan/phpstan-src/commit/7ddfa174a60a15e584c7e6f4fec82237ccd70da8), [#​3283](https://togithub.com/phpstan/phpstan/issues/3283) - Pass-by-ref argument type passed to callable should be mixed after calling the callable (https://github.com/phpstan/phpstan-src/commit/109bf999b8791f512f2fe82b026ccd67d1f152a2), [#​5615](https://togithub.com/phpstan/phpstan/issues/5615), [#​5428](https://togithub.com/phpstan/phpstan/issues/5428), [#​2191](https://togithub.com/phpstan/phpstan/issues/2191) - `StubSourceLocatorFactory` - always use PHP 8 parser for PhpStorm stubs (https://github.com/phpstan/phpstan-src/commit/731ce1dd8d65537a61dddac417d5f5169f4bfce6) - support unary-minus on `IntegerRangeType` ([#​669](https://togithub.com/phpstan/phpstan-src/pull/669)), thanks [@​staabm](https://togithub.com/staabm)! - `array_map` - understand call with multiple arrays (https://github.com/phpstan/phpstan-src/commit/3e0ecec8fc2482e412f67f6a62bdb6542be0fe5d), [#​5039](https://togithub.com/phpstan/phpstan/issues/5039) - `range()` of `numeric-string`s can produce array of float|int (https://github.com/phpstan/phpstan-src/commit/3b6f0bf739c77e1fb8fb5116ae89cd70a2ac96c2) # Function signature fixes πŸ€– - Fix parameter definition for `Grpc\ChannelCredentials::createSsl` ([#​665](https://togithub.com/phpstan/phpstan-src/pull/665)), thanks [@​howyi](https://togithub.com/howyi)! - Make `SimpleXMLElement` stub more specific ([#​666](https://togithub.com/phpstan/phpstan-src/pull/666)), thanks [@​devbanana](https://togithub.com/devbanana)! ### [`v0.12.98`](https://togithub.com/phpstan/phpstan/releases/0.12.98) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.97...0.12.98) Allow dynamic list of stub files thanks to StubFilesExtension (https://github.com/phpstan/phpstan-src/commit/2ba9332d29c1acdde0f85a2781308d2e8972f00e), [https://github.com/phpstan/phpstan-symfony/issues/195](https://togithub.com/phpstan/phpstan-symfony/issues/195) ### [`v0.12.97`](https://togithub.com/phpstan/phpstan/releases/0.12.97) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.96...0.12.97) # Improvements πŸ”§ - Support for `literal-string` PHPDoc type inspired by `is_literal()` RFC (https://wiki.php.net/rfc/is_literal), [#​5507](https://togithub.com/phpstan/phpstan/issues/5507) - Support `bool` as template type bound (https://github.com/phpstan/phpstan-src/commit/9d191f9abb00b3c293a26934ba1b92bb413569b4) - Support `float` as template type bound (https://github.com/phpstan/phpstan-src/commit/4e7d6c155c52e11f81bcabf75f84e14a2e0e1727), [#​5331](https://togithub.com/phpstan/phpstan/issues/5331) - Make `ReflectionAttribute` generic ([#​640](https://togithub.com/phpstan/phpstan-src/pull/640), [#​643](https://togithub.com/phpstan/phpstan-src/pull/643)), thanks [@​vhenzl](https://togithub.com/vhenzl)! - Implemented math on IntegerRangeType and ConstantIntegerType ([#​637](https://togithub.com/phpstan/phpstan-src/pull/637)), [#​4843](https://togithub.com/phpstan/phpstan/issues/4843), thanks [@​staabm](https://togithub.com/staabm)! - Support `non-empty-array` type in `[] != $arr` conditions ([#​649](https://togithub.com/phpstan/phpstan-src/pull/649)), thanks [@​staabm](https://togithub.com/staabm)! - Optimization - do not sort huge unions (https://github.com/phpstan/phpstan-src/commit/5a44c297adb6ded659c3206e9e9525f60a37d55b), [#​5500](https://togithub.com/phpstan/phpstan/issues/5500) - Optimize calculating scalar values from huge unions (https://github.com/phpstan/phpstan-src/commit/a6ca5f7a7ef60f20ca9c2f5ec5410d28224e2db8), [#​5527](https://togithub.com/phpstan/phpstan/issues/5527) - Update PHP 8 stubs (https://github.com/phpstan/phpstan-src/commit/a82605fbb80c5b09614ad6b82d872f2833eecce8) # Bugfixes πŸ› - Reflection: fixed context of invoking a trait method (https://github.com/phpstan/phpstan-src/commit/89ceb6a9790d534b1d101b76317e487f0ee5d0c8), [#​5497](https://togithub.com/phpstan/phpstan/issues/5497) - Union normalization - do not take template types apart (https://github.com/phpstan/phpstan-src/commit/3b17c0e1d5a712f75f85ab604cb84741bdf38c72) - `self::CONSTANT` can be precise even with PHPDoc type (https://github.com/phpstan/phpstan-src/commit/5010ef459465fa27a3b0fe3593bdd445b6dae8f3), [#​5517](https://togithub.com/phpstan/phpstan/issues/5517) - Fix CallableType's string type assumptions (https://github.com/phpstan/phpstan-src/commit/9a9f19380499a4836aa89d46a29477aed17b5da5) - OptimizedDirectorySourceLocator - fixed crash when parsing `Text.php` of `nl_BE` from Faker (https://github.com/phpstan/phpstan-src/commit/a09a98d251002a061c96e7a49132693d46a0dee9), [#​5525](https://togithub.com/phpstan/phpstan/issues/5525) - Fix `?parent` in return type (https://github.com/phpstan/phpstan-src/commit/30c9b01fd12bf2a1f655b369629c3a38acff978e), [#​5529](https://togithub.com/phpstan/phpstan/issues/5529) - Fixed missing return rule for native mixed type (https://github.com/phpstan/phpstan-src/commit/03d8312e3ea62bb2c6a3ed89a88a6d86101a5594) - Make mixin method static if there's `__callStatic()` in the class (https://github.com/phpstan/phpstan-src/commit/114a38f87a7ce2e7a53d55454a61cdfd832ea69f), [#​5536](https://togithub.com/phpstan/phpstan/issues/5536) - added `sizeof()` as alias of `count()` for Smaller/SmallerOrEqual ([#​647](https://togithub.com/phpstan/phpstan-src/pull/647), [#​648](https://togithub.com/phpstan/phpstan-src/pull/648)), [#​4843](https://togithub.com/phpstan/phpstan/issues/4843), thanks [@​staabm](https://togithub.com/staabm)! - Refactor PreInc and PreDec (https://github.com/phpstan/phpstan-src/commit/a6a23dcaf6254c182e39117cbeb9f8087c1ee22c), [#​1870](https://togithub.com/phpstan/phpstan/issues/1870) - Fix inferring `TemplateUnionType` ((https://github.com/phpstan/phpstan-src/commit/1b5710a3aa87a3d475d565c8ded12de170ee6cb6), [#​5562](https://togithub.com/phpstan/phpstan/issues/5562) # Function signature fixes πŸ€– - substr_count returns non-negative integer (https://github.com/phpstan/phpstan-src/commit/8db058a52c763408f30cd914d743d930ff3e7e8e), [#​5513](https://togithub.com/phpstan/phpstan/issues/5513) - mb_str_split() / str_split() always returns `non-empty-array` ([#​633](https://togithub.com/phpstan/phpstan-src/pull/633)), thanks [@​staabm](https://togithub.com/staabm)! - Third parameter of `sodium_base642bin()` is optional. ([#​644](https://togithub.com/phpstan/phpstan-src/pull/644)), thanks [@​tehbeard](https://togithub.com/tehbeard)! - Make `filter_var()` return `non-empty-string` if input is non-empty ([#​642](https://togithub.com/phpstan/phpstan-src/pull/642)), thanks [@​devbanana](https://togithub.com/devbanana)! - use positive-int in `iterator_count()` / `iterator_apply()` ([#​646](https://togithub.com/phpstan/phpstan-src/pull/646)), thanks [@​staabm](https://togithub.com/staabm)! - use positive-int in `array_count_values()` ([#​645](https://togithub.com/phpstan/phpstan-src/pull/645)), thanks [@​staabm](https://togithub.com/staabm)! - `filter_var()` should return non empty string only when it will not be sanitized ([#​650](https://togithub.com/phpstan/phpstan-src/pull/650)), thanks [@​devbanana](https://togithub.com/devbanana)! - Sync `parse_url` signature with PHP 8 (https://github.com/phpstan/phpstan-src/commit/f7c6464067e04d5fc3f11b6f624a29fee067b1be) ### [`v0.12.96`](https://togithub.com/phpstan/phpstan/releases/0.12.96) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.95...0.12.96) - OverridingPropertyRule - relax checking PHPDoc types (https://github.com/phpstan/phpstan-src/commit/24f6264bac7af157bb4efdd34a8536f6445c6ac3), [#​5494](https://togithub.com/phpstan/phpstan/issues/5494) - Add `PHP_WINDOWS_*`Β constants to `dynamicConstantNames` (https://github.com/phpstan/phpstan-src/commit/9762d371ebb2663ada1e6947d2edc685330011ee) ### [`v0.12.95`](https://togithub.com/phpstan/phpstan/releases/0.12.95) [Compare Source](https://togithub.com/phpstan/phpstan/compare/0.12.94...0.12.95) # Improvements πŸ”§ - Support `@var` above class constants (https://github.com/phpstan/phpstan-src/commit/b932769213234a3ee78c39c7505ded5fade3568c), [#​4361](https://togithub.com/phpstan/phpstan/issues/4361), [#​3530](https://togithub.com/phpstan/phpstan/issues/3530) - Removed lossy type optimization: `TypeCombinator::CONSTANT_SCALAR_UNION_THRESHOLD` (https://github.com/phpstan/phpstan-src/commit/c56d866e63d6cd9eb80eecc9c7f1c989b2110cd3), [#​5447](https://togithub.com/phpstan/phpstan/issues/5447), [#​5454](https://togithub.com/phpstan/phpstan/issues/5454), [#​4925](https://togithub.com/phpstan/phpstan/issues/4925), [#​4793](https://togithub.com/phpstan/phpstan/issues/4793), [#​5062](https://togithub.com/phpstan/phpstan/issues/5062), [#​3366](https://togithub.com/phpstan/phpstan/issues/3366), [#​3555](https://togithub.com/phpstan/phpstan/issues/3555) - `TypeCombinator::union()` - new optimization for constant scalar types (https://github.com/phpstan/phpstan-src/commit/da9e0613b8c21f0263680715da6986c921a75840) - Final constant rule (PHP 8.1) (https://github.com/phpstan/phpstan-src/commit/6be077e92dfa11d2bddddd4a86669139bf3c716e) - Readonly property rule (PHP 8.1) (https://github.com/phpstan/phpstan-src/commit/502596f1a1ee3ec319bab13462bb74294ff4f770) - Deprecated wrongly-named `PhpPropertyReflection::hasPhpDoc()` (https://github.com/phpstan/phpstan-src/commit/d78d60a286fc094593586f596c05f5ff997fe2d7) - Use IntegerRangeType in modulo-operator ([#​614](https://togithub.com/phpstan/phpstan-src/pull/614)), thanks [@​staabm](https://togithub.com/staabm)! # Bleeding edge πŸ”ͺ - IncompatibleClassConstantPhpDocTypeRule (https://github.com/phpstan/phpstan-src/commit/780a54cd0149d8cb5a62bb1ef6fa2b0871114ee5) - OverridingConstantRule (https://github.com/phpstan/phpstan-src/commit/89acb0db4400c95b231ae74830e8607d72824cbc) - OverridingPropertyRule (https://github.com/phpstan/phpstan-src/commit/0f4885aa101e0cc49f906e72990e356bd281ec63), [#​4281](https://togithub.com/phpstan/phpstan/issues/4281) - Private method called through `static::` (https://github.com/phpstan/phpstan-src/commit/bad2607a032787d822a1a8f91d5176455eac8693) - Private property accessed through `static::` (https://github.com/phpstan/phpstan-src/commit/d8e89538ac84236cb3c40ea85b524e4f7cc30852) - Private constant accessed through `static::` (https://github.com/phpstan/phpstan-src/commit/270326a1ed22398a98b15880e12a3b8015a83c4a) *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)* # Bugfixes πŸ› - Scalar type in PHPDoc can mean an existing class (https://github.com/phpstan/phpstan-src/commit/cdf9cb50129502217aca5a3d9ee3ed0c3795a148), [https://github.com/phpstan/phpstan/discussions/5392](https://togithub.com/phpstan/phpstan/discussions/5392) - `DateTime|DateTimeInterface` union accepts `DateTimeInterface` ([#​586](https://togithub.com/phpstan/phpstan-src/pull/586)), thanks [@​VincentLanglet](https://togithub.com/VincentLanglet)! - Make default `parallel.processTimeout` 10x bigger (https://github.com/phpstan/phpstan-src/commit/abb4378d635d1b8caaa2b5bd50e0304eec396f5f), [#​5341](https://togithub.com/phpstan/phpstan/issues/5341) - ParallelAnalyser - do not allow to go below the default timeout (https://github.com/phpstan/phpstan-src/commit/2f1615bdfdd439bda946b52df46804dc56c2c289) - `ZEND_` dynamic constants ([#​613](https://togithub.com/phpstan/phpstan-src/pull/613)), thanks [@​dktapps](https://togithub.com/dktapps)! - `PDOStatement` implements `IteratorAggregate` on PHP 8 (https://github.com/phpstan/phpstan-src/commit/dec054d330550d4706870b3cdbbd5c51e2880876), [#​5436](https://togithub.com/phpstan/phpstan/issues/5436) - Assure GitLab error formatter have integer line properties ([#​616](https://togithub.com/phpstan/phpstan-src/pull/616)), thanks [@​simonhammes](https://togithub.com/simonhammes)! - Fix inferring template type from `non-empty-string` (https://github.com/phpstan/phpstan-src/commit/6a33de94e447fdfdb8a67ac374e971dc2673fc5a), [#​5372](https://togithub.com/phpstan/phpstan/issues/5372) - AppendedArrayKeyTypeRule - more precise type description (https://github.com/phpstan/phpstan-src/commit/aa9e2e8f4969ea89976e5781f0381b8201944b55) - Fix casting `non-empty-string` array key type (https://github.com/phpstan/phpstan-src/commit/7172e5fc42154dbc73e78068bf12dbe3e27f9af5), [#​5372](https://togithub.com/phpstan/phpstan/issues/5372) - Fix `TemplateTypeMap::isEmpty()` (https://github.com/phpstan/phpstan-src/commit/f7250dbe9b23415f02961edc5f34e3f084e2b659) - Fix fetching class constants on object instances (https://github.com/phpstan/phpstan-src/commit/4cb02d15c326be71c8d1eeb0227a4931398928bb), [#​2959](https://togithub.com/phpstan/phpstan/issues/2959) - Do not produce reflection error for unknown constants in class constants (https://github.com/phpstan/phpstan-src/commit/29fcf80e1676f1a13ee04e88db6dbeb8685b58e1) # Function signature fixes πŸ€– - change return type for `chr()` ([#​599](https://togithub.com/phpstan/phpstan-src/pull/599)), thanks [@​AIlkiv](https://togithub.com/AIlkiv)! - Remove wrong return type of `imagejpeg` GD function ([#​619](https://togithub.com/phpstan/phpstan-src/pull/619)), thanks [@​mauriciofauth](https://togithub.com/mauriciofauth)! - fix return type for gzeof() ([#​620](https://togithub.com/phpstan/phpstan-src/pull/620)), thanks [@​forrest79](https://togithub.com/forrest79)! - Fix `openssl_seal()` `$iv` parameter ([#​624](https://togithub.com/phpstan/phpstan-src/pull/624)), thanks [@​jlherren](https://togithub.com/jlherren)! - fix `pg_field_name` prototype ([#​626](https://togithub.com/phpstan/phpstan-src/pull/626)), thanks [@​thierry-f-78](https://togithub.com/thierry-f-78)! - Fix `Phar`/`PharData::extractTo` type information ([#​628](https://togithub.com/phpstan/phpstan-src/pull/628)), thanks [@​Seldaek](https://togithub.com/Seldaek)! - More precise `abs()` return-type ([#​629](https://togithub.com/phpstan/phpstan-src/pull/629)), thanks [@​staabm](https://togithub.com/staabm)! - `str_split()` length parameter is always positive ([#​631](https://togithub.com/phpstan/phpstan-src/pull/631)), thanks [@​staabm](https://togithub.com/staabm)! - return `non-empty-array` from `mb_str_split`/`str_split` ([#​632](https://togithub.com/phpstan/phpstan-src/pull/632)), thanks [@​staabm](https://togithub.com/staabm)! - Cover `non-empty-string` in more string fuctions ([#​606](https://togithub.com/phpstan/phpstan-src/pull/606)), [#​5350](https://togithub.com/phpstan/phpstan/issues/5350), thanks [@​staabm](https://togithub.com/staabm)! - Added `rand()` dynamic return type extension ([#​606](https://togithub.com/phpstan/phpstan-src/pull/606)), thanks [@​staabm](https://togithub.com/staabm)! - Added stub for `WeakMap` ([#​623](https://togithub.com/phpstan/phpstan-src/pull/613)), thanks [@​dktapps](https://togithub.com/dktapps)! - Add `#[ReturnTypeWillChange]` stub ([#​618](https://togithub.com/phpstan/phpstan-src/pull/618)), thanks [@​zonuexe](https://togithub.com/zonuexe)! - Cover `non-empty-array` in `array_map()` ([#​601](https://togithub.com/phpstan/phpstan-src/pull/601)), thanks [@​Lctrs](https://togithub.com/Lctrs)! - Add dynamic return type extension for `mb_substitute_character` ([#​607](https://togithub.com/phpstan/phpstan-src/pull/607)), thanks [@​TRowbotham](https://togithub.com/TRowbotham)! - `strlen`: cover more scalar types ([#​630](https://togithub.com/phpstan/phpstan-src/pull/630)), thanks [@​staabm](https://togithub.com/staabm)! - support integer-range type in `min()`/`max()` for two arguments ([#​627](https://togithub.com/phpstan/phpstan-src/pull/627)), [#​5072](https://togithub.com/phpstan/phpstan/issues/5072), thanks [@​staabm](https://togithub.com/staabm)! - `array_fill()`: handle negative cases, support integer ranges and `non-empty-array` ([#​603](https://togithub.com/phpstan/phpstan-src/pull/603)), thanks [@​staabm](https://togithub.com/staabm)!

Configuration

πŸ“… Schedule: 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.

πŸ”• 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.