Update all non-major dependencies
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 -> ^2.17
|
monolog/monolog | require | minor |
2.1.1 -> 2.2.0
|
phpstan/phpstan | require-dev | patch |
0.12.59 -> 0.12.66
|
phpstan/phpstan-phpunit | require-dev | patch |
0.12.16 -> 0.12.17
|
symfony/browser-kit (source) | require-dev | patch |
4.4.17 -> 4.4.18
|
symfony/config (source) | require | patch |
4.4.17 -> 4.4.18
|
symfony/framework-bundle (source) | require | patch |
4.4.17 -> 4.4.18
|
symfony/http-client (source) | require-dev | patch |
4.4.17 -> 4.4.18
|
symfony/phpunit-bridge (source) | require-dev | patch |
4.4.17 -> 4.4.18
|
symfony/security-bundle (source) | require | patch |
4.4.17 -> 4.4.18
|
symfony/security-core (source) | require | patch |
4.4.17 -> 4.4.18
|
symfony/security-guard (source) | require | patch |
4.4.17 -> 4.4.18
|
symfony/twig-bundle (source) | require | patch |
4.4.17 -> 4.4.18
|
symfony/yaml (source) | require | patch |
4.4.17 -> 4.4.18
|
vimeo/psalm | require-dev | patch |
^4.0 -> ^4.3
|
web-token/jwt-easy | require | patch |
^2.1 -> ^2.2
|
web-token/jwt-signature-algorithm-rsa | require | patch |
^2.1 -> ^2.2
|
Release Notes
Seldaek/monolog
v2.2.0
- Added JSON_PARTIAL_OUTPUT_ON_ERROR to default json encoding flags, to avoid dropping entire context data or even records due to an invalid subset of it somewhere
- Added setDateFormat to NormalizerFormatter (and Line/Json formatters by extension) to allow changing this after object creation
- Added RedisPubSubHandler to log records to a Redis channel using PUBLISH
- Added support for Elastica 7, and deprecated the $type argument of ElasticaFormatter which is not in use anymore as of Elastica 7
- Added support for millisecond write timeouts in SocketHandler, you can now pass floats to setWritingTimeout, e.g. 0.2 is 200ms
- Added support for unix sockets in SyslogUdpHandler (set $port to 0 to make the $host a unix socket)
- Added handleBatch support for TelegramBotHandler
- Added RFC5424e extended date format including milliseconds to SyslogUdpHandler
- Added support for configuring handlers with numeric level values in strings (coming from e.g. env vars)
- Fixed Wildfire/FirePHP/ChromePHP handling of unicode characters
- Fixed PHP 8 issues in SyslogUdpHandler
- Fixed internal type error when mbstring is missing
phpstan/phpstan
v0.12.66
🔧
Improvements - Support
@pure
and@phpstan-pure
annotations (#412), thanks @b1rdex! - Support
@impure
and@phpstan-impure
(#412) - It closes these issues: #3746, #3844, #4301, #2105, #929, #1826
🔪
Bleeding edge - Detect stub file added multiple times (phpstan/phpstan-src@
4a82eec
) - BooleanAndConstantConditionRule - check LogicalAnd (phpstan/phpstan-src@
40a76e8
) - BooleanOrConstantConditionRule - check LogicalOr (phpstan/phpstan-src@
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.
🐛
Bugfixes - Fix return type of arrow function (phpstan/phpstan-src@
e9b783a
), #4339 - Apply conditional expressions for non-empty arrays inside foreach (phpstan/phpstan-src@
35db779
), #4343
🤖
Function signature fixes - Updated return values for
zip_open()
(#419), #4341, thanks @spud! - Updated PHP 8 stubs (phpstan/phpstan-src@
d586b93
) - Improved
setcookie()
andsetrawcookie()
signatures (phpstan/phpstan-src@ccb1d4d
), #4348 -
array_combine()
dynamicExtension (#418), thanks @VincentLanglet! -
array_rand()
return type extension (#417), thanks @VincentLanglet! - Update
ctype_*
function signature (#421), thanks @BackEndTea!
v0.12.65
🔧
Improvements - New option
excludePaths
that replacesexcludes_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. - Clear cache directory - delete old containers (phpstan/phpstan-src@
db0a5f6
), #4328
🐛
Bugfixes - Generics - do not generalize array shape (phpstan/phpstan-src@
94e3443
) - Arrow functions - allow more precise return type even when native return type is present (phpstan/phpstan-src@
3d0ac6f
), #4275 -
array_filter
w/ arrow functions return type extension (#402), thanks @b1rdex! - Make IntegerRangeType represent open intervals properly (#409), #577, thanks @jlherren!
- Improve specified type in comparisons (#390), thanks @jlherren!
- Register missing SplObjectStorage stub (phpstan/phpstan-src@
143741c
) - Solve issues with arrow functions containing void expression (phpstan/phpstan-src@
7ac6383
), #4292, #3348 - Fix
isset()
bug (phpstan/phpstan-src@3d6461c
), #4290 - Fix infinite recursion with
count()
calls in TypeSpecifier (phpstan/phpstan-src@69e68a7
), #4300
🤖
Function signature fixes - Fix function signatures for
preg_replace_callback*
for PHP 7.4+ (#411), thanks @jabrandes! - Sync array_unique parameter names with PHP 8 (phpstan/phpstan-src@
9e7bdf7
)
v0.12.64
🚀
Major new feature 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
🐛
Bugfixes - Implement property name as an expression in
TypesAssignedToPropertiesRule
(phpstan/phpstan-src@7458d1e
) - Updated
nikic/php-parser
(phpstan/phpstan-src@19bf582
), #4194
🤖
Function signature fixes - Changing return type of
Collator::compare
toint|false
(#410), thanks @vasekbrychta! - Update PHP 8 stubs (phpstan/phpstan-src@
4430549
), #4268
v0.12.63
🐛
Bugfixes - Methods and functions marked as
#[Pure]
but having@throws
are considered to have side effects (phpstan/phpstan-src@7537f81
), #4232 - Do not infer property types from constructor if the property already has a native type (phpstan/phpstan-src@
d245dab
), #4234 - Fix false positive with nullsafe operator (phpstan/phpstan-src@
75d00c9
), #4199 - Php8SignatureMapProvider - prefer functionMap return type if PHP 8 stub file has only PHPDoc (phpstan/phpstan-src@
893813c
), #4205
🤖
Function signature fixes - Update functionMap with functions that return false on both PHP 7 and PHP 8 (phpstan/phpstan-src@
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
🐛
Bugfixes - Inferred property type for missing assigned property should not be set to implicit mixed (phpstan/phpstan-src@
5b89088
), #4227
🤖
Function signature fixes - Fix wrong function signature of
posix_getpwuid
andposix_getgrgid
(#408), thanks @aragon999!
v0.12.60
🔧
Improvements - Infer private properties in constructor, even if typehinted (#374), thanks @Baldinof!
- Updated nikic/php-parser (phpstan/phpstan-src@
030b4f5
) - Optimize range() dynamic return type extension for big arrays (phpstan/phpstan-src@
af5ba63
), #4207 - Obsolete Docker image note (phpstan/phpstan-src@
80d8afb
)
🐛
Bugfixes - Delete result cache file when it fails to load (phpstan/phpstan-src@
c22e620
), #4200 - Match expression - fix default handling (phpstan/phpstan-src@
1dfade1
), #4204 - TypeSpecifier - resolve values from fetched constants (phpstan/phpstan-src@
761c962
), #4206 - Fix bug when specifying empty array (phpstan/phpstan-src@
a73b48f
)
🤖
Function signature fixes - Fix Normalizer's normalize method can return false (#403), thanks @TRowbotham!
- Fix wrong function signature of get_include_path() (#404), thanks @ste93cry!
- functionMap: getmypid() / getmyuid() may return false (#406), thanks @dktapps!
- functionMap: unpack() may return false (#405), thanks @dktapps!
- Handle encoding for mb_str_split returnTypeExtension (#396), #4183, thanks @VincentLanglet!
- SimpleXMLElement methods return
static
(#407), #4222, thanks @voku!
phpstan/phpstan-phpunit
v0.12.17
-
7c54b2d
- Use the maintained version of php-parallel-lint -
e5edd1c
- Travis > Test on PHP 7.3 and 7.4 -
0adbd9f
- Updated coding standard that can run on PHP 7.4 -
ef674b8
- Bump minimum versions to prevent deprecations while running in lowest mode -
7bd24ab
- Use GitHub Actions instead of Travis CI -
432575b
- Automatic release workflow
symfony/browser-kit
v4.4.18
Changelog (https://github.com/symfony/browser-kit/compare/v4.4.17...v4.4.18)
- no changes
symfony/framework-bundle
v4.4.18
Changelog (https://github.com/symfony/framework-bundle/compare/v4.4.17...v4.4.18)
symfony/http-client
v4.4.18
Changelog (https://github.com/symfony/http-client/compare/v4.4.17...v4.4.18)
- bug #39286 throw clearer error when no scheme is provided (BackEndTea)
symfony/phpunit-bridge
v4.4.18
Changelog (https://github.com/symfony/phpunit-bridge/compare/v4.4.17...v4.4.18)
symfony/security-bundle
v4.4.18
Changelog (https://github.com/symfony/security-bundle/compare/v4.4.17...v4.4.18)
- no changes
symfony/security-core
v4.4.18
Changelog (https://github.com/symfony/security-core/compare/v4.4.17...v4.4.18)
- bug #39247 remove return type definition in order to avoid type juggling (adeptofvoltron)
symfony/security-guard
v4.4.18
Changelog (https://github.com/symfony/security-guard/compare/v4.4.17...v4.4.18)
- no changes
symfony/twig-bundle
v4.4.18
Changelog (https://github.com/symfony/twig-bundle/compare/v4.4.17...v4.4.18)
- bug #39334 Fixed syntax error in config (Nyholm)
symfony/yaml
v4.4.18
Changelog (https://github.com/symfony/yaml/compare/v4.4.17...v4.4.18)
- bug #39274 fix lexing mapping values with trailing whitespaces (xabbuh)
- bug #39267 fix lexing backslashes in single quoted strings (xabbuh)
- bug [#39241](https://gith
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.