Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
The same settings as for phpstan itself.
  • Loading branch information
vhenzl authored and ondrejmirtes committed Sep 24, 2017
1 parent cbcea5d commit 31139ab
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.{php,phpt}]
indent_style = tab
indent_size = 4

[*.xml]
indent_style = tab
indent_size = 4

[*.neon]
indent_style = tab
indent_size = 4

[*.{yaml,yml}]
indent_style = space
indent_size = 2

[composer.json]
indent_style = tab
indent_size = 4

0 comments on commit 31139ab

Please sign in to comment.