Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 28, 2026

Bumps phpunit/phpunit from 11.5.45 to 11.5.50.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 11.5.50

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 11.5 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 11.5.49

Fixed

  • #6362: Manually instantiated test doubles are broken since PHPUnit 11.2
  • #6470: Infinite recursion in Count::getCountOf() for unusal implementations of Iterator or IteratorAggregate

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

Keep up to date with PHPUnit:

PHPUnit 11.5.48

Changed


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

Keep up to date with PHPUnit:

PHPUnit 11.5.47

Fixed

  • #6470: Mocking a class with a property hook setter accepting more types than the property results in a fatal error

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

[11.5.50] - 2026-01-27

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

[11.5.49] - 2026-01-24

Fixed

  • #6362: Manually instantiated test doubles are broken since PHPUnit 11.2
  • #6470: Infinite recursion in Count::getCountOf() for unusal implementations of Iterator or IteratorAggregate

[11.5.48] - 2026-01-16

Changed

[11.5.47] - 2026-01-15

Changed

  • PHPUnit\Framework\MockObject exceptions are now subtypes of PHPUnit\Exception

Fixed

  • #6470: Mocking a class with a property hook setter accepting more types than the property results in a fatal error

[11.5.46] - 2025-12-06

  • No changes; phpunit.phar rebuilt with PHP 8.4 to work around PHP-Scoper issue #1139
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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 11.5.50
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jan 28, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 28, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

Benchmark Results

Swoole Adapters (Sync, Swoole Thread, Swoole Process, Amp, React)

╔══════════════════════════════════════════════════════════════════════════════╗
║                    Parallel Adapter Benchmark                                ║
╚══════════════════════════════════════════════════════════════════════════════╝

System Info:
  PHP Version: 8.4.17
  Swoole Version: 6.1.3
  CPU Cores: 4
  Iterations: 10 per test
  Load: 50% (workload intensity)

Detected adapters:
  [x] Sync
  [x] Swoole Thread
  [x] Swoole Process
  [x] Amp
  [x] React
  [x] ext-parallel

┌──────────────────────────────────────────────────────────────────────────────┐
│ CPU-Intensive Workloads                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

  Prime calculation (4 tasks, primes up to 200000)
--------------------------------------------------------------------------------
PHP Warning:  Swoole\Process::kill(): kill(37, 9) failed, Error: No such process[3] in /usr/src/code/src/Parallel/Pool/Swoole/Process.php on line 357

ext-parallel Adapter (Sync, Amp, React, ext-parallel)

╔══════════════════════════════════════════════════════════════════════════════╗
║                    Parallel Adapter Benchmark                                ║
╚══════════════════════════════════════════════════════════════════════════════╝

System Info:
  PHP Version: 8.4.17
  CPU Cores: 4
  Iterations: 10 per test
  Load: 50% (workload intensity)

Detected adapters:
  [x] Sync
  [ ] Swoole Thread
  [ ] Swoole Process
  [x] Amp
  [x] React
  [x] ext-parallel

┌──────────────────────────────────────────────────────────────────────────────┐
│ CPU-Intensive Workloads                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

  Prime calculation (4 tasks, primes up to 200000)
--------------------------------------------------------------------------------
  Sync:             0.429s (std: 0.035s, range: 0.381-0.485s)
  Amp:              0.230s (std: 0.045s, range: 0.179-0.333s)  1.87x speedup
  React:            0.324s (std: 0.043s, range: 0.258-0.376s)  1.33x speedup
  ext-parallel:     0.157s (std: 0.008s, range: 0.153-0.177s)  2.73x speedup
  Winner: ext-parallel (63.3% faster than sync)

  Matrix multiply (4 tasks, 200x200)
--------------------------------------------------------------------------------
  Sync:             1.015s (std: 0.018s, range: 1.000-1.062s)
  Amp:              0.466s (std: 0.052s, range: 0.427-0.563s)  2.18x speedup
  React:            0.589s (std: 0.075s, range: 0.505-0.747s)  1.72x speedup
  ext-parallel:     0.433s (std: 0.010s, range: 0.424-0.457s)  2.34x speedup
  Winner: ext-parallel (57.3% faster than sync)

