@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. [ Full content available at: https://github.com/apache/incubator-netbeans/pull/896 ] This message was relayed via gitbox.apache.org for [email protected]
