Post increment the file counter so the results start at 1 and not 2
Removed extra whitespace
merged branch benmatselby/post-increment (PR #52)

Commits
-------

f5a237b Post increment the file counter so the results start at 1 and not 2

Discussion
----------

Post increment the file counter so the results start at 1 and not 2

---------------------------------------------------------------------------

by umpirsky at 2012-05-24T19:44:38Z

We are developers, i should start from 0 :)

---------------------------------------------------------------------------

by benmatselby at 2012-05-24T19:46:29Z

Happy to start at 0, was trying to be in keeping with what was there really. You want me to change to 0?

---------------------------------------------------------------------------

by umpirsky at 2012-05-24T19:48:38Z

No, you are absolutely right, you kept existing logic.
merged branch elliot/patch-1 (PR #54)

Commits
-------

fa3c73e Removed extra whitespace

Discussion
----------

Removed extra whitespace

---------------------------------------------------------------------------

by elliot at 2012-05-24T23:51:14Z

Smallest contribution ever haha
Remove "#!/usr/bin/env php" from stdout
merged branch Maks3w/remove-shebang-before-compile (PR #67)

Commits
-------

a86ef6c Remove "#!/usr/bin/env php" from stdout

Discussion
----------

Remove "#!/usr/bin/env php" from stdout

Remove the shebang of php-cs-fixer before adding the file to the PHAR.

It's causing that the shebang is displayed in the stdout when the PHAR file is used.
Add failing test: if nowdoc contains { } or 1 the regex fails to match and strips extra lines
Fix ExtraEmptyLinesFixer regex for nowdocs and small cleanup of to_fix group
Fix segfault
merged branch Seldaek/extralines (PR #68)

Commits
-------

d881a84 Fix segfault
f22dfc0 Fix ExtraEmptyLinesFixer regex for nowdocs and small cleanup of to_fix group
5102b4a Add failing test: if nowdoc contains { } or 1 the regex fails to match and strips extra lines

Discussion
----------

ExtraEmptyLinesFixer bugfix

There was an issue in heredocs/nowdocs containing {, } or 1. The regex wouldn't match and they weren't safe anymore.

/cc @adrienbrault

---------------------------------------------------------------------------

by Seldaek at 2012-05-28T14:14:14Z

Meh. Seems like this is segfaulting again (not in the tests, but when running it on some code..)

---------------------------------------------------------------------------

by Seldaek at 2012-05-28T14:37:40Z

Ok. Seems to work fine for me now. Please test it on some large codebase before merging though.

---------------------------------------------------------------------------

by adrienbrault at 2012-05-28T14:50:24Z

No segfault over here
Added PHP Closing Tag fixer.
merged branch jakzal/PhpClosingTagFixer (PR #62)

Commits
-------

12a7b3f Added PHP Closing Tag fixer.

Discussion
----------

Added PHP Closing Tag fixer.

Fixes #59.

---------------------------------------------------------------------------

by fabpot at 2012-05-27T07:14:20Z

I would at least try to exclude templates written in PHP by only removing the closing tag when the file actually starts with `<?php`

---------------------------------------------------------------------------

by jakzal at 2012-05-28T07:47:00Z

I've added the check now. I also updated the README file.

---------------------------------------------------------------------------

by fabpot at 2012-05-29T06:20:44Z

Can you revert the change on the README as it is auto-generated. Then, can you squash your commits? Thanks.

---------------------------------------------------------------------------

by jakzal at 2012-05-29T06:32:53Z

Done.
updated README
fixed regex (closes #70)
Add selfupdate command
abstract methods don't have bodies
Added tests for ReturnStatementsFixer.
Implemented include fixer.
Include fixer v2.
Fixed return; case.