Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update phpunit (major) #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update phpunit (major) #24

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 17, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
brianium/paratest ^6.9 -> ^6.9 || ^7.0 age adoption passing confidence
phpunit/phpunit (source) ^9.6 -> ^9.6 || ^12.0 age adoption passing confidence
sebastian/diff ^4.0 || ^5.0 -> ^4.0 || ^5.0 || ^7.0 age adoption passing confidence

Release Notes

paratestphp/paratest (brianium/paratest)

v7.8.0

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.7.0...v7.8.0

v7.7.0

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.6.3...v7.7.0

v7.6.3

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.6.2...v7.6.3

v7.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.6.1...v7.6.2

v7.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.6.0...v7.6.1

v7.6.0

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.5.7...v7.6.0

v7.5.7

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.5.6...v7.5.7

v7.5.6

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.5.5...v7.5.6

v7.5.5

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.5.4...v7.5.5

v7.5.4

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.5.3...v7.5.4

v7.5.3

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.5.2...v7.5.3

v7.5.2

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.5.1...v7.5.2

v7.5.1

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.5.0...v7.5.1

v7.5.0

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.4.5...v7.5.0

v7.4.8

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.4.7...v7.4.8

v7.4.7

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.4.6...v7.4.7

v7.4.6

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.4.5...v7.4.6

v7.4.5

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.4.4...v7.4.5

v7.4.4

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.4.3...v7.4.4

v7.4.3

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.4.2...v7.4.3

v7.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.4.1...v7.4.2

v7.4.1

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.4.0...v7.4.1

v7.4.0

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.3.1...v7.4.0

v7.3.1

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.3.0...v7.3.1

v7.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.2.9...v7.3.0

v7.2.9

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.8...v7.2.9

v7.2.8

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.7...v7.2.8

v7.2.7

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.6...v7.2.7

v7.2.6

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.5...v7.2.6

v7.2.5

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.4...v7.2.5

v7.2.4

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.3...v7.2.4

v7.2.3

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.2...v7.2.3

v7.2.2

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.1...v7.2.2

v7.2.1

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.2.0...v7.2.1

v7.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.1.5...v7.2.0

v7.1.5

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.1.4...v7.1.5

v7.1.4

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.1.3...v7.1.4

v7.1.3

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.1.2...v7.1.3

v7.1.2

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.1.1...v7.1.2

v7.1.1

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.1.0...v7.1.1

v7.1.0

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.0.6...v7.1.0

v7.0.6

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.0.5...v7.0.6

v7.0.5

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.0.4...v7.0.5

v7.0.4

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.0.3...v7.0.4

v7.0.3

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.0.2...v7.0.3

v7.0.2

Compare Source

What's Changed

Full Changelog: paratestphp/paratest@v7.0.1...v7.0.2

v7.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: paratestphp/paratest@v7.0.0...v7.0.1

v7.0.0

Compare Source

Release for PHPUnit 10

BC Breaks

  • \ParaTest\Runners\PHPUnit\RunnerInterface has been renamed to \ParaTest\RunnerInterface
  • \ParaTest\RunnerInterface::getExitCode has been removed
  • \ParaTest\RunnerInterface::run should return the exit code now
  • Runner has been removed
  • WrapperRunner is now the default runner

Full Changelog: paratestphp/paratest@v6.8.1...v7.0.0

sebastianbergmann/phpunit (phpunit/phpunit)

v12.0.2

Compare Source

v12.0.1

Compare Source

v12.0.0

Compare Source

v11.5.7

Compare Source

v11.5.6: PHPUnit 11.5.6

Compare Source

Changed
  • #​6112: Improve performance of SourceMapper
Fixed
  • #​6115: Backed enumerations with values not of type string cannot be used in customized TestDox output

How to install or update PHPUnit

v11.5.5: PHPUnit 11.5.5

Compare Source

Changed
  • Do not skip execution of test that depends on a test that is larger than itself

How to install or update PHPUnit

v11.5.4: PHPUnit 11.5.4

Compare Source

Changed
  • #​5958: Support for #[CoversTrait] and #[UsesTrait] attributes is no longer deprecated
  • #​5960: Support for targeting trait methods with the #[CoversMethod] and #[UsesMethod] attributes is no longer deprecated
