Short tag fix for #303, second approach.
bug #415 Short tag fix for #303, second approach. (keradus)

This PR was squashed before being merged into the 0.5.x-dev branch (closes #415).

Discussion
----------

Short tag fix for #303, second approach.

Included new test case and rewrite fix method in ShortTagFixer to use Tokens.
This time no short_open_tag option is needed.

Commits
-------

5e5e630 Short tag fix for #303, second approach.
Fix bug in \Symfony\CS\Tokens::getClassyElements
bug #418 Fix bug in \Symfony\CS\Tokens::getClassyElements (max-voloshin)

This PR was squashed before being merged into the 0.5.x-dev branch (closes #418).

Discussion
----------

Fix bug in \Symfony\CS\Tokens::getClassyElements

I have noticed that ``visibility`` fixer transforms code

```php
<?php
class Foo
{
    public function bar()
    {
        $a = 5;

        return " ({$a})";
    }
    public function baz($data)
    {
    }
}
```
to

```php
<?php
class Foo
{
    public function bar()
    {
        $a = 5;

        return " ({$a})";
    }
    public function baz(public $data)
    {
    }
}
```

This PR is fixing this behavior.

I also have added ``\Symfony\CS\Token::getName`` method, which is not used now, but it is useful for development purposes at least.

Commits
-------

beae516 Fix bug in \Symfony\CS\Tokens::getClassyElements
fixed CS
Add PHP version check and some feedback to the user, list requirements in readme
minor #417 Add PHP version check and some feedback to the user, list requirements in readme (1emming)

This PR was squashed before being merged into the 0.5.x-dev branch (closes #417).

Discussion
----------

Add PHP version check and some feedback to the user, list requirements in readme

The requirement for PHP 5.3.6 can only be seen in the composer file.
This isn't very handy for users that work with the `.phar` file. Running PHP-CS-Fixer with a lower version of PHP sometimes results in the cryptic `segmentation fault`. I think it will be more user friendly to tell them upfront it is not going to work.

Commits
-------

b18d612 Add PHP version check and some feedback to the user, list requirements in readme
fixed CS