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
/
validate002.phpt
diff --git
a/tests/parser/validate002.phpt
b/tests/parser/validate002.phpt
index a8ba6c99ddb4ecf211e9766797eefba6a9472433..3b35d2394b99fb74c18fd032da2b50a8e3b187ef 100644
(file)
--- a/
tests/parser/validate002.phpt
+++ b/
tests/parser/validate002.phpt
@@
-1,9
+1,5
@@
--TEST--
validate types
--TEST--
validate types
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip - need ext/psi");
-?>
--FILE--
===TEST===
<?php
--FILE--
===TEST===
<?php
@@
-12,7
+8,4
@@
psi_validate_string("typedef void foo;");
===DONE===
--EXPECTF--
===TEST===
===DONE===
--EXPECTF--
===TEST===
-
-Warning: PSI syntax error, unexpected ;, expecting %s at col 17 in %s on line 1
===DONE===
===DONE===
---XFAIL--