Update all non-major dependencies (minor) - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
friendsofphp/php-cs-fixer | require-dev | minor |
3.2.1 -> 3.3.2
|
phpstan/phpstan | require-dev | minor |
1.1.2 -> 1.2.0
|
vimeo/psalm | require-dev | minor |
4.12.0 -> 4.13.0
|
Release Notes
FriendsOfPHP/PHP-CS-Fixer
v3.3.2
experimental release
- Drop support for Symfony v4
v3.3.1
- minor #6067 Bump minimum PHP version to 7.2 (keradus)
v3.3.0
- bug #6054 Utils - Add multibyte and UTF-8 support (paulbalandan)
- bug #6061 ModernizeStrposFixer - fix for negated with leading slash (kubawerlos)
- bug #6064 SquareBraceTransformer - fix detect array destructing in foreach (SpacePossum)
- bug #6082 PhpUnitDedicateAssertFixer must run before NoUnusedImportsFixer (kubawerlos)
- bug #6089 TokensAnalyzer.php - Fix T_ENCAPSED_AND_WHITESPACE handling in isBina… (SpacePossum)
- feature #5123 PhpdocTypesFixer - support generic types (kubawerlos)
- minor #5775 DX: run static code analysis on PHP 8.0 (kubawerlos)
- minor #6050 DX: TypeIntersectionTransformer - prove to not touch T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG (keradus)
- minor #6051 NoExtraBlankLinesFixer - Improve deprecation message (paulbalandan)
- minor #6060 DX: Add upgrade guide link when next Major is available (keradus)
- minor #6066 Clean ups (SpacePossum, kubawerlos)
- minor #6069 DX: cleanup stub file (keradus)
- minor #6070 Update UPGRADE-v3.md with php_unit_test_annotation/case deprecation (kubawerlos)
- minor #6072 Update usage doc to reflect change to PSR12 default. (hannob, keradus)
- minor #6084 Change: Remove __constructor() from RuleSetDescriptionInterface (niklam)
- minor #6085 Dx: reuse WhitespacesAnalyzer::detectIndent (kubawerlos)
- minor #6087 AbstractProxyFixer - more tests (SpacePossum)
phpstan/phpstan
v1.2.0
🔧
Improvements - Support for some features from PHP 8.1
- Support for
new
in initializers - RFC (https://github.com/phpstan/phpstan-src/commit/1a102fec28a2901927ce703a540fb82e47d17143) - Support for first-class callables - RFC
- Support for
array_is_list()
- RFC (#770), thanks @canvural!
- Support for
- Support
literal-string
with encapsed strings (#768), thanks @craigfrancis! - Tips for always used properties and constants extensions (https://github.com/phpstan/phpstan-src/commit/2db3c268e26d44125aa728c917ba51ec400b46b3)
- Autowire rules from the
rules
config section by their class name (https://github.com/phpstan/phpstan-src/commit/50cb90ddc6e6f6bdd248b7ea4bb5002193e808d6)
🐛
Bugfixes - Type system: ConstantStringType created from
::class
is always considered a classname (https://github.com/phpstan/phpstan-src/commit/da34d3f1d642d71d5a5130d371bb243c65b0b195), #5979 - Do not run PHP bug workaround on PHP 8+ where it's fixed (https://github.com/phpstan/phpstan-src/commit/6573959829e3d07e1fa2a93845c973d47a12fdfd), #5954
- Promoted properties do not have a default value (https://github.com/phpstan/phpstan-src/commit/7c8e81dcf88378039ac57da459b4288b7e620a59), #5906
- CleaningParser - do not remove inline
@var
tags (https://github.com/phpstan/phpstan-src/commit/2652f2dc6c713ba2200df922a62fe651f2e4445e), #5921 - AttributesCheck - do not report named arguments in attributes (https://github.com/phpstan/phpstan-src/commit/6366066f3b28a5bdef0c6a3d533c291a8490e1f8), #5898
🤖
Function signature fixes - functionMap - removed functions that are reserved keywords and separate AST nodes (https://github.com/phpstan/phpstan-src/commit/08f3e2d02329fa39561356c630d8d561631419d9), #6014
vimeo/psalm
v4.13.0
What's Changed
Features
- Forbid properties on enums by @weirdan in https://github.com/vimeo/psalm/pull/6836
- better understands value and name properties for enum by @orklah in https://github.com/vimeo/psalm/pull/6838
- Added option to forbid
eval()
in codebase by @thomasbley in https://github.com/vimeo/psalm/pull/6856 - Use positive integers for various time functions by @danog in https://github.com/vimeo/psalm/pull/6861
- Flag duplicate constants by @weirdan in https://github.com/vimeo/psalm/pull/6884
- Add ImagickPixel::getColor return type provider by @danog in https://github.com/vimeo/psalm/pull/6890
- Fix promoted readonly properties by @trowski in https://github.com/vimeo/psalm/pull/6909
- ConsoleReport: Add hyperlinks to open file in editor by @gharlan in https://github.com/vimeo/psalm/pull/6850
- Multiple variables in @psalm-trace by @rarila in https://github.com/vimeo/psalm/pull/6920
- Reconcile
class-constant
by @boesing in https://github.com/vimeo/psalm/pull/6529
Fixes
- don't consider calls to methods with assertions as Unused by @orklah in https://github.com/vimeo/psalm/pull/6834
- Forbid enum instantiation by @weirdan in https://github.com/vimeo/psalm/pull/6840
- Taint comments by @orklah in https://github.com/vimeo/psalm/pull/6848
- add stub for taint detection on vprintf by @orklah in https://github.com/vimeo/psalm/pull/6847
- Forbid declaring enums as attributes by @weirdan in https://github.com/vimeo/psalm/pull/6843
- DOMParentNode and DOMChildNode stubs (php 8) by @jirkace in https://github.com/vimeo/psalm/pull/6851
- Fixed signature for newInstanceArgs for PHP 8.0 by @jirkace in https://github.com/vimeo/psalm/pull/6852
- Fixed RedisCluster::setOption() argument types by @jirkace in https://github.com/vimeo/psalm/pull/6853
- Fixed callmap for function openssl_sign, it changed in PHP 8.0 (modif… by @jirkace in https://github.com/vimeo/psalm/pull/6846
- allow signature type for promoted property as well as property docblock by @orklah in https://github.com/vimeo/psalm/pull/6872
- load the ReturnTypeWillChange stubs for all versions to allow using it on every PHP version by @orklah in https://github.com/vimeo/psalm/pull/6873
- fix never combination by @orklah in https://github.com/vimeo/psalm/pull/6874
- do not treat __halt_compiler() as an expression being executed by @pilif in https://github.com/vimeo/psalm/pull/6876
- detect unevaluated inline-html code after an rearly return by @pilif in https://github.com/vimeo/psalm/pull/6878
- Fix --enable-autocomplete=false by @Nadyita in https://github.com/vimeo/psalm/pull/6880
- don't stop processing for class usage after raising an issue by @pilif in https://github.com/vimeo/psalm/pull/6899
- SimpleXMLIterator is not always truthy by @jnvsor in https://github.com/vimeo/psalm/pull/6903
- make ignore falsable/nullable dependent on the config by @orklah in https://github.com/vimeo/psalm/pull/6895
- Fix invalid SoapClient::__doRequest() signature by @veewee in https://github.com/vimeo/psalm/pull/6905
- Fix mb_convert_encoding to accept any array. by @rarila in https://github.com/vimeo/psalm/pull/6910
- Report deprecated config elements by @weirdan in https://github.com/vimeo/psalm/pull/6913
- Infer mb_strtolower() result as string when encoding is specified by @weirdan in https://github.com/vimeo/psalm/pull/6912
- Allow references to enum cases in class constants by @weirdan in https://github.com/vimeo/psalm/pull/6922
- session_set_cookie_params signature changed in 8.0 by @kamil-tekiela in https://github.com/vimeo/psalm/pull/6932
- expand type aliases when comparing unions by @sebkehr in https://github.com/vimeo/psalm/pull/6946
Docs
- Added ext-curl to composer.json suggest property by @sasezaki in https://github.com/vimeo/psalm/pull/6844
Internal changes
- Added test for NoEnumProperties by @weirdan in https://github.com/vimeo/psalm/pull/6839
- Added phpcs SelfMemberReference rule, and applied by @sasezaki in https://github.com/vimeo/psalm/pull/6845
Typos
- Fix typos in message about Attribute usage by @ricardoboss in https://github.com/vimeo/psalm/pull/6904
New Contributors
- @jirkace made their first contribution in https://github.com/vimeo/psalm/pull/6851
- @Nadyita made their first contribution in https://github.com/vimeo/psalm/pull/6880
- @jnvsor made their first contribution in https://github.com/vimeo/psalm/pull/6903
- @ricardoboss made their first contribution in https://github.com/vimeo/psalm/pull/6904
- @veewee made their first contribution in https://github.com/vimeo/psalm/pull/6905
- @rarila made their first contribution in https://github.com/vimeo/psalm/pull/6910
- @kamil-tekiela made their first contribution in https://github.com/vimeo/psalm/pull/6932
- @sebkehr made their first contribution in https://github.com/vimeo/psalm/pull/6946
Full Changelog: https://github.com/vimeo/psalm/compare/4.12.0...4.13.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Reiter, Christoph