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

build: bump phpunit/phpunit from 10.0.19 to 10.1.1 #206

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2023

Bumps phpunit/phpunit from 10.0.19 to 10.1.1.

Changelog

Sourced from phpunit/phpunit's changelog.

10.1.1 - 2023-04-17

Fixed

  • Tests that have #[DoesNotPerformAssertions] (or @doesNotPerformAssertions) do not contribute to code coverage
  • #[DoesNotPerformAssertions] (and @doesNotPerformAssertions) is only interpreted on the method level, not on the class level

[10.1.0] - 2023-04-14

Added

  • #5168: Allow test runner extensions to disable default progress and result printing
  • #5196: Optionally (fail|stop) on (notice|deprecation) events
  • #5201: Add TestCase::registerFailureType() to register interface that marks exceptions to be treated as failures, not errors
  • #5231: assertObjectHasProperty() and assertObjectNotHasProperty()
  • #5237: Implement IgnoreClassForCodeCoverage, IgnoreMethodForCodeCoverage, and IgnoreFunctionForCodeCoverage attributes
  • #5293: Allow to restrict the reporting of deprecations, notices, and warnings to specified directories
  • #5294: Introduce <source> XML configuration element to configure "your code"
  • #5300: TestCase::transformException() hook method
  • TestCase::createConfiguredStub() was added as an analogon to TestCase::createConfiguredMock()
  • The PHPUnit\Event\TestRunner\ExecutionAborted event is now emitted when the execution of tests is stopped due to stopOn* attributes on the <phpunit> XML configuration element or due to --stop-on-* CLI options
  • Event telemetry now includes status information for PHP's garbage collector

Changed

  • #5198: Display PHPUnit deprecations when TestDox output is used
  • #5326: Ignore suppressed E_USER_* errors again

Deprecated

  • #5236: Deprecate the CodeCoverageIgnore attribute
  • #5240: Deprecate TestCase::createTestProxy() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5241: Deprecate TestCase::getMockForAbstractClass() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5242: Deprecate TestCase::getMockFromWsdl() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5243: Deprecate TestCase::getMockForTrait() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5244: Deprecate TestCase::getObjectForTrait() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5305: Deprecate MockBuilder::getMockForAbstractClass() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5306: Deprecate MockBuilder::getMockForTrait() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • #5307: Deprecate MockBuilder::enableProxyingToOriginalMethods(), MockBuilder::disableProxyingToOriginalMethods(), and MockBuilder::setProxyTarget() (these methods only have a @deprecated annotation for now; using these methods will trigger a deprecation warning in PHPUnit 11; these methods will be removed in PHPUnit 12)
  • #5308: Deprecate MockBuilder::allowMockingUnknownTypes() and MockBuilder::disallowMockingUnknownTypes() (these methods only have a @deprecated annotation for now; using these methods will trigger a deprecation warning in PHPUnit 11; these methods will be removed in PHPUnit 12)
  • #5315: Deprecate MockBuilder::enableArgumentCloning() and MockBuilder::disableArgumentCloning() (these methods only have a @deprecated annotation for now; using these methods will trigger a deprecation warning in PHPUnit 11; these methods will be removed in PHPUnit 12)
  • #5320: Deprecate MockBuilder::addMethods() (this method only has a @deprecated annotation for now; using this method will trigger a deprecation warning in PHPUnit 11; this method will be removed in PHPUnit 12)
  • Using <coverage><include>...</include><exclude>...</exclude></coverage> in the XML configuration file to configure code that should be included in code coverage reporting is now deprecated and support for this will be removed in PHPUnit 11 (use <source><include>...</include><exclude>...</exclude></source> instead)
  • PHPUnit\TextUI\Configuration\Configuration::hasNonEmptyListOfFilesToBeIncludedInCodeCoverageReport() (use source()->notEmpty() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageIncludeDirectories() (use source()->includeDirectories() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageIncludeFiles() (use source()->includeFiles() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageExcludeDirectories() (use source()->excludeDirectories() instead)
  • PHPUnit\TextUI\Configuration\Configuration::coverageExcludeFiles() (use source()->excludeFiles() instead)

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.0.19 to 10.1.1.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.1.1/ChangeLog-10.1.md)
- [Commits](sebastianbergmann/phpunit@10.0.19...10.1.1)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 17, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #206 (9d6b0d4) into main (dd3c81f) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##               main     #206   +/-   ##
=========================================
  Coverage     99.08%   99.08%           
  Complexity     1214     1214           
=========================================
  Files           130      130           
  Lines          3925     3925           
=========================================
  Hits           3889     3889           
  Misses           36       36           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mariosimao mariosimao merged commit c2b8b5e into main Apr 17, 2023
@mariosimao mariosimao deleted the dependabot/composer/phpunit/phpunit-10.1.1 branch April 17, 2023 22:13
@mariosimao mariosimao self-assigned this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants