projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
parser
/
validate006.phpt
diff --git
a/tests/parser/validate006.phpt
b/tests/parser/validate006.phpt
index ab1b02f71661a3d3676e7bceec2fb72cb03c4c6d..d5d20846b7b830c19c7bdc41e09412d9ed3e6a06 100644
(file)
--- a/
tests/parser/validate006.phpt
+++ b/
tests/parser/validate006.phpt
@@
-1,9
+1,5
@@
--TEST--
validate types
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip - need ext/psi");
-?>
--FILE--
===TEST===
<?php
@@
-12,6
+8,4
@@
psi_validate_string("typedef int *(*foo)(int *(*bar)(int baz));");
===DONE===
--EXPECTF--
===TEST===
-
-Warning: PSI syntax error, unexpected ( at col 26 in %s on line 1
===DONE===