Skip to content

Commit

Permalink
Add an editorconfig (webmozarts#107)
Browse files Browse the repository at this point in the history
* Add an editorconfig
* Fix issues found by editorconfig
  • Loading branch information
BackEndTea authored Jun 24, 2019
1 parent c21b45e commit 08ed54d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset=utf-8
end_of_line=lf
trim_trailing_whitespace=true
insert_final_newline=true
indent_style=space
indent_size=4

[*.yml]
indent_size=2
8 changes: 4 additions & 4 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
preset: symfony

finder:
exclude:
- "tests"
exclude:
- "tests"

enabled:
- ordered_use
- ordered_use

disabled:
- phpdoc_annotation_without_dot # This is still buggy: https://github.com/symfony/symfony/pull/19198
- phpdoc_annotation_without_dot # This is still buggy: https://github.com/symfony/symfony/pull/19198
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Changelog

## 1.3.0 (2018-01-29)

### Added
### Added

* added `Assert::minCount()`
* added `Assert::maxCount()`
Expand Down
2 changes: 1 addition & 1 deletion tests/AssertTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,4 +583,4 @@ public function __toString()
{
return $this->value;
}
}
}

0 comments on commit 08ed54d

Please sign in to comment.