[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-25 Thread Junichi Yamamoto (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16664587#comment-16664587
 ] 

Junichi Yamamoto commented on NETBEANS-1507:


Sorry, this is my fault. My configuration is not set properly.
Thanks a lot for catching this!

> PHPStan emty inspector Window
> -
>
> Key: NETBEANS-1507
> URL: https://issues.apache.org/jira/browse/NETBEANS-1507
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Cyril VERLOOP
>Assignee: Junichi Yamamoto
>Priority: Blocker
> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-24 Thread Junichi Yamamoto (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16662890#comment-16662890
 ] 

Junichi Yamamoto commented on NETBEANS-1507:


It's reproducible. Thank you!

I'll investigate and fix it.

> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-24 Thread Cyril VERLOOP (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-24 Thread Junichi Yamamoto (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16661763#comment-16661763
 ] 

Junichi Yamamoto commented on NETBEANS-1507:


Sorry, I'm not sure what you expect yet. Could you write your exact steps, 
actual results, and expected results?

Are there phpstan.neon file?

e.g. 
 # Unzip php-inspect.zip
 # Create a php project with an existing source(php-inspect)
 # composer install
 # set phpstan path to Options
 # ...

 

> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-23 Thread Cyril VERLOOP (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16660752#comment-16660752
 ] 

Cyril VERLOOP commented on NETBEANS-1507:
-

After some digging, it seems the problem appears when you inspect more than one 
file and PHPStan finds at least one error.
The following cases don't throw any exception :
* when there is no error to be reported (even with many files);
* when there is only one file to inspect with or without error.

You'll find a simple project to reproduce the case : [^phpstan-inspect.zip].


> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-22 Thread Junichi Yamamoto (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16659251#comment-16659251
 ] 

Junichi Yamamoto commented on NETBEANS-1507:


It would be nice if you can create a sample PHP project to reproduce it, then 
attach it here as a zip file.

> 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
>
>
> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-22 Thread Junichi Yamamoto (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16659243#comment-16659243
 ] 

Junichi Yamamoto commented on NETBEANS-1507:


OK. Thanks.

Can you write an example of a file name path(`` e.g. PHPStanSupport/HelloWorld.php) of 
the XML and a directory path(e.g. /home/username/PHPStanSupport) you inspect?

> 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
>
>
> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-1507) PHPStan emty inspector Window

2018-10-22 Thread Junichi Yamamoto (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16659069#comment-16659069
 ] 

Junichi Yamamoto commented on NETBEANS-1507:


It would be helpful if you can provide the XML report, but you may not able to 
do it.

So, can you find other than the following pattern in your XML report?

{code:xml}

  
  

{code}

Thanks.


> 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
>
>
> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists