Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/phpunit-bridge
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.4.11
Choose a base ref
...
head repository: symfony/phpunit-bridge
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.4.14
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 3, 2022

  1. Copy the full SHA
    75857fc View commit details

Commits on Oct 7, 2022

  1. Merge branch '4.4' into 5.4

    * 4.4:
      [Console] Fix `Helper::removeDecoration` hyperlink bug
      Guard scripts from being run in non-CLI contexts
      a readonly property must not be reported as being writable
    fabpot committed Oct 7, 2022
    Copy the full SHA
    684084f View commit details
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/simple-phpunit.php
4 changes: 4 additions & 0 deletions bin/simple-phpunit.php
Original file line number Diff line number Diff line change
@@ -12,6 +12,10 @@
// Please update when phpunit needs to be reinstalled with fresh deps:
// Cache-Id: 2021-02-04 11:00 UTC

if ('cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI) {
throw new Exception('This script must be run from the command line.');
}

error_reporting(-1);

global $argv, $argc;