From e2d81af761b9389f7bafb008f3bfa8a8fede9788 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Sun, 26 Oct 2008 02:53:28 +0000 Subject: Fix phplint warnings --- tests/getopt.t | 2 +- tests/it_dbi.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/getopt.t b/tests/getopt.t index 41e985d..2fbe322 100755 --- a/tests/getopt.t +++ b/tests/getopt.t @@ -5,7 +5,7 @@ require 'searchlib/search_test.class'; -$usage = "Usage: doesnotexist.php [OPTIONS] +$GLOBALS['usage'] = "Usage: doesnotexist.php [OPTIONS] Some help to a not existing program -h,--help the help argument -a,--argument=ARG the arg argument diff --git a/tests/it_dbi.t b/tests/it_dbi.t index cd8c650..0c30768 100755 --- a/tests/it_dbi.t +++ b/tests/it_dbi.t @@ -177,6 +177,6 @@ foreach (new it_dbi_test('foo <>' => "") as $id => $record) is($count, 2, "Iterator with select"); $count = 0; -foreach ($record as $rec) +foreach ($record as $dummy_rec) $count++; is($count, 2, "Iterator reused"); -- cgit v1.2.3