Skip to content

Commit 58e4526

Browse files
committed
Rename phpstan.neon -> phpstan.dist.neon
Per https://phpstan.org/config-reference#config-file: > The usual practice is to have `phpstan.neon.dist` or `phpstan.dist.neon` > under version control, and allow the user to override certain settings > in their environment (on their own computer or on a continuous > integration server) by creating `phpstan.neon` that’s present in > `.gitignore` file. I picked `phpstan.dist.neon` for consistency with `.php-cs-fixer.dist.php` config (dependabot#5691). I didn't add the file to `.gitignore` because I actually want to know if there starts being a new file under that name and see it in git...
1 parent cb5df00 commit 58e4526

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

composer/helpers/v1/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cp -r \
1717
"$helpers_dir/.php-cs-fixer.dist.php" \
1818
"$helpers_dir/composer.json" \
1919
"$helpers_dir/composer.lock" \
20-
"$helpers_dir/phpstan.neon" \
20+
"$helpers_dir/phpstan.dist.neon" \
2121
"$install_dir"
2222

2323
cd "$install_dir"
File renamed without changes.

composer/helpers/v2/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cp -r \
1717
"$helpers_dir/.php-cs-fixer.php" \
1818
"$helpers_dir/composer.json" \
1919
"$helpers_dir/composer.lock" \
20-
"$helpers_dir/phpstan.neon" \
20+
"$helpers_dir/phpstan.dist.neon" \
2121
"$install_dir"
2222

2323
cd "$install_dir"
File renamed without changes.

0 commit comments

Comments
 (0)