Fixed
  • #​6103: Output from test run in separate process is printed twice
  • #​6109: Skipping a test in a before-class method crashes JUnit XML logger
  • #​6111: Deprecations cause SourceMapper to scan all <source/> files

How to install or update PHPUnit

v11.5.3: PHPUnit 11.5.3

Compare Source

Added
  • Test\AfterLastTestMethodErrored, Test\AfterTestMethodErrored, Test\BeforeTestMethodErrored, Test\PostConditionErrored, and Test\PreConditionErrored events
Fixed
  • #​6093: Test Double Code Generator does not work when PHPUnit is used from PHAR on PHP 8.4
  • #​6094: Errors in after-last-test methods are not reported
  • #​6095: Expectation is not counted correctly when a doubled method is called more often than is expected
  • #​6096: --list-tests-xml is broken when a group with a numeric name is defined
  • #​6098: No system-out element in JUnit XML logfile
  • #​6100: Suppressed deprecations incorrectly stop test execution when execution should be stopped on deprecation

How to install or update PHPUnit

v11.5.2: PHPUnit 11.5.2

Compare Source

Fixed
  • #​6082: assertArrayHasKey(), assertArrayNotHasKey(), arrayHasKey(), and ArrayHasKey::__construct() do not support all possible key types
  • #​6087: --migrate-configuration does not remove beStrictAboutTodoAnnotatedTests attribute from XML configuration file

How to install or update PHPUnit

v11.5.1: PHPUnit 11.5.1

Compare Source

Added
  • #​6081: DefaultResultCache::mergeWith() for merging result cache instances
Fixed
  • #​6066: TeamCity logger does not handle error/skipped events in before-class methods correctly

How to install or update PHPUnit

v11.5.0: PHPUnit 11.5.0

Compare Source

Added
  • #​5948: Support for Property Hooks in Test Doubles
  • #​5954: Provide a way to stop execution at a particular deprecation
  • Method assertContainsNotOnlyInstancesOf() in the PHPUnit\Framework\Assert class as the inverse of the assertContainsOnlyInstancesOf() method
  • Methods assertContainsOnlyArray(), assertContainsOnlyBool(), assertContainsOnlyCallable(), assertContainsOnlyFloat(), assertContainsOnlyInt(), assertContainsOnlyIterable(), assertContainsOnlyNull(), assertContainsOnlyNumeric(), assertContainsOnlyObject(), assertContainsOnlyResource(), assertContainsOnlyClosedResource(), assertContainsOnlyScalar(), and assertContainsOnlyString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic assertContainsOnly() method
  • Methods assertContainsNotOnlyArray(), assertContainsNotOnlyBool(), assertContainsNotOnlyCallable(), assertContainsNotOnlyFloat(), assertContainsNotOnlyInt(), assertContainsNotOnlyIterable(), assertContainsNotOnlyNull(), assertContainsNotOnlyNumeric(), assertContainsNotOnlyObject(), assertContainsNotOnlyResource(), assertContainsNotOnlyClosedResource(), assertContainsNotOnlyScalar(), and assertContainsNotOnlyString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic assertNotContainsOnly() method
  • Methods containsOnlyArray(), containsOnlyBool(), containsOnlyCallable(), containsOnlyFloat(), containsOnlyInt(), containsOnlyIterable(), containsOnlyNull(), containsOnlyNumeric(), containsOnlyObject(), containsOnlyResource(), containsOnlyClosedResource(), containsOnlyScalar(), and containsOnlyString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic containsOnly() method
  • Methods isArray(), isBool(), isCallable(), isFloat(), isInt(), isIterable(), isNumeric(), isObject(), isResource(), isClosedResource(), isScalar(), isString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic isType() method
  • TestRunner\ChildProcessStarted and TestRunner\ChildProcessFinished events
Changed
  • #​5998: Do not run SKIPIF section of PHPT test in separate process when it is free of side effects
  • #​5999: Do not run CLEAN section of PHPT test in separate process when it is free of side effects that modify the parent process
