[
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16661987#comment-16661987
]
Cyril VERLOOP commented on NETBEANS-1507:
-----------------------------------------
My bad, the steps are :
1. unzip php-inspect.zip
2. create a php project with an existing source(php-inspect)
3. composer install
4. set phpstan path to Options, no "phpstan.neon" file required, set level to
7 (max).
=> no files are open in the editor.
Steps for the exception result :
5. select the "src" folder in the "Projects" window.
6. in menu "Source", "Inspect..."
7. scope -> "Current Folder (src)", "use", "Configuration", "Manage".
8. create a new configuration with only "PHPStan" analyzer enabled, no
"phpstan.neon" file required, set level to 7 (max), no memory limit, "OK"
9. click "Inspect"
=> There, NetBeans throws an exception, the "Inspect" dialog box stays open,
progress at 100% and the "Inspect" button is disabled.
The "Output" window contains a "Code Sniffer (standards)" sub-window (i don't
know why) and another with "PHPStan (analyze #1)" with the correct XML result.
The "Inspector" window does not open (or is empty if already opened).
Steps without the exception :
5. select either "Index.php" (containing an error) or "Index2.php" (no error)
6-9. are the same as above except for the file scope
=> With "Index.php", the "Inspector" window opens with the list of errors. The
"Output" window does not contain a "Code Sniffer (standards)" sub-window.
> PHPStan emty inspector Window
> -----------------------------
>
> Key: NETBEANS-1507
> URL: https://issues.apache.org/jira/browse/NETBEANS-1507
> Project: NetBeans
> Issue Type: Bug
> Reporter: Cyril VERLOOP
> Priority: Minor
> Attachments: details.log, phpstan-inspect.zip
>
>
> On build 880, an exception is thrown while inspecting with PHPStan (see
> details.log attached).
> The "Output" window shows the xml report (not really useful to me) and the
> "Inspector" window is now empty.
--
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