Skip to content

Commit 4570913

Browse files
committed
Add phpstan.dist.neon to phpstan-get-config-file
1 parent 02bb760 commit 4570913

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ All notable changes of the phpactor.el are documented in this file using the [Ke
77
### Added
88

99
* Add `phpstan-analyze-this-file` command
10+
* Add `phpstan.dist.neon` to `phpstan-get-config-file` as PHPStan config files.

phpstan.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ NIL
237237
phpstan-config-file)
238238
(let ((working-directory (phpstan-get-working-dir)))
239239
(when working-directory
240-
(cl-loop for name in '("phpstan.neon" "phpstan.neon.dist")
241-
for dir = (locate-dominating-file working-directory name)
240+
(cl-loop for name in '("phpstan.neon" "phpstan.neon.dist" "phpstan.dist.neon")
241+
for dir = (locate-dominating-file working-directory name)
242242
if dir
243243
return (expand-file-name name dir))))))
244244

0 commit comments

Comments
 (0)