Deprecated
  • #​6052: isType() (use isArray(), isBool(), isCallable(), isFloat(), isInt(), isIterable(), isNull(), isNumeric(), isObject(), isResource(), isClosedResource(), isScalar(), or isString() instead)
  • #​6055: assertContainsOnly() (use assertContainsOnlyArray(), assertContainsOnlyBool(), assertContainsOnlyCallable(), assertContainsOnlyFloat(), assertContainsOnlyInt(), assertContainsOnlyIterable(), assertContainsOnlyNumeric(), assertContainsOnlyObject(), assertContainsOnlyResource(), assertContainsOnlyClosedResource(), assertContainsOnlyScalar(), or assertContainsOnlyString() instead)
  • #​6055: assertNotContainsOnly() (use assertContainsNotOnlyArray(), assertContainsNotOnlyBool(), assertContainsNotOnlyCallable(), assertContainsNotOnlyFloat(), assertContainsNotOnlyInt(), assertContainsNotOnlyIterable(), assertContainsNotOnlyNumeric(), assertContainsNotOnlyObject(), assertContainsNotOnlyResource(), assertContainsNotOnlyClosedResource(), assertContainsNotOnlyScalar(), or assertContainsNotOnlyString() instead)
  • #​6059: containsOnly() (use containsOnlyArray(), containsOnlyBool(), containsOnlyCallable(), containsOnlyFloat(), containsOnlyInt(), containsOnlyIterable(), containsOnlyNumeric(), containsOnlyObject(), containsOnlyResource(), containsOnlyClosedResource(), containsOnlyScalar(), or containsOnlyString() instead)

How to install or update PHPUnit

v11.4.4: PHPUnit 11.4.4

Compare Source

Fixed
  • #​6028: ignoreIndirectDeprecations=true suppresses deprecations triggered in test code

How to install or update PHPUnit

v11.4.3: PHPUnit 11.4.3

Compare Source

Changed
  • #​6010: Improve parameter name for assertGreaterThan(), assertGreaterThanOrEqual(), assertLessThan(), and assertLessThanOrEqual()
  • #​6012: Remove empty lines between TeamCity events
Fixed
  • #​6017: Deprecation Triggers are not registered when Process Isolation is used

How to install or update PHPUnit

v11.4.2: PHPUnit 11.4.2

Compare Source

Changed
  • #​5989: Disable Xdebug in subprocesses when it is not used
Fixed
  • #​5844: Error handlers that are not callable outside the scope they were registered in are not handled correctly
  • #​5982: Typo in exception message

How to install or update PHPUnit

v11.4.1: PHPUnit 11.4.1

Compare Source

Changed
  • Updated regular expressions used by StringMatchesFormatDescription constraint to be consistent with PHP's run-tests.php
Fixed
  • #​5977: TestDox result collector does not correctly handle baseline-ignored E_DEPRECATED issues

How to install or update PHPUnit

v11.4.0: PHPUnit 11.4.0

Compare Source

