Commit graph

55 commits

Author SHA1 Message Date
d7911cccee
BUGFIX: Keep line ending for inline comments
* As test showed, line ending was removed for inline comments "//".
* This line ending is now kept.
* Test does not fail anymore.

Relates: #46, #3
2017-04-06 11:57:00 +02:00
a78d94ab13
WIP|FEATURE: Add further tests
* Add new tests and improve existing

Relates: #46
2017-04-06 11:44:15 +02:00
b23ee6ef8b
TASK: Improve tests
* Allow phpcbf / diff to be optional, as not all tests are fixable.
* Provide more information in case of error.
* Provide phpunit dist to run phpunit without anything special.

Relates: #46
2017-04-06 11:14:32 +02:00
7c35998c62
FEATURE: Also enable testing phpcbf
* Add diff to test actual fixes.

Relates: #46
2017-04-06 10:55:17 +02:00
1b309bd709
WIP|FEATURE: First working test
* Parses fixtures to auto run tests for sniffs.
* Compares actual result for fixture input against expected result from
  fixture.

Relates: #46
2017-04-06 10:39:24 +02:00