diff options
author | Christian Schneider | 2008-10-26 02:53:28 +0000 |
---|---|---|
committer | Christian Schneider | 2008-10-26 02:53:28 +0000 |
commit | e2d81af761b9389f7bafb008f3bfa8a8fede9788 (patch) | |
tree | 28f4533710db4d6e239a85b2e56ac8fba159e81c | |
parent | 206fc6778cb586d7ac21543707e49ec4c2b49aee (diff) | |
download | itools-e2d81af761b9389f7bafb008f3bfa8a8fede9788.tar.gz itools-e2d81af761b9389f7bafb008f3bfa8a8fede9788.tar.bz2 itools-e2d81af761b9389f7bafb008f3bfa8a8fede9788.zip |
Fix phplint warnings
-rwxr-xr-x | tests/getopt.t | 2 | ||||
-rwxr-xr-x | tests/it_dbi.t | 2 |
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"); |