php-console
php-console copied to clipboard
chore(deps-dev): update phpunit/phpunit requirement from ^9.1 to ^9.1 || ^10.0
Updates the requirements on phpunit/phpunit to permit the latest version.
Changelog
Sourced from phpunit/phpunit's changelog.
[10.0.0] - 2023-02-03
Added
- #4676: Event System for extending PHPUnit's test runner
- #4502: Support PHP 8 attributes for adding metadata to test classes and test methods as well as tested code units
- #4641:
assertStringEqualsStringIgnoringLineEndings()andassertStringContainsStringIgnoringLineEndings()- #4650: Support dist file name
phpunit.dist.xml- #4657:
--exclude-testsuiteoption- #4818:
assertIsList()- #4892: Make colors used in HTML code coverage report configurable
- #4893: Make path to custom.css for HTML code coverage report configurable
- #5097: Support for
enumvalues in TestDox placeholder replacementsTestCase::createStubForIntersectionOfInterfaces()andTestCase::createMockForIntersectionOfInterfaces()#[ExcludeGlobalVariableFromBackup('variable')]attribute for excluding a global variable from the backup/restore of global and super-global variables#[ExcludeStaticPropertyFromBackup('className', 'propertyName')]attribute for excluding a static property from the backup/restore of static properties in user-defined classes--log-events-text <file>option that controls streaming of event information (without event telemetry) in text format to a file--log-events-verbose-text <file>option that controls streaming of event information (with event telemetry) in text format to a file--no-progressoption to disable test execution progress output--no-resultsoption to disable test result output--no-outputoption to disable all output--display-incompleteoption anddisplayDetailsOnIncompleteTestsXML configuration attribute to control whether details on incomplete tests should be displayed--display-skippedoption anddisplayDetailsOnSkippedTestsXML configuration attribute to control whether details on skipped tests should be displayed--display-deprecationsoption anddisplayDetailsOnTestsThatTriggerDeprecationsXML configuration attribute to control whether details on tests that triggerE_DEPRECATEDorE_USER_DEPRECATEDshould be displayed--display-errorsoption anddisplayDetailsOnTestsThatTriggerErrorsXML configuration attribute to control whether details on tests that triggerE_ERRORorE_USER_ERRORshould be displayed--display-noticesoption anddisplayDetailsOnTestsThatTriggerNoticesXML configuration attribute to control whether details on tests that triggerE_STRING,E_NOTICE, orE_USER_NOTICEshould be displayed--display-warningsoption anddisplayDetailsOnTestsThatTriggerWarningsXML configuration attribute to control whether details on tests that triggerE_WARNINGorE_USER_WARNINGshould be displayedChanged
- #3871: Declare return types for
InvocationStubbermethods- #3954: Disable global state preservation for process isolation by default
- #4599: Unify cache configuration
- #4603: Use "property" instead of "attribute" for configuring the backup of static fields
- #4656: Prevent doubling of
__destruct()- Using a non-static method as a data provider is now deprecated
- Using a non-public method as a data provider is now deprecated
- Declaring a data provider method to require an argument is now deprecated
- A test method now continues execution after test(ed) code triggered
E_(USER_)DEPRECATED,E_(USER_)NOTICE,E_STRICT, orE_(USER_)WARNING- PHPUnit no longer invokes a static method named
suiteon a class that is declared in a file that is passed as an argument to the CLI test runner- PHPUnit no longer promotes variables that are global in the bootstrap script's scope to global variables in the test runner's scope (use
$GLOBALS['variable'] = 'value'instead of$variable = 'value'in your bootstrap script)PHPUnit\Framework\TestCase::$backupGlobalscan no longer be used to enable or disable the backup/restore of global and super-global variables for a test case classPHPUnit\Framework\TestCase::$backupStaticAttributescan no longer be used to enable or disable the backup/restore of static properties in user-defined classes for a test case class@authoris no longer an alias for@group- The JUnit XML logfile now has both
nameandfileattributes on<testcase>elements for PHPT tests- The JUnit XML logfile no longer has
<system-out>elements that contain the output printed tostdoutby a test- The JUnit XML logfile now only reports test outcome (errored, failed, incomplete, skipped, or passed) and no longer test issues (considered risky, for instance)
- The
forceCoversAnnotationattribute of the<phpunit>element of PHPUnit's XML configuration file has been renamed torequireCoverageMetadata- The
beStrictAboutCoversAnnotationattribute of the<phpunit>element of PHPUnit's XML configuration file has been renamed tobeStrictAboutCoverageMetadata- The public methods of
PHPUnit\Framework\AssertandPHPUnit\Framework\TestCaseare nowfinal
... (truncated)
Commits
c4c60c3Prepare release8c26637csfix615abd5remove nullable optionf02e6b7Move class initialization up in the constructor.1751920Merge branch '9.6'2b3bfefMerge branch '9.5' into 9.6a3549f1Add test for #50742aa65e1Do not rely on globally installed Phivedf0f454Do not rely on globally installed Phive7f91895Revert "Sync with https://github.com/sebastianbergmann/php-code-coverage/comm...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)