Update all non-major dependencies
Compare changes
+ 3
− 3
@@ -42,7 +42,7 @@ psalm:
@@ -42,7 +42,7 @@ psalm:
@@ -50,7 +50,7 @@ phpstan:
@@ -50,7 +50,7 @@ phpstan:
@@ -58,6 +58,6 @@ cs-fixer:
@@ -58,6 +58,6 @@ cs-fixer:
Gitlab 18.0 has been released. Since there are breaking changes the update will be postponed to July 2025. For a list of breaking changes see https://about.gitlab.com/blog/2025/04/18/a-guide-to-the-breaking-changes-in-gitlab-18-0/. Please prepare yourself and your projects for this update.
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
api-platform/core (source) | require | patch |
^2.4 -> ^2.5
|
friendsofphp/php-cs-fixer | require-dev | patch |
2.16.7 -> 2.16.10
|
phpstan/phpstan | require-dev | patch |
0.12.57 -> 0.12.66
|
phpstan/phpstan-phpunit | require-dev | patch |
0.12.16 -> 0.12.17
|
symfony/framework-bundle (source) | require | patch |
4.4.16 -> 4.4.18
|
symfony/phpunit-bridge (source) | require-dev | patch |
4.4.16 -> 4.4.18
|
vimeo/psalm | require-dev | minor |
4.2.1 -> 4.3.2
|
v2.16.10
v2.16.9
v2.16.8
v0.12.66
@pure
and @phpstan-pure
annotations (#412), thanks @b1rdex!@impure
and @phpstan-impure
(#412)4a82eec
)40a76e8
)ae9a558
)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.
e9b783a
), #4339
35db779
), #4343
zip_open()
(#419), #4341, thanks @spud!d586b93
)setcookie()
and setrawcookie()
signatures (phpstan/phpstan-src@ccb1d4d
), #4348
array_combine()
dynamicExtension (#418), thanks @VincentLanglet!array_rand()
return type extension (#417), thanks @VincentLanglet!ctype_*
function signature (#421), thanks @BackEndTea!v0.12.65
excludePaths
that replaces excludes_analyse
and allows for more granular settings - different exclusions for analysed paths and discovering symbols in 3rd party code (phpstan/phpstan-src@bf35a10
) - #3749, #1796. Read more about it in this comment.db0a5f6
), #4328
94e3443
)3d0ac6f
), #4275
array_filter
w/ arrow functions return type extension (#402), thanks @b1rdex!143741c
)7ac6383
), #4292, #3348
isset()
bug (phpstan/phpstan-src@3d6461c
), #4290
count()
calls in TypeSpecifier (phpstan/phpstan-src@69e68a7
), #4300
preg_replace_callback*
for PHP 7.4+ (#411), thanks @jabrandes!9e7bdf7
)v0.12.64
Dependent variables
PHPStan can now understand relationships between different variables. Cases like these are now understood correctly:
if ($debug) {
$foo = 'bar';
}
if ($debug) {
// previously: Variable $foo might not be defined.
// now: no error
echo $foo;
}
Additionally, this feature fixes all these issues: #801, #806, #1209, #1306, #1722, #1865, #2980, #3371, #3986
TypesAssignedToPropertiesRule
(phpstan/phpstan-src@7458d1e
)nikic/php-parser
(phpstan/phpstan-src@19bf582
), #4194
Collator::compare
to int|false
(#410), thanks @vasekbrychta!4430549
), #4268
v0.12.63
#[Pure]
but having @throws
are considered to have side effects (phpstan/phpstan-src@7537f81
), #4232
d245dab
), #4234
75d00c9
), #4199
893813c
), #4205
43e5399
)v0.12.62
Support relative paths in extension-installer (phpstan/phpstan-src@0e306c6
), phpstan/extension-installer#17
Starting with phpstan/phpstan
0.12.62 and phpstan/extension-installer
1.1.0, relative paths to extension configs are used. This allows the generated config to be moved across filesystems, for example from a host system to a Docker container.
v0.12.61
5b89088
), #4227
posix_getpwuid
and posix_getgrgid
(#408), thanks @aragon999!v0.12.60
030b4f5
)af5ba63
), #4207
80d8afb
)c22e620
), #4200
1dfade1
), #4204
761c962
), #4206
a73b48f
)static
(#407), #4222, thanks @voku!v0.12.59
This MR has been generated by Renovate Bot.