Skip to content

Commit ac4abec

Browse files
committed
Make some test methods static
1 parent 8c5f6ae commit ac4abec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/PEAR_ErrorStack/test_instaticmethod_context_eval.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
1212
$stack = &PEAR_ErrorStack::singleton('test');
1313
class test3
1414
{
15-
function test34()
15+
static function test34()
1616
{
1717
global $testline, $stack;
1818
eval('$stack->push(3);');

tests/PEAR_ErrorStack/test_instaticmethod_context_eval_staticPush.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
1212
$stack = &PEAR_ErrorStack::singleton('test');
1313
class test3
1414
{
15-
function test34()
15+
static function test34()
1616
{
1717
global $testline, $stack;
1818
eval('PEAR_ErrorStack::staticPush("test", 3);');

tests/PEAR_ErrorStack/test_instaticmethod_context_staticPush.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
1212
$stack = &PEAR_ErrorStack::singleton('test');
1313
class stclass
1414
{
15-
function staticfunc()
15+
static function staticfunc()
1616
{
1717
global $testline;
1818
PEAR_ErrorStack::staticPush('test', 3);

0 commit comments

Comments
 (0)