[
https://issues.apache.org/jira/browse/NETBEANS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665352#comment-16665352
]
Junichi Yamamoto commented on NETBEANS-1564:
--------------------------------------------
Probably, NetBeans recognizes `.phpt` file as php file. The error is shown
because `?>` does not exist before `--EXPECTIF--`.
As workaround:
You can change the mime type for phpt. (treat as a text file)
Tools > Options > Miscellaneous > Files
File Extension: phpt
Associated File Type(MIME): text/plain
!netbeans-1564.png!
Maybe you have to remove the cache to disappear errors.
> Display error in PHPUnit library
> --------------------------------
>
> Key: NETBEANS-1564
> URL: https://issues.apache.org/jira/browse/NETBEANS-1564
> Project: NetBeans
> Issue Type: Bug
> Components: php - PHPUnit
> Reporter: Los Vitaly
> Priority: Major
> Attachments: netbeans-1564.png, phpunit.png
>
>
> Error in PHPUnit library in Laravel project in vendor directory. ND show
> error on
> --EXPECTF--
> but NB understand words like --TEST-- & --FILE--
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists