Issues (55)

tests/bootstrap.php (1 issue)

Labels
Severity
1
<?php
2
3
/*
4
 * Set error reporting to maximum
5
 */
6
error_reporting( -1 );
7
ini_set( 'display_errors', true );
0 ignored issues
show
true of type true is incompatible with the type string expected by parameter $value of ini_set(). ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

7
ini_set( 'display_errors', /** @scrutinizer ignore-type */ true );
Loading history...
8
9
date_default_timezone_set( 'UTC' );
10
11
/*
12
 * Set locale settings to reasonable defaults
13
 */
14
setlocale( LC_ALL, 'en_US.UTF-8' );
15
setlocale( LC_CTYPE, 'en_US.UTF-8' );
16
setlocale( LC_NUMERIC, 'POSIX' );
17
setlocale( LC_TIME, 'POSIX' );
18
19
20
require_once 'TestHelper.php';
21
\TestHelper::bootstrap();
22