┌──────────────────────────────────────────────────────────────────────────────┐
│ I/O-Simulated Workloads                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

  Sleep tasks (4 tasks, 50ms each)
--------------------------------------------------------------------------------
  Sync:             0.200s (std: 0.000s, range: 0.200-0.200s)
  Amp:              0.066s (std: 0.045s, range: 0.051-0.194s)  3.05x speedup
  React:            0.113s (std: 0.001s, range: 0.112-0.115s)  1.77x speedup
  ext-parallel:     0.053s (std: 0.007s, range: 0.050-0.074s)  3.79x speedup
  Winner: ext-parallel (73.6% faster than sync)

  Mixed workload (4 tasks)
--------------------------------------------------------------------------------
  Sync:             0.130s (std: 0.001s, range: 0.128-0.132s)
  Amp:              0.063s (std: 0.038s, range: 0.050-0.171s)  2.07x speedup
  React:            0.111s (std: 0.001s, range: 0.110-0.112s)  1.17x speedup
  ext-parallel:     0.053s (std: 0.007s, range: 0.050-0.074s)  2.46x speedup
  Winner: ext-parallel (59.3% faster than sync)

┌──────────────────────────────────────────────────────────────────────────────┐
│ Scaling Benchmarks                                                           │
└──────────────────────────────────────────────────────────────────────────────┘

  Scaling test (1 tasks)
--------------------------------------------------------------------------------
  Sync:             0.026s (std: 0.000s, range: 0.026-0.026s)
  Amp:              0.061s (std: 0.020s, range: 0.040-0.113s)  0.43x speedup
  React:            0.068s (std: 0.001s, range: 0.067-0.069s)  0.39x speedup
  ext-parallel:     0.033s (std: 0.007s, range: 0.030-0.053s)  0.80x speedup
  Winner: ext-parallel (-24.8% faster than sync)

  Scaling test (2 tasks)
--------------------------------------------------------------------------------
  Sync:             0.053s (std: 0.002s, range: 0.051-0.056s)
  Amp:              0.039s (std: 0.025s, range: 0.028-0.109s)  1.38x speedup
  React:            0.069s (std: 0.001s, range: 0.068-0.070s)  0.77x speedup
  ext-parallel:     0.033s (std: 0.007s, range: 0.030-0.053s)  1.63x speedup
  Winner: ext-parallel (38.6% faster than sync)

  Scaling test (4 tasks)
--------------------------------------------------------------------------------
  Sync:             0.110s (std: 0.002s, range: 0.105-0.111s)
  Amp:              0.075s (std: 0.030s, range: 0.057-0.160s)  1.47x speedup
  React:            0.124s (std: 0.006s, range: 0.119-0.134s)  0.89x speedup
  ext-parallel:     0.050s (std: 0.010s, range: 0.042-0.075s)  2.19x speedup
  Winner: ext-parallel (54.3% faster than sync)

  Scaling test (8 tasks)
--------------------------------------------------------------------------------
  Sync:             0.210s (std: 0.013s, range: 0.193-0.222s)
  Amp:              0.136s (std: 0.035s, range: 0.107-0.228s)  1.55x speedup
  React:            0.253s (std: 0.008s, range: 0.239-0.261s)  0.83x speedup
  ext-parallel:     0.093s (std: 0.010s, range: 0.084-0.117s)  2.26x speedup
  Winner: ext-parallel (55.8% faster than sync)
   16 tasks: Sync=0.422s, Amp=0.231s (1.8x), React=0.509s (0.8x), parallel=0.188s (2.2x)
   32 tasks: Sync=0.995s, Amp=0.529s (1.9x), React=0.989s (1.0x), parallel=0.376s (2.6x)

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

  Adapter             Wins  Avg Speedup  Max Speedup
----------------------------------------------------
  Amp                    0        1.77x        3.05x
  React                  0        1.07x        1.77x
  ext-parallel          10        2.31x        3.79x

  Recommendation: ext-parallel for best overall performance.
  Theoretical max speedup: 4x (limited by CPU cores)


Benchmarks run with 10 iterations on GitHub Actions runner

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 php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants