This is an automated email from the ASF dual-hosted git repository. junichi11 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new f9e22f8097 PHPStan alternative configuration file new cd760a40fc Merge pull request #3963 from KacerCZ/phpstan-config-file f9e22f8097 is described below commit f9e22f809787ea483b41691be1a2f482d0672de2 Author: Tomas Prochazka <ka...@razdva.cz> AuthorDate: Mon Apr 11 21:23:55 2022 +0200 PHPStan alternative configuration file This change adds `phpstan.dist.neon` to Important files. PHPStan 1.4.7 added `phpstan.dist.neon` as configuration file. https://github.com/phpstan/phpstan/releases/tag/1.4.7 --- .../src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java | 3 ++- .../src/org/netbeans/modules/php/analysis/commands/PHPStan.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java index cb55ec9dce..9b253561bb 100644 --- a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java +++ b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/ImportantFilesImpl.java @@ -41,7 +41,8 @@ public final class ImportantFilesImpl implements ImportantFilesImplementation { CodingStandardsFixer.CONFIG_FILE_NAME_V3, CodingStandardsFixer.DIST_CONFIG_FILE_NAME_V3, PHPStan.CONFIG_FILE_NAME, - PHPStan.DIST_CONFIG_FILE_NAME}; + PHPStan.DIST_CONFIG_FILE_NAME, + PHPStan.ALTERNATIVE_DIST_CONFIG_FILE_NAME}; private final ImportantFilesSupport support; diff --git a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/PHPStan.java b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/PHPStan.java index c5734e875f..c5affcadfe 100644 --- a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/PHPStan.java +++ b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/commands/PHPStan.java @@ -78,6 +78,7 @@ public final class PHPStan { // configuration files public static final String CONFIG_FILE_NAME = "phpstan.neon"; // NOI18N public static final String DIST_CONFIG_FILE_NAME = "phpstan.neon.dist"; // NOI18N + public static final String ALTERNATIVE_DIST_CONFIG_FILE_NAME = "phpstan.dist.neon"; // NOI18N private final String phpStanPath; private int analyzeGroupCounter = 1; --------------------------------------------------------------------- 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