This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ function jsonAction()
185
185
}
186
186
187
187
/** Allows components to call redirect */
188
- function redirect ($ url )
188
+ function redirect ($ url, array $ options = array () )
189
189
{
190
- $ this ->_redirect ($ url );
190
+ $ this ->_redirect ($ url, $ options );
191
191
}
192
192
} // end class
Original file line number Diff line number Diff line change 63
63
64
64
copy ($ base_path . '/tests/configs/mysql.ini ' , $ base_path . '/tests/configs/lock.mysql.ini ' );
65
65
66
- require_once 'PHP/CodeCoverage/Filter.php ' ;
67
- PHP_CodeCoverage_Filter::getInstance ()->addFileToBlacklist (__FILE__ , 'PHPUNIT ' );
66
+ define ('PHPUnit_MAIN_METHOD ' , 'PHPUnit_TextUI_Command::main ' );
68
67
69
68
if (strpos ('@php_bin@ ' , '@php_bin ' ) === 0 ) {
70
69
set_include_path (dirname (__FILE__ ) . PATH_SEPARATOR . get_include_path ());
71
70
}
72
71
73
72
require_once 'PHPUnit/Autoload.php ' ;
74
73
75
- define ('PHPUnit_MAIN_METHOD ' , 'PHPUnit_TextUI_Command::main ' );
76
-
77
74
PHPUnit_TextUI_Command::main ();
Original file line number Diff line number Diff line change 63
63
64
64
copy ($ base_path . '/tests/configs/pgsql.ini ' , $ base_path . '/tests/configs/lock.pgsql.ini ' );
65
65
66
- require_once 'PHP/CodeCoverage/Filter.php ' ;
67
- PHP_CodeCoverage_Filter::getInstance ()->addFileToBlacklist (__FILE__ , 'PHPUNIT ' );
66
+ define ('PHPUnit_MAIN_METHOD ' , 'PHPUnit_TextUI_Command::main ' );
68
67
69
68
if (strpos ('@php_bin@ ' , '@php_bin ' ) === 0 ) {
70
69
set_include_path (dirname (__FILE__ ) . PATH_SEPARATOR . get_include_path ());
71
70
}
72
71
73
72
require_once 'PHPUnit/Autoload.php ' ;
74
73
75
- define ('PHPUnit_MAIN_METHOD ' , 'PHPUnit_TextUI_Command::main ' );
76
-
77
74
PHPUnit_TextUI_Command::main ();
You can’t perform that action at this time.
0 commit comments