Add a test case for the issue #55
Add lookbehind to visibility fixer

Checks that the character preceeding class|interface|trait is not a $,
as you may have a variable called $class, $interface, or $trait in
non-oop code.
Add test assertion for visibility regex fix

Ensures that non-oop code is left alone, even if it contains varaibles
names $class, $interface, or $trait.
Added support for reference parameters to PhpdocParamsAlignmentFixer
Better ControlSpacesFixer multiline indentation.

Before this fix, ControlSpacesFixer lost the indentation of multiline
if -control statement for outer closing parenthesis.

Before:
        if(true === true
            && false === false
        ) {
Became:
        if (true === true
            && false === false
) {

Now:
        if (true === true
            && false === false
        ) {

Commit also comments the regular expression with inline comment, so it's
easier to understand.

In ControlSpacesFixer::fixControlsWithParenthesesAndSuffixBrace()
(%s)[^\S\n]*\([^\S\n]*([^()]*?|(?R))[^\S\n]*\)[^\S\n]*{
Became:
(%s)[^\S\n]*\([^\S\n]*([^()]*?|(?R))[^\S\n]*(\s*)\)[^\S\n]*{
Fix - trailing spaces after class or alias name
just additional test
Make PSR0Fixer compatible with abstract class

It assumed "class|interface|trait" to be at the beginning of the line, though
classes can have the "abstract" keyword preceed the "class" keyword.
Instead of space, allow any whitespace between 'abstract' and 'class' keywords
merged branch matthiasmullie/master (PR #196)

This PR was merged into the master branch.

Discussion
----------

Make PSR0Fixer compatible with abstract class

It assumed "class|interface|trait" to be at the beginning of the line, though
classes can have the "abstract" keyword preceed the "class" keyword.

Commits
-------

2bacc31 Instead of space, allow any whitespace between 'abstract' and 'class' keywords
c07be99 Make PSR0Fixer compatible with abstract class
fixed grammar (closes #193)
updated the README
--diff option and diff output
merged branch andrewtch/color_diff (PR #192)

This PR was squashed before being merged into the master branch (closes #192).

Discussion
----------

--diff option and diff output

Allows to do --dry-run --verbose --diff to preview changes made in each file.

Example:

```
➜  PHP-CS-Fixer git:(color_diff) ✗ php php-cs-fixer fix --verbose --config=sf21 --dry-run --diff ../testproj
   1) TestProj/Resources/config/services.yml (eof_ending)
---------- begin diff ----------
--- Original
+++ New
@@ @@
             - [ setDoctrine, [ @doctrine ] ]
+

---------- end diff ----------

   2) TestProj/DependencyInjection/Configuration.php (return)
---------- begin diff ----------
--- Original
+++ New
@@ @@
         // more information on that topic.
-
         return $treeBuilder;
     }
 }

---------- end diff ----------

   3) TestProj/Listener/IpListener.php (return, eof_ending)
---------- begin diff ----------
--- Original
+++ New
@@ @@
                 $event->stopPropagation();
+

@@ @@
 }
+

Commits
-------

52c39c3 --diff option and diff output
removed composer.lock from repository
merged branch andrewtch/better_unit_tests (PR #190)

This PR was merged into the master branch.

Discussion
----------

just additional test

Nothing special, just to make sure that namespaces in annotations won't be broken later (like @Template or @Secure or @var array $someVar).

Commits
-------

ab45447 just additional test
merged branch kibao/fix-used_use-trailing-whitespaces (PR #179)

This PR was merged into the master branch.

Discussion
----------

Fix - trailing whitespaces after class or alias name in an use statement

This change fixes following bugs:
- doesn't match an use statement when there're trailing whitespaces after class name
- matches an alias name with trailing whitespaces (when there're whitespaces after alias name) and deletes an alias with use operator even if alias is used

Commits
-------

39c3340 Fix - trailing spaces after class or alias name
merged branch jmalloc/master (PR #159)

This PR was merged into the master branch.

Discussion
----------

Added support for reference parameters to PhpdocParamsAlignmentFixer

A simple addition to the regex to support alignment of pass-by-reference parameters.

Commits
-------

15a9048 Added support for reference parameters to PhpdocParamsAlignmentFixer
merged branch EvanDotPro/hotfix/visibility-lookbehind (PR #138)

This PR was merged into the master branch.

Discussion
----------

Add lookbehind to visibility fixer

Checks that the character preceding class|interface|trait is not a $,
as you may have a variable called $class, $interface, or $trait in
non-oop code.

Example code (public is incorrectly added to the static here):

```php
<?php
return function ($class) {
    static $map;
    if (!$map) {
        $map = include __DIR__ . '/autoload_classmap.php';
    }

    if (!isset($map[$class])) {
        return false;
    }

    return include $map[$class];
};
```

Related to issues #65 -- this is simply a slight improvement of the fix already in place for that issue.

Commits
-------

3e861b1 Add test assertion for visibility regex fix
8a373f2 Add lookbehind to visibility fixer
Complete @param tags