[doc] Added a little note on global installation
merged branch lyrixx/doc (PR #79)

Commits
-------

25c74a5 [doc] Added a little note on global installation

Discussion
----------

[doc] Added a little note on global installation

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

by stephpy at 2012-06-13T18:02:17Z

+1
Changed priority of UnusedUseStatementsFixer
merged branch lyrixx/fix (PR #80)

Commits
-------

dffa049 Changed priority of UnusedUseStatementsFixer

Discussion
----------

Changed priority of UnusedUseStatementsFixer

the UnusedUseStatementsFixer should be run before ExtraEmptyLinesFixer:

you can see the problem there : https://github.com/composer/composer/commit/c65acb5d#L4R12
use only one linefeed char at the end of file
merged branch mheleniak/patch-1 (PR #84)

Commits
-------

5bb9a90 use only one linefeed char at the end of file

Discussion
----------

use only one linefeed char at the end of file

Currently two LF chars are not stripped at the end of file.
Added missing attribute in Fixer
merged branch krymen/missing_attribute (PR #85)

Commits
-------

3b3b9de Added missing attribute in Fixer

Discussion
----------

Added missing attribute in Fixer

Added a definition of `configs` attribute in `Fixer`.
Fix spaces under brackets for if statements.
fixed regexp in ControlSpacesFixer
cosmetics
merged branch umpirsky/control-spaces-under-brackets (PR #86)

Commits
-------

00d5366 cosmetics
9bd0f30 fixed regexp in ControlSpacesFixer
ed5ffe0 Fix spaces under brackets for if statements.

Discussion
----------

Control spaces under brackets

Fixes spaces under brackets descrbed in [issue #66](https://github.com/fabpot/PHP-CS-Fixer/issues/66)

Example:

`if( $test ){` -> `if ($test) {`
Add a PSR-0 level
Add a Psr0Fixer for class / file names matching
merged branch Seldaek/psr0 (PR #88)

Commits
-------

45a56ae Add a Psr0Fixer for class / file names matching
f57888f Add a PSR-0 level

Discussion
----------

PSR-0 fixer for mistakes in class names

It fixes bad case, but for the rest it just throws an exception to notify the user, because it's impossible to fix automatically. I don't know if this is ok with the philosophy of tool or not.

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

by stof at 2012-06-20T17:44:20Z

Changing the class name is a bad idea IMO. What if the other parts of the code use the same case than the class name ? They will still trigger it with this case, and so failing on case-sensitive filesystems. the definition of the class is the place where the case could be different without breaking the autoloading.
so a PSR-0 fixer would need to analyze the whole codebase, not only a file.

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

by Seldaek at 2012-06-20T17:47:53Z

Well if they use the wrong case in other parts of the code, the code should already be failing. The point of this anyway is to highlight an error, this is pretty rare that it goes unnoticed, but it happens that it sneaks into some rarely used parts of a library.

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

by stof at 2012-06-20T17:51:58Z

@Seldaek the code would be failing only if the developer is on a case-sensitive filesystem. A common case for such errors is developign on MacOS or Windows, which are case insensitive and breaking things when deploying on Linux.

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

by Seldaek at 2012-06-20T17:54:31Z

Yeah my point is that this will show you that you have an error (I'd hope people check the diff before committing..). Instead of fixing I can also always throw an exception, so you notice it better, and you can go and fix it in other places yourself if you messed up, or rename the file if the filename is incorrect.

I can also change it to just output a warning if the exception is too violent. Up to @fabpot.
fixed README
updated vendors
fixed typo
Ignore tests/stubs/fixtures for PSR0 checks
Stricter matching to avoid false positives