summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2008-10-26 02:53:28 +0000
committerChristian Schneider2008-10-26 02:53:28 +0000
commite2d81af761b9389f7bafb008f3bfa8a8fede9788 (patch)
tree28f4533710db4d6e239a85b2e56ac8fba159e81c
parent206fc6778cb586d7ac21543707e49ec4c2b49aee (diff)
downloaditools-e2d81af761b9389f7bafb008f3bfa8a8fede9788.tar.gz
itools-e2d81af761b9389f7bafb008f3bfa8a8fede9788.tar.bz2
itools-e2d81af761b9389f7bafb008f3bfa8a8fede9788.zip
Fix phplint warnings
-rwxr-xr-xtests/getopt.t2
-rwxr-xr-xtests/it_dbi.t2
2 files changed, 2 insertions, 2 deletions
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");