Skip to content

Update dependency phpunit/phpunit to v8 (main)#10

Open
mend-for-github-com[bot] wants to merge 1 commit intomainfrom
whitesource-remediate/main-phpunit-phpunit-8.x
Open

Update dependency phpunit/phpunit to v8 (main)#10
mend-for-github-com[bot] wants to merge 1 commit intomainfrom
whitesource-remediate/main-phpunit-phpunit-8.x

Conversation

@mend-for-github-com
Copy link

This PR contains the following updates:

Package Type Update Change
phpunit/phpunit (source) require-dev major ^7.5^8.5.52

By merging this PR, the issue #9 will be automatically resolved and closed:

Severity CVSS Score Vulnerability Reachability
High High 7.8 CVE-2026-24765

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v8.5.52: PHPUnit 8.5.52

Compare Source

Changed
  • To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.51: PHPUnit 8.5.51

Compare Source

Changed
  • PHPUnit\Framework\MockObject exceptions subtypes of PHPUnit\Exception

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.50: PHPUnit 8.5.50

Compare Source

  • No changes; phpunit.phar rebuilt with PHP 8.4 to work around PHP-Scoper issue #​1139

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.49: PHPUnit 8.5.49

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.48: PHPUnit 8.5.48

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.47: PHPUnit 8.5.47

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.46: PHPUnit 8.5.46

Compare Source

Changed
  • #​6366: Exclude __sleep() and __wakeup() from test double code generation on PHP >= 8.5

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.45: PHPUnit 8.5.45

Compare Source

Changed
  • Implement __serialize() in addition to __sleep() (which will be deprecated in PHP 8.5)

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.44

Compare Source

v8.5.43: PHPUnit 8.5.43

Compare Source

Changed
  • Do not use ReflectionProperty::setAccessible() with PHP >= 8.1
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

v8.5.42: PHPUnit 8.5.42

Compare Source

Changed
  • #​5956: Improved handling of deprecated E_STRICT constant
  • Improved message when test is considered risky for printing unexpected output

How to install or update PHPUnit

v8.5.41: PHPUnit 8.5.41

Compare Source

Fixed
  • #​6071: PHP Archives (PHARs) of PHPUnit 8.5 and PHPUnit 9.6 bundle outdated versions of Prophecy

How to install or update PHPUnit

v8.5.40: PHPUnit 8.5.40

Compare Source

Changed
  • #​5956: Deprecation of the E_STRICT constant in PHP 8.4
  • 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

How to install or update PHPUnit

v8.5.39: PHPUnit 8.5.39

Compare Source

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

How to install or update PHPUnit

v8.5.38: PHPUnit 8.5.38

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

v8.5.37

Compare Source

v8.5.36

Compare Source

v8.5.35

Compare Source

v8.5.34

Compare Source

v8.5.33

Compare Source

v8.5.32

Compare Source

v8.5.31

Compare Source

v8.5.30

Compare Source

v8.5.29

Compare Source

v8.5.28

Compare Source

v8.5.27

Compare Source

v8.5.26

Compare Source

v8.5.25

Compare Source

v8.5.24

Compare Source

v8.5.23

Compare Source

v8.5.22

Compare Source

v8.5.21

Compare Source

v8.5.20

Compare Source

v8.5.19

Compare Source

v8.5.18

Compare Source

v8.5.17

Compare Source

v8.5.16

Compare Source

v8.5.15

Compare Source

v8.5.14

Compare Source

v8.5.13

Compare Source

v8.5.12

Compare Source

v8.5.11

Compare Source

v8.5.10

Compare Source

v8.5.9

Compare Source

v8.5.8

Compare Source

v8.5.7

Compare Source

v8.5.6

Compare Source

v8.5.5

Compare Source

v8.5.4

Compare Source

v8.5.3

Compare Source

v8.5.2

Compare Source

v8.5.1

Compare Source

v8.5.0

Compare Source

v8.4.3

Compare Source

v8.4.2

Compare Source

v8.4.1

Compare Source

v8.4.0

Compare Source

v8.3.5

Compare Source

v8.3.4

Compare Source

v8.3.3

Compare Source

v8.3.2

Compare Source

v8.3.1

Compare Source

v8.3.0

Compare Source

v8.2.5

Compare Source

v8.2.4

Compare Source

v8.2.3

Compare Source

v8.2.2

Compare Source

v8.2.1

Compare Source

v8.2.0

Compare Source

v8.1.6

Compare Source

v8.1.5

Compare Source

v8.1.4

Compare Source

v8.1.3

Compare Source

v8.1.2

Compare Source

v8.1.1

Compare Source

v8.1.0

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

v7.5.20

Compare Source

v7.5.19

Compare Source

v7.5.18

Compare Source

v7.5.17

Compare Source

v7.5.16

Compare Source

v7.5.15

Compare Source

v7.5.14

Compare Source

v7.5.13

Compare Source

v7.5.12

Compare Source

v7.5.11

Compare Source

v7.5.10

Compare Source

v7.5.9

Compare Source

v7.5.8

Compare Source

v7.5.7

Compare Source

v7.5.6

Compare Source

v7.5.5

Compare Source

v7.5.4

Compare Source

v7.5.3

Compare Source

v7.5.2

Compare Source

v7.5.1

Compare Source


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

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security fix Security fix generated by Mend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants