phpstan-extensions icon indicating copy to clipboard operation
phpstan-extensions copied to clipboard

Update all non-major dependencies

Open renovate[bot] opened this issue 1 year ago • 2 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
phpstan/phpstan ^1.10.59 -> ^1.10.66 age adoption passing confidence
phpunit/phpunit (source) ^11.0.4 -> ^11.1.1 age adoption passing confidence

Release Notes

phpstan/phpstan (phpstan/phpstan)

v1.10.66

Compare Source

Improvements 🔧

  • Detect mismatch between readonly/non-readonly class parent (https://github.com/phpstan/phpstan-src/commit/986cbdfb2fd0c3de71b31ac3f212bd499d2131e1), #​10789
  • TypeInferenceTestCase - fix for performance problem with PHPUnit 11 (https://github.com/phpstan/phpstan-src/commit/da87a6541f97b01e35d309524f05c0d3d0bc0a00), #​10757

Bugfixes 🐛

  • array_push preserves list (https://github.com/phpstan/phpstan-src/commit/5473b6701c1a9dd3ca1eb676b3b2c0dec43f2535)

Function signature fixes 🤖

Internals 🔍

  • Prevent unnecessary calls into reflection from JSON extensions (#​2994), thanks @​staabm!

v1.10.65

Compare Source

Improvements 🔧

Bugfixes 🐛

  • Update BetterReflection (#​2988)
    • Fix ReflectionSourceStubber compatibility before PHP 8.1 (https://github.com/ondrejmirtes/BetterReflection/commit/94ca1336c58332604a74012d20286a240db376ea), https://github.com/larastan/larastan/pull/1882
    • Fix trait method visibility (https://github.com/ondrejmirtes/BetterReflection/commit/d6153d513eb9111f01740394c61ff72142030089?w=1)

Function signature fixes 🤖

Internals 🔍

  • Add more tests for issue #​10622 (#​2961), thanks @​mvorisek!
  • Remove unnecessary method calls in ClassReflection (#​2984), thanks @​staabm!
  • Use TrinaryLogic::describe() in test (https://github.com/phpstan/phpstan-src/commit/222a66cdbf67f2ae367b251ed56acda53a3d8286)

v1.10.64

Compare Source

Bleeding edge 🔪

  • Fail build when project config uses custom extensions outside of analysed paths
    • This will only occur after a run that uses already present and valid result cache

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

Improvements 🔧

  • Introduce ForbiddenClassNameExtension for append additional forbidden class prefixes (#​2979), thanks @​kamil-zacek!
  • Add AlwaysUsedMethodExtension (#​2927), thanks @​axlon!
  • Warn about possibly stale result cache with custom extensions (https://github.com/phpstan/phpstan-src/commit/9338fdfe1611f742c65c61e5035315e1d64c4972)
    • This is how it looks: https://twitter.com/OndrejMirtes/status/1770024563113390437

Bugfixes 🐛

Function signature fixes 🤖

v1.10.63

Compare Source

v1.10.62

Compare Source

Improvements 🔧

  • Too wide return type - report for conditional return types (https://github.com/phpstan/phpstan-src/commit/de1c07ea68c36854b46c43ee575145ad4ae2386a)

Bugfixes 🐛

  • Constants deprecation depends on PHP version in comment (#​2967), #​10700, thanks @​staabm!
  • Make @param-out work even if it is the only conditional type in a function signature (https://github.com/phpstan/phpstan-src/commit/787c1e2b46a40ccac9bb254fd45204a310f6ff2f)
  • ParameterOutAssignedTypeRule - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/19497ba0317be7e37f2c969118c93ce3be1e6fd2)
  • ParameterOutExecutionEndTypeRule - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/27c73f7f67ba74688d4ed0b3b0f5c0c3a9c60012)
  • Too wide @param-out - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/5a4789339e5768628bf9bb2abdf38eff135553cd)

v1.10.61

Compare Source

Improvements 🔧

Bugfixes 🐛

  • Too wide @param-out type - consider all execution ends at once (https://github.com/phpstan/phpstan-src/commit/d1bcf786eedbce9fee74f43f080678fa7788e4e3), #​10687, #​10684

Internals 🔍

  • MethodReturnStatementsNode - use ExtendedMethodReflection (https://github.com/phpstan/phpstan-src/commit/3cc1a545641b172b2cb1e89030cde9baa6b0c527)

v1.10.60

Compare Source

Learn more about this release in an article on phpstan.org!

Major new features 🚀

Bleeding edge 🔪

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

Improvements 🔧

Bugfixes 🐛

  • Fix how union of callables is understood (#​2902), #​10442, thanks @​mad-briller!
  • Fix for inferring closure parameter type from callable union (https://github.com/phpstan/phpstan-src/commit/c10476d268bedc5e7bc66b44d160a453edb1cacb)
  • ArrayType - string offset might exist as integer offset (#​2928), #​10610, thanks @​michalbundyra!
  • Truncate description of huge UnionType (https://github.com/phpstan/phpstan-src/commit/039a3dc135bf9f23971437ebd4718291a1404d2d), #​10614
  • fix type of $a?->b::c() and $a?->b::$c (#​2933), thanks @​schlndh!
  • fix fn() => __FUNCTION__ and __METHOD__ (#​2934), thanks @​schlndh!
  • Some sort functions do not preserve a list (https://github.com/phpstan/phpstan-src/commit/034f7313064b207883a13f1e25a76975560215b9, https://github.com/phpstan/phpstan-src/commit/0977a7b0259cbe4055c6fb0200708b2ec137d770), #​10627
  • ArgumentsNormalizer - keep named arguments for unknown parameters (https://github.com/phpstan/phpstan-src/commit/ad34452cb12cdebd19c80a3f34ef2819c2e37bbb), #​10628
  • Check T of mixed&Foo and T of mixed|Foo (#​2940), thanks @​schlndh!
  • Use narrowed conditional type if/else types for subtype checks (#​2948), #​10622, thanks @​rvanvelzen!
  • Fix isSuperTypeOf of callable/Closure when parameter count differ (#​2949), #​10594, thanks @​takaram!

Function signature fixes 🤖

  • Fix ReflectionFunctionAbstract::getExtension return type (https://github.com/phpstan/phpstan-src/commit/2ece1f82b0e95541908f052d74a1cb29f2a4b4b7)
  • Correct return type of date_sun_info() function (#​2947), thanks @​zonuexe!
  • Fix return values of mysqli get_warnings (#​2929), thanks @​janedbal!

Internals 🔍

sebastianbergmann/phpunit (phpunit/phpunit)

v11.1.1

Compare Source

v11.1.0: PHPUnit 11.1.0

Compare Source

Added
  • #​5689: Distinguish between self, direct and indirect deprecations
  • #​5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
  • #​5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
  • #​5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
  • #​5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
  • --only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
  • --show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files
Changed
  • #​5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
  • #​5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
  • PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
  • Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text
Deprecated
  • #​5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
  • #​5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options

How to install or update PHPUnit

v11.0.10: PHPUnit 11.0.10

Compare Source

Changed
  • The namespaces of dependencies are now prefixed with PHPUnitPHAR instead of just PHPUnit for the PHAR distribution of PHPUnit

How to install or update PHPUnit

v11.0.9: PHPUnit 11.0.9

Compare Source

Changed
  • #​5766: Do not use a shell in proc_open() if not really needed
  • #​5772: Cleanup process handling after dropping temp-file handling
Fixed
  • #​5570: Windows does not support exclusive locks on stdout

How to install or update PHPUnit

v11.0.8: PHPUnit 11.0.8

Compare Source

Fixed
  • #​5765: Be more forgiving with error handlers that do not respect error suppression

How to install or update PHPUnit

v11.0.7: PHPUnit 11.0.7

Compare Source

Changed
  • #​5747: Cache result of Groups::groups()
  • #​5748: Improve performance of NamePrettifier::prettifyTestMethodName()
  • #​5750: Micro-optimize NamePrettifier::prettifyTestMethodName() once again
  • #​5752: Improve message for deprecation of doubling methods named "method"
Fixed
  • #​5760: TestDox printer does not display details about exceptions raised in before-test methods

How to install or update PHPUnit

v11.0.6: PHPUnit 11.0.6

Compare Source

Changed
  • #​5727: Prevent duplicate call of NamePrettifier::prettifyTestMethodName()
  • #​5739: Micro-optimize NamePrettifier::prettifyTestMethodName()
  • #​5740: Micro-optimize TestRunner::runTestWithTimeout()
  • #​5741: Save call to Telemetry\System::snapshot()
  • #​5742: Prevent file IO when not strictly necessary
  • #​5743: Prevent unnecessary ExecutionOrderDependency::getTarget() call
  • #​5744: Simplify NamePrettifier::prettifyTestMethodName()
Fixed
  • #​5351: Incorrect code coverage metadata does not prevent code coverage data from being collected
  • #​5729: assertArrayIsIdenticalToArrayOnlyConsideringListOfKeys() does not correctly handle array order
  • #​5746: Using -d CLI option multiple times triggers warning

How to install or update PHPUnit

v11.0.5

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

Config source: https://github.com/Slamdunk/.github/blob/main/renovate-config.json

renovate[bot] avatar Mar 07 '24 19:03 renovate[bot]

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

renovate[bot] avatar Mar 07 '24 19:03 renovate[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.89%. Comparing base (e485ec4) to head (827ebba).

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #57   +/-   ##
=========================================
  Coverage     97.89%   97.89%           
  Complexity      149      149           
=========================================
  Files            15       15           
  Lines           332      332           
=========================================
  Hits            325      325           
  Misses            7        7           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Mar 07 '24 19:03 codecov[bot]