File: success-with-xdebug.phpt

package info (click to toggle)
phpunit 12.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 50,160 kB
  • sloc: php: 101,772; xml: 2,084; makefile: 124; sh: 99
file content (35 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--TEST--
phpunit --check-php-configuration (success, Xdebug loaded)
--SKIPIF--
<?php declare(strict_types=1);
if (!extension_loaded('xdebug')) {
    print 'skip: Extension Xdebug must be loaded.';
}
--INI--
display_errors=1
display_startup_errors=1
error_reporting=-1
xdebug.show_exception_trace=0
zend.assertions=1
assert.exception=1
memory_limit=-1
--FILE--
<?php
$_SERVER['argv'][] = '--check-php-configuration';

require_once __DIR__ . '/../../bootstrap.php';

(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

Checking whether PHP is configured according to https://docs.phpunit.de/en/%s/installation.html#configuring-php-for-development

display_errors = On             ... ok
display_startup_errors = On     ... ok
error_reporting = -1            ... ok
xdebug.show_exception_trace = 0 ... ok
zend.assertions = 1             ... ok
assert.exception = 1            ... ok
memory_limit = -1               ... ok