Changed
  • #​5915: Bootstrap extensions before building test suite
  • #​5917: Seal event facade before loading the test suite
  • #​5923: Filter configured deprecation triggers when displaying deprecation details
  • #​5927: #[RequiresPhpunitExtension] attribute
  • #​5928: Filter tests based on the PHP extensions they require
  • #​5964: Better error message when data provider is invalid
  • The XML configuration file generator now references vendor/phpunit/phpunit/phpunit.xsd (instead of https://schema.phpunit.de/X.Y/phpunit.xsd) when PHPUnit was installed using Composer and phpunit --generate-configuration was invoked in the directory where vendor is located
  • The --migrate-configuration command no longer replaces vendor/phpunit/phpunit/phpunit.xsd with https://schema.phpunit.de/X.Y/phpunit.xsd
  • The output of --list-groups now shows how many tests a group contains
  • The output of --list-suites now shows how many tests a test suite contains
Deprecated
  • #​5951: includeUncoveredFiles configuration option
  • #​5958: Support for #[CoversTrait] and #[UsesTrait] attributes
  • #​5960: Support for targeting trait methods with the #[CoversMethod] and #[UsesMethod] attributes (and respective annotations)

How to install or update PHPUnit

v11.3.6: PHPUnit 11.3.6

Compare Source

Changed
  • #​5956: Deprecation of the E_STRICT constant in PHP 8.4
Fixed
  • #​5950: TestDox text should not be trim()med when it contains $ character
  • The attribute parser will no longer try to instantiate attribute classes that do not exist

How to install or update PHPUnit

v11.3.5: PHPUnit 11.3.5

Compare Source

Fixed
  • #​5874: Test Stub generated by return value generator for doubled method with static return type declaration is not properly initialized
  • #​5931: Reverted addition of name property on <testsuites> element in JUnit XML logfile
  • #​5946: Callback throws a TypeError when checking a callable has variadic parameters

How to install or update PHPUnit

v11.3.4: PHPUnit 11.3.4

Compare Source

Fixed
  • #​4584: assertJsonStringEqualsJsonString() considers objects with sequential numeric keys equal to be arrays
  • #​4625: Generator yielding keys that are neither integer or string leads to hard-to-understand error message when used as data provider
  • #​4674: JSON assertions should treat objects as unordered
  • #​5891: Callback constraint does not handle variadic arguments correctly when used for mock object expectations
  • #​5929: TestDox output containing $ at the beginning gets truncated when used with a data provider
  • #​5943: Tests configured to be in group(s) using the XML configuration file are also added to the default group

How to install or update PHPUnit

v11.3.3: PHPUnit 11.3.3

Compare Source

Added
  • #​5937: failOnPhpunitDeprecation attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-deprecation CLI option for controlling whether PHPUnit deprecations should be considered when determining the test runner's shell exit code (default: do not consider)
  • displayDetailsOnPhpunitDeprecations attribute on the <phpunit> element of the XML configuration file and --display-phpunit-deprecations CLI option for controlling whether details on PHPUnit deprecations should be displayed (default: do not display)
Changed
  • #​5937: PHPUnit deprecations will, by default, no longer affect the test runner's shell exit code. This can optionally be turned back on using the --fail-on-phpunit-deprecation CLI option or the failOnPhpunitDeprecation="true" attribute on the <phpunit> element of the XML configuration file.
  • Details for PHPUnit deprecations will, by default, no longer be displayed. This can optionally be turned back on using the --display-phpunit-deprecations CLI option or the displayDetailsOnPhpunitDeprecations attribute on the <phpunit> element of the XML configuration file.

How to install or update PHPUnit

v11.3.2: PHPUnit 11.3.2

Compare Source

Changed
  • #​5931: name property on <testsuites> element in JUnit XML logfile
  • Removed .phpstorm.meta.php file as methods such as TestCase::createStub() use generics / template types for their return types and PhpStorm, for example, uses that information
Fixed
  • #​5884: TestDox printer does not consider that issues can be suppressed by attribute, baseline, source location, or @ operator

How to install or update PHPUnit

v11.3.1: PHPUnit 11.3.1

Compare Source

Changed
  • Improved how objects are handled for some assertion failure messages

How to install or update PHPUnit

v11.3.0: PHPUnit 11.3.0

Compare Source

Added
  • #​5869: shortenArraysForExportThreshold attribute on the <phpunit> element of the XML configuration file to limit the export of arrays to a specified number of elements (default: 0 / do not limit the export of arrays)
  • #​5885: Optionally repeat TestDox output for non-successful tests after the regular TestDox output
  • #​5890: Priority for hook methods
  • #​5906: --extension CLI option to register a test runner extension
Changed
  • #​5856: When the test runner is configured to fail on deprecations, notices, warnings, incomplete tests, or skipped tests then details for tests that triggered deprecations, notices, or warnings as well as tests that were marked as incomplete or skipped are always shown, respectively
  • #​5869: The configuration file generated using --generate-configuration now limits the export of arrays to 10 elements in order to improve performance

How to install or update PHPUnit

v11.2.9: PHPUnit 11.2.9

Compare Source

Fixed
  • #​5887: Issue baseline generator does not correctly handle ignoring suppressed issues
  • #​5908: --list-tests and --list-tests-xml CLI options do not report error when data provider method throws exception

How to install or update PHPUnit

v11.2.8: PHPUnit 11.2.8

Compare Source

Fixed
  • #​5898: Test\Passed event is not emitted for PHPT tests
  • --coverage-filter CLI option could not be used multiple times

How to install or update PHPUnit

v11.2.7: PHPUnit 11.2.7

Compare Source

Changed
  • Updated dependencies (so that users that install using Composer's --prefer-lowest CLI option also get recent versions)
Fixed

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-phpunit branch from dc0a48a to d18b3f1 Compare February 3, 2024 02:00
@renovate renovate bot force-pushed the renovate/major-phpunit branch from d18b3f1 to 7904009 Compare February 8, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants