You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/09/23 14:19:53 UTC

[GitHub] junichi11 edited a comment on issue #896: [NETBEANS-1276] PHPStan Support

junichi11 edited a comment on issue #896: [NETBEANS-1276] PHPStan Support
URL: https://github.com/apache/incubator-netbeans/pull/896#issuecomment-423819273
 
 
   @tmysik 
   
   > if the scope is other then a project (or a project directory), use PHPStan to ask for dependent files and add them to the files to be analuyzed.  That should be possible I hope, right?
   
   Maybe it's possible if my understanding is correct. 
   
   - `dump-deps` command returns dependent files list for the file
   - NetBeans runs `phpstan analyse` command for each returned file(or add them as parameters for the command)
   
   like this?
   
   > Or, if we can, just do not allow to analyze individual files using PHPStan (no idea whether it is supported by the `php.code.analysis` API/SPI).
   
   Umm, I'm not sure whether it is possible... As you wrote, I suppose that we can show a warning at least.
   
   @ondrejmirtes 
    > PHPStan will know “this file has changed, so you need to analyze these 10 files
   
   PHPStan knows those files. So, Is it possible to add them automatically in PHPStan side, then output the results? (e.g. add an option for it to analyse command)
   
   Thanks.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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