Skip to content

Commit

Permalink
Trim trailing whitespace in *.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Oct 14, 2018
1 parent cc7215f commit 17ccbee
Show file tree
Hide file tree
Showing 6,435 changed files with 17,425 additions and 17,434 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion Zend/tests/001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var_dump(func_num_args());

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
int(0)
int(1)
Exception: Too few arguments to function test2(), 0 passed in %s001.php on line 18 and exactly 1 expected
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/002.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var_dump(func_get_arg(1));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d
bool(false)

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var_dump(func_get_args());

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
array(0) {
}
array(1) {
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var_dump(strncmp("qwerty", "qwerty123", 7));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: strncmp() expects exactly 3 parameters, 2 given in %s on line %d
NULL
int(0)
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/005.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var_dump(strcasecmp("01", "01"));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: strcasecmp() expects exactly 2 parameters, 1 given in %s on line %d
NULL
int(0)
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/006.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var_dump(strncasecmp("01", "01", 1000));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: strncasecmp() expects exactly 3 parameters, 1 given in %s on line %d
NULL

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/007.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var_dump(each($a));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: each() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/008.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var_dump(constant("test const"));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: define() expects at least 2 parameters, 0 given in %s on line %d
NULL

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/009.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $f1->testNull();

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Deprecated: Non-static method foo::bar() should not be called statically in %s on line %d
string(3) "foo"

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/010.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var_dump(get_parent_class(1));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
bool(false)
bool(false)
string(3) "foo"
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/011.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $bar->test();

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: property_exists() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var_dump(class_exists("stdClass"));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: class_exists() expects at least 1 parameter, 0 given in %s on line %d
NULL
bool(false)
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/013.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var_dump(interface_exists("stdClass"));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: interface_exists() expects at least 1 parameter, 0 given in %s on line %d
NULL
bool(false)
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/014.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var_dump(get_included_files());

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
array(1) {
[0]=>
string(%d) "%s"
Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/015.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var_dump(trigger_error("error", E_USER_DEPRECATED));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: trigger_error() expects at least 1 parameter, 0 given in %s on line %d
NULL

Expand Down
4 changes: 2 additions & 2 deletions Zend/tests/016.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ isset() with object properties when operating on non-object
--FILE--
<?php

$foo = NULL;
$foo = NULL;
isset($foo->bar->bar);

echo "Done\n";
?>
--EXPECT--
--EXPECT--
Done
2 changes: 1 addition & 1 deletion Zend/tests/017.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var_dump(count(get_extension_funcs("zend")));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: get_resource_type() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/018.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var_dump(constant("TEST_CONST2"));

echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: constant() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Expand Down

0 comments on commit 17ccbee

Please sign in to comment.