Update all non-major dependencies (patch)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
friendsofphp/php-cs-fixer | require-dev | patch |
3.0.0 -> 3.0.2
|
phpstan/phpstan | require-dev | patch |
0.12.91 -> 0.12.94
|
phpstan/phpstan-phpunit | require-dev | patch |
0.12.20 -> 0.12.21
|
symfony/browser-kit (source) | require-dev | patch |
5.3.0 -> 5.3.4
|
symfony/config (source) | require | patch |
5.3.3 -> 5.3.4
|
symfony/expression-language (source) | require | patch |
5.3.0 -> 5.3.4
|
symfony/framework-bundle (source) | require | patch |
5.3.3 -> 5.3.4
|
symfony/http-client (source) | require-dev | patch |
5.3.3 -> 5.3.4
|
symfony/phpunit-bridge (source) | require-dev | patch |
5.3.3 -> 5.3.4
|
symfony/security-bundle (source) | require | patch |
5.3.3 -> 5.3.4
|
symfony/security-core (source) | require | patch |
5.3.3 -> 5.3.6
|
symfony/security-guard (source) | require | patch |
5.3.0 -> 5.3.4
|
symfony/twig-bundle (source) | require | patch |
5.3.3 -> 5.3.4
|
symfony/validator (source) | require | patch |
5.3.3 -> 5.3.6
|
symfony/yaml (source) | require | patch |
5.3.3 -> 5.3.6
|
Release Notes
FriendsOfPHP/PHP-CS-Fixer
v3.0.2
- bug #5816 FullyQualifiedStrictTypesFixer - fix for union types (kubawerlos, keradus)
- bug #5835 PhpdocTypesOrderFixer: fix for array shapes (kubawerlos)
- bug #5837 SingleImportPerStatementFixer - fix const and function imports (SpacePossum)
- bug #5844 PhpdocTypesOrderFixer: handle callable() type (Slamdunk)
- minor #5839 DX: automate checking 7.0 types on project itself (keradus)
- minor #5840 DX: drop v2 compatible config in project itself (keradus)
v3.0.1
- bug #5395 PhpdocTagTypeFixer: Do not modify array shapes (localheinz, julienfalque)
- bug #5678 UseArrowFunctionsFixer - fix for return without value (kubawerlos)
- bug #5679 PhpUnitNamespacedFixer - do not try to fix constant usage (kubawerlos)
- bug #5681 RegularCallableCallFixer - fix for function name with escaped slash (kubawerlos)
- bug #5687 FinalInternalClassFixer - fix for annotation with space after "@" (kubawerlos)
- bug #5688 ArrayIndentationFixer - fix for really long arrays (kubawerlos)
- bug #5690 PhpUnitNoExpectationAnnotationFixer - fix "expectedException" annotation with message below (kubawerlos)
- bug #5693 YodaStyleFixer - fix for assignment operators (kubawerlos)
- bug #5697 StrictParamFixer - fix for method definition (kubawerlos)
- bug #5702 CommentToPhpdocFixer - fix for single line comments starting with more than 2 slashes (kubawerlos)
- bug #5703 DateTimeImmutableFixer - fix for method definition (kubawerlos)
- bug #5718 VoidReturnFixer - do not break syntax with magic methods (kubawerlos)
- bug #5727 SingleSpaceAfterConstructFixer - Add support for
namespace
(julienfalque) - bug #5730 Fix transforming deprecations into exceptions (julienfalque)
- bug #5738 TokensAnalyzer - fix for union types (kubawerlos)
- bug #5741 Fix constant invocation detection cases (kubawerlos)
- bug #5769 Fix priority between
phpdoc_to_property_type
andno_superfluous_phpdoc_tags
(julienfalque) - bug #5774 FunctionsAnalyzer::isTheSameClassCall - fix for $this with double colon following (kubawerlos)
- bug #5779 SingleLineThrowFixer - fix for throw in match (kubawerlos)
- bug #5781 ClassDefinition - fix for anonymous class with trailing comma (kubawerlos)
- bug #5783 StaticLambdaFixer - consider parent:: as a possible reference to $this (fancyweb)
- bug #5791 NoBlankLinesAfterPhpdoc - Add T_NAMESPACE in array of forbidden successors (paulbalandan)
- bug #5799 TypeAlternationTransformer - fix for multiple function parameters (kubawerlos)
- bug #5804 NoBreakCommentFixer - fix for "default" in "match" (kubawerlos)
- bug #5805 SingleLineCommentStyleFixer - run after HeaderCommentFixer (kubawerlos)
- bug #5817 NativeFunctionTypeDeclarationCasingFixer - fix for union types (kubawerlos)
- bug #5823 YodaStyleFixer - yield support (SpacePossum)
- minor #4914 Improve PHPDoc types support (julienfalque, keradus)
- minor #5592 Fix checking for default config used in rule sets (kubawerlos)
- minor #5675 Docs: extend Upgrade Guide (keradus)
- minor #5680 DX: benchmark.sh - ensure deps are updated to enable script working across less-similar branches (keradus)
- minor #5689 Calculate code coverage on PHP 8 (kubawerlos)
- minor #5694 DX: fail on risky tests (kubawerlos)
- minor #5695 Utils - save only unique deprecations to avoid memory issues (PetrHeinz)
- minor #5710 [typo] add correct backquotes (PhilETaylor)
- minor #5711 Fix doc, "run-in" show-progress option is no longer present (mvorisek)
- minor #5713 Upgrade-Guide: fix typo (staabm)
- minor #5717 Run migration rules on PHP 8 (kubawerlos, keradus)
- minor #5721 Fix reStructuredText markup (julienfalque)
- minor #5725 Update LICENSE (exussum12)
- minor #5731 CI - Fix checkbashisms installation (julienfalque)
- minor #5736 Remove references to PHP 5.6 (kubawerlos, keradus)
- minor #5739 DX: more typehinting (keradus)
- minor #5740 DX: more type-related docblocks (keradus)
- minor #5746 Config - Improve deprecation message with details (SpacePossum)
- minor #5747 RandomApiMigrationFixer - better docs and better "random_int" support (SpacePossum)
- minor #5748 Updated the link to netbeans plugins page (cyberguroo)
- minor #5750 Test all const are in uppercase (SpacePossum)
- minor #5752 NoNullPropertyInitializationFixer - fix static properties as well (HypeMC)
- minor #5756 Fix rule sets descriptions (kubawerlos)
- minor #5761 Fix links in custom rules documentation (julienfalque)
- minor #5771 doc(config): change set's name (Kocal)
- minor #5777 DX: update PHPStan (kubawerlos)
- minor #5789 DX: update PHPStan (kubawerlos)
- minor #5808 Update PHPStan to 0.12.92 (kubawerlos)
- minor #5813 Docs: point to v3 in installation description (Jimbolino)
- minor #5824 Deprecate v2 (keradus)
- minor #5825 DX: update checkbashisms to v2.21.3 (keradus)
- minor #5826 SCA: check both composer files (keradus)
- minor #5827 ClassAttributesSeparationFixer - Add
trait_import
support (SpacePossum) - minor #5831 DX: fix SCA violations (keradus)
phpstan/phpstan
v0.12.94
🔧
Improvements - Added integer range PHPDoc support (#596), thanks @clxmstaab!
- Cover
non-empty-array
inarray_flip
(#583), thanks @staabm! - Update
nikic/php-parser
to 4.12.0 (https://github.com/phpstan/phpstan-src/commit/dca48f34bcec87971ceaa4643eef02ed9b2fd812) - Custom PHAR namespace prefix with Git commit (https://github.com/phpstan/phpstan-src/commit/1501229bb601298c9bc0914433cfa98e9dd050e6)
- Simplify FileCacheStorage (#593), thanks @staabm!
- Result cache - notice change in class constant PHPDoc (https://github.com/phpstan/phpstan-src/commit/d88b568cae5759e56cdc1c21433f002db07aefaf)
- Result cache - notice change in
readonly
property (PHP 8.1) (https://github.com/phpstan/phpstan-src/commit/c19506b58e334a8b8ccaaefdfe2beabfa3c064a1) - Result cache - notice change in
final
class constant (PHP 8.1) (https://github.com/phpstan/phpstan-src/commit/092d8e3bbf013fe52db81ec7f09385bed2db9f63) - Do not rely on registered exception handler when debugging (https://github.com/phpstan/phpstan-src/commit/48ec184015023796ec32234d918fbda305606c51)
- ResultCacheManager: introduce flag
checkDependenciesOfProjectExtensionFiles
(#595), #5296, thanks @janedbal! - Update PHP 8 stubs (https://github.com/phpstan/phpstan-src/commit/91fde71dc649e07b5ee19a565eb021e6205a7cbe)
🔪
Bleeding edge - Check classes extending
@final
classes (https://github.com/phpstan/phpstan-src/commit/dffd2c2351e5fc5d22b752bf3b8be84bf1708f71), https://github.com/phpstan/phpstan/discussions/5343
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
🐛
Bugfixes - Fix overriding
Memcache::get()
andMemcachePool::get()
(https://github.com/phpstan/phpstan-src/commit/c5f9d2400ee430a4850a87186a751d1e1d9fc9be) - Fix overriding throw point with inline
@throws void
(https://github.com/phpstan/phpstan-src/commit/da3790efa9f5ee96c3b7905342904fe3651a29af), #5364 - ResultCacheManager: read also
rules
in config.neon
file (#594), thanks @janedbal!
🤖
Function signature fixes - Fixed stub types for
SplFixedArray
(#588), thanks @dktapps! - Updated socket_select() signature for PHP 8.0 (#591), thanks @dktapps!
-
proc_open()
acceptslist<string>
for$command
in 7.4+ (#590), thanks @dktapps!
v0.12.93
🔧
Improvements - Improvements and bugfixes related to
non-empty-string
:- Fix
implode()
fornon-empty-string
return type (https://github.com/phpstan/phpstan-src/commit/520ae229d592cd425e2ef1ea5eaa2816fe08f89c), #5291 - Fixed encapsed string and concat operator in regard to
non-empty-string
(https://github.com/phpstan/phpstan-src/commit/1283db7ae426142af99b41a480c964fb8a2c8c83), #5301 - Fix inferring
non-empty-string
inarray_map
closure (https://github.com/phpstan/phpstan-src/commit/b864a95b4616dd62a2df48908a103179946a4589), #5293 - Dynamic return type extension for functions that return
non-empty-string
when given one (https://github.com/phpstan/phpstan-src/commit/4a9e0695fcc57610804685722f136b5830b96c2d) -
str_pad()
function return type extension (https://github.com/phpstan/phpstan-src/commit/84503ce886e4e760de2211b1996c53c6aa63ba69), #5307 -
str_repeat()
function return type extension (https://github.com/phpstan/phpstan-src/commit/57d765f6729eee91a67e5f8b14d8601d10cde23e), #5307 - Cover non-empty-string in
htmlentities()
(#574) (#574), thanks @staabm! - Cover non-empty-string in
substr
(#577), thanks @staabm!
- Fix
-
DateTimeImmutable
removed fromDateTimeInterface
results inDateTime
(https://github.com/phpstan/phpstan-src/commit/5eb96f55b75ae71acaa721ab831ac4a8c9647769), #5259 - Cover
non-empty-array
inarray_combine
(#578), thanks @staabm! - Cover
non-empty-array
inarray_merge
(#581), thanks @staabm! - Cover
FileHelper
methods with BC promise (https://github.com/phpstan/phpstan-src/commit/4f9488eb2e710f68a15632ee4115a4314f51a6f0), #5306
🐛
Bugfixes -
array_walk
also understandsobject
(#573), thanks @niconoe-! - Fix infinite recursion (https://github.com/phpstan/phpstan-src/commit/8fd9667c73710d586e90b5f5296575a3f6c9623a), #5231
- Final Exception methods can never throw an exception (https://github.com/phpstan/phpstan-src/commit/f5e88ae06ed144eacd3c042d77b0d4654e6bd84c), #5299
- Invalidating expressions without regexes (https://github.com/phpstan/phpstan-src/commit/4220e431da3e51c7a537b0ae26a825b0f3804fa1), #5129, #4970
- Filter by falsey condition after the while loop (https://github.com/phpstan/phpstan-src/commit/3166ba31a8768979a40e55f1bbfea9ba4449a3d8), #5328, #5322
🤖
Function signature fixes -
next()
dynamic return type extension also valid forprev()
(https://github.com/phpstan/phpstan-src/commit/2fd7bfec455c20295ad1a3eee78fc399bb9fcfec - More array functions also accept
object
(https://github.com/phpstan/phpstan-src/commit/a056d3491645a0f7198b0396e9553cc0b9564972) - Fix return type of
Memcached::deleteMulti
(#582), thanks @paulbalandan!
v0.12.92
🔧
Improvements - New PHPDoc
non-empty-string
type (https://github.com/phpstan/phpstan-src/commit/6ef5e91effcbc5c5b3f49cd2cf423d67044b8941), #4711, #3981 - MissingReturnRule - make behavior with
checkPhpDocMissingReturn: false
more strict (https://github.com/phpstan/phpstan-src/commit/26560811765f0a93462180526b552834966c161b) - Update
nikic/php-parser
to work on PHP 8.1 again (https://github.com/phpstan/phpstan-src/commit/0f8ead706ba4b514e4a511c743645c065f52f195), #5263
🔪
Bleeding edge - Validate overriding methods in stubs (https://github.com/phpstan/phpstan-src/commit/c98d0a4946c373543c379427983e02ccef71f86c)
- Cross-check generic interface implementations (https://github.com/phpstan/phpstan-src/commit/284af50d76210a449f210699732171ecacf3307f), #5222
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
🐛
Bugfixes - Don't try to create a directory that already exists (#572), thanks @PrinsFrank!
-
!empty()
leads tonon-empty-string
(https://github.com/phpstan/phpstan-src/commit/790a83849468a0bc9eac43cb1b9594032653e342), #5258 - Fix mess in
ClassReflection::getInterfaces()
(https://github.com/phpstan/phpstan-src/commit/cd02bf86a65cfe87be22ad59c35bde25b82ab700), #4854
🤖
Function signature fixes -
explode()
always returnsnon-empty-array
(https://github.com/phpstan/phpstan-src/commit/25260db5d6c9873f10e84ab6741bda56221ce21e) - Improve
sscanf()
signature (#567), thanks @fluffycondor!
symfony/browser-kit
v5.3.4
Changelog (https://github.com/symfony/browser-kit/compare/v5.3.3...v5.3.4)
- no significant changes
symfony/config
v5.3.4
Changelog (https://github.com/symfony/config/compare/v5.3.3...v5.3.4)
- no significant changes
symfony/expression-language
v5.3.4
Changelog (https://github.com/symfony/expression-language/compare/v5.3.3...v5.3.4)
- no significant changes
symfony/framework-bundle
v5.3.4
Changelog (https://github.com/symfony/framework-bundle/compare/v5.3.3...v5.3.4)
symfony/http-client
v5.3.4
Changelog (https://github.com/symfony/http-client/compare/v5.3.3...v5.3.4)
- bug #42174 Indicate compatibility with psr/log 2 and 3 (derrabus)
symfony/phpunit-bridge
v5.3.4
Changelog (https://github.com/symfony/phpunit-bridge/compare/v5.3.3...v5.3.4)
symfony/security-bundle
v5.3.4
Changelog (https://github.com/symfony/security-bundle/compare/v5.3.3...v5.3.4)
- no significant changes
symfony/security-core
v5.3.6
Changelog (https://github.com/symfony/security-core/compare/v5.3.5...v5.3.6)
- no significant changes
v5.3.4
Changelog (https://github.com/symfony/security-core/compare/v5.3.3...v5.3.4)
symfony/security-guard
v5.3.4
Changelog (https://github.com/symfony/security-guard/compare/v5.3.3...v5.3.4)
- bug #42174 Indicate compatibility with psr/log 2 and 3 (derrabus)
symfony/twig-bundle
v5.3.4
Changelog (https://github.com/symfony/twig-bundle/compare/v5.3.3...v5.3.4)
- no significant changes
symfony/validator
v5.3.6
Changelog (https://github.com/symfony/validator/compare/v5.3.5...v5.3.6)
- no significant changes
v5.3.4
Changelog (https://github.com/symfony/validator/compare/v5.3.3...v5.3.4)
- no significant changes
symfony/yaml
v5.3.6
Changelog (https://github.com/symfony/yaml/compare/v5.3.5...v5.3.6)
- bug #42296 Remove PHP 8.0 polyfill (derrabus)
v5.3.4
Changelog (https://github.com/symfony/yaml/compare/v5.3.3...v5.3.4)
- bug #42074 Fix ctype_digit deprecation (alexpott)
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.