summaryrefslogtreecommitdiffstats
path: root/tests/006-rpminfo-errors.phpt
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-13 17:12:53 +0100
committerRemi Collet <remi@remirepo.net>2020-03-13 17:12:53 +0100
commitb2b3568932aa8c70981b9230f1af216938191944 (patch)
tree59e303bedab5fe755fc17ef2b315a8b42bff1db3 /tests/006-rpminfo-errors.phpt
parent81cb671ef1b07c563ed6be2776d5174107e1257e (diff)
add type hinting in reflection
return NULL instead of FALSE on failure
Diffstat (limited to 'tests/006-rpminfo-errors.phpt')
-rw-r--r--tests/006-rpminfo-errors.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/006-rpminfo-errors.phpt b/tests/006-rpminfo-errors.phpt
index edacbdb..5d205d7 100644
--- a/tests/006-rpminfo-errors.phpt
+++ b/tests/006-rpminfo-errors.phpt
@@ -21,15 +21,15 @@ Done
+ PHP Warnings
Warning: rpminfo(): Can't open '%s/tests/missing.rpm': No such file or directory in %s on line %d
-bool(false)
+NULL
Warning: rpminfo(): Can't read '%s/tests/006-rpminfo-errors.php': Argument is not a RPM file in %s on line %d
-bool(false)
+NULL
+ PHP Warnings
-bool(false)
+NULL
string(%d) "Can't open '%s/tests/missing.rpm': No such file or directory"
-bool(false)
+NULL
string(%d) "Can't read '%s/tests/006-rpminfo-errors.php': Argument is not a RPM file"
bool(true)
NULL