diff --git a/tests/phpt/array/028_explode_error.php b/tests/phpt/array/028_explode_error.php index d6e3f1e41b..3572e1509c 100644 --- a/tests/phpt/array/028_explode_error.php +++ b/tests/phpt/array/028_explode_error.php @@ -1,4 +1,4 @@ -@kphp_should_fail k2_skip +@kphp_should_fail /isset, !==, ===, is_array or similar function result may differ from PHP/ /ExprNode explode\[\.\] at 028_explode_error\.php:7/ / /\$class_name::sf\(\);/ /Too few arguments in call to A::sf\(\), expected 1, have 0/ diff --git a/tests/phpt/by_name/107_by_name_wrong_tinf.php b/tests/phpt/by_name/107_by_name_wrong_tinf.php index 9759be538a..650f883493 100644 --- a/tests/phpt/by_name/107_by_name_wrong_tinf.php +++ b/tests/phpt/by_name/107_by_name_wrong_tinf.php @@ -1,4 +1,4 @@ -@kphp_should_fail k2_skip +@kphp_should_fail KPHP_SHOW_ALL_TYPE_ERRORS=1 /in callByName/ /pass string to argument \$a of A::sf/ diff --git a/tests/phpt/cl/001_base_class.php b/tests/phpt/cl/001_base_class.php index 092107f95e..3ea87267b5 100644 --- a/tests/phpt/cl/001_base_class.php +++ b/tests/phpt/cl/001_base_class.php @@ -1,4 +1,4 @@ -@ok k2_skip +@ok resum -> resum2 -> callurl@has-curl/ array()), 'foo', array ('bar[' => array()), array ('bar[' => array())); $query = http_build_query ($array); diff --git a/tests/phpt/dl/485_str_pad.php b/tests/phpt/dl/485_str_pad.php index 9c67b03de9..7ac6707bd4 100644 --- a/tests/phpt/dl/485_str_pad.php +++ b/tests/phpt/dl/485_str_pad.php @@ -1,4 +1,4 @@ -@ok k2_skip +@ok =0 and < than 127/ /kphp-serialized-field\(128\) must be >=0 and < than 127/ \) can be replaced with array_merge_into\(\$x, <...>\)/ diff --git a/tests/phpt/performance_inspections/14_warn_tag_for_interface.php b/tests/phpt/performance_inspections/14_warn_tag_for_interface.php index 0d75c15343..b39d3204bf 100644 --- a/tests/phpt/performance_inspections/14_warn_tag_for_interface.php +++ b/tests/phpt/performance_inspections/14_warn_tag_for_interface.php @@ -1,4 +1,4 @@ -@kphp_should_warn k2_skip +@kphp_should_warn /variable \$y1 can be reserved with array_reserve functions family out of loop/ /Performance inspection 'array\-reserve' enabled by: TestInterface::interface_function \-> TestInterfaceImpl1::interface_function/ /expression \$x = array_merge\(\$x, <...>\) can be replaced with array_merge_into\(\$x, <...>\)/ diff --git a/tests/phpt/performance_inspections/5_array_merge_into_warn.php b/tests/phpt/performance_inspections/5_array_merge_into_warn.php index 84bf9b1389..6eb3cc1b65 100644 --- a/tests/phpt/performance_inspections/5_array_merge_into_warn.php +++ b/tests/phpt/performance_inspections/5_array_merge_into_warn.php @@ -1,4 +1,4 @@ -@kphp_should_warn k2_skip +@kphp_should_warn /expression \$x = array_merge\(\$x, <...>\) can be replaced with array_merge_into\(\$x, <...>\)/ /expression \$y\['hello'\] = array_merge\(\$y\['hello'\], <...>\) can be replaced with array_merge_into\(\$y\['hello'\], <...>\)/ /expression \$z\['x'\]\[\$y\['hello'\]\[0\]\] = array_merge\(\$z\['x'\]\[\$y\['hello'\]\[0\]\], <...>\) can be replaced with array_merge_into\(\$z\['x'\]\[\$y\['hello'\]\[0\]\], <...>\)/ diff --git a/tests/phpt/performance_inspections/6_array_merge_into_no_warn.php b/tests/phpt/performance_inspections/6_array_merge_into_no_warn.php index 43c42e5c9e..1a271de2d6 100644 --- a/tests/phpt/performance_inspections/6_array_merge_into_no_warn.php +++ b/tests/phpt/performance_inspections/6_array_merge_into_no_warn.php @@ -1,4 +1,4 @@ -@ok k2_skip +@ok KPHP_ERROR_ON_WARNINGS=1