# The below code injects a parameter just like if the user called
# Probably fix bug 29226
$key = array_search( '--colors', $_SERVER['argv'] );
- if( $key === false ) {
+ if ( $key === false ) {
array_splice( $_SERVER['argv'], 1, 0, '--colors' );
}
}
# PHPUnit uses stream_resolve_include_path() internally
# See bug 32022
$key = array_search( '--include-path', $_SERVER['argv'] );
- if( $key === false ) {
+ if ( $key === false ) {
array_splice( $_SERVER['argv'], 1, 0,
__DIR__
. PATH_SEPARATOR
if ( version_compare( PHP_VERSION, '5.4.0', '<' )
&& version_compare( PHP_VERSION, '5.3.0', '>=' )
) {
- register_shutdown_function( function() {
+ register_shutdown_function( function () {
gc_collect_cycles();
gc_disable();
} );