add strict param to function calls
minor #600 add strict param to function calls (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

add strict param to function calls

Commits
-------

50fc8a6 add strict param to function calls
Fix dynamically instantiated objects when using newWithBracesFilter.
bug #568 Fix dynamically instantiated objects when using newWithBracesFilter. (wjaspers)

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

Discussion
----------

Fix dynamically instantiated objects when using newWithBracesFilter.

As the test data demonstrates, a dynamically instantiated class would have been incorrectly 'fixed'.

`return new $someObj['class']($someArg['thing']);`
would become
`return new $someObj['class'()]($someArg['thing']);`
which is invalid PHP.

the same applied when no constructor arguments were provided.

Commits
-------

6b6f33c Fix dynamically instantiated objects when using newWithBracesFilter.
add StrictParamFixer
feature #601 add StrictParamFixer (keradus)

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

Discussion
----------

add StrictParamFixer

Functions should be used with $strict param.
Warning! This could change code behavior.

Commits
-------

978942c add StrictParamFixer
IncludeFixer - fix 'undefined index: open' error
ensure extra space after comma for chopped array
bug #608 IncludeFixer - fix 'undefined index: open' error (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

IncludeFixer - fix 'undefined index: open' error

IncludeFixer - fix 'undefined index: open' error on fixing:
```php
<?php require_once( SOME_CONST . "file.php" ); require Foo::Bar($baz);
```

Simplify IncludeFixer::findIncludies by the way...

Commits
-------

e857f33 IncludeFixer - fix 'undefined index: open' error
bug #606 [Fix] ensure extra space after comma for chopped array (sstok)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

[Fix] ensure extra space after comma for chopped array

|Q            |A   |
|---          |--- |
|Bug Fix?     |yes |
|New Feature? |n   |
|BC Breaks?   |n   |
|Deprecations?|n   |
|Tests Pass?  |yes |
|Fixed Tickets|#604|
|License      |MIT |
|Doc PR       |    |

Commits
-------

c5d1295 ensure extra space after comma for chopped array
Fix ConcatWithoutSpacesFixer's concat near number
bug #615 Fix ConcatWithoutSpacesFixer's concat near number (fkooman)

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

Discussion
----------

Fix ConcatWithoutSpacesFixer's concat near number

check whether or not the token before and after the concat symbol '.' is a number before removing the whitespace.

Commits
-------

794bdc2 Fix ConcatWithoutSpacesFixer's concat near number
simplify ConcatWithoutSpacesFixer tests
Fix file in try catch
minor #613 Fix file in try catch (keradus)

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

Discussion
----------

Fix file in try catch

If any fixer failed to fix sth - e.g. crush on some edge cases and try to access non-existing index of Tokens - then whole tool will crush.
After this it will only ignore that one file.

How do you think?

It would be great to also create a report for it to paste on gh issue - if this PR will meet positive reaction then I will create PR for reporting.

Commits
-------

865b2b0 Fix file in try catch
minor #616 simplify ConcatWithoutSpacesFixer tests (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

simplify ConcatWithoutSpacesFixer tests

Commits
-------

8a51087 simplify ConcatWithoutSpacesFixer tests
UnusedUseFixer - fix index out of range when use is last statement
bug #619 UnusedUseFixer - fix index out of range when use is last statement (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

UnusedUseFixer - fix index out of range when use is last statement

UnusedUseFixer - fix index out of range when use is last statement

Commits
-------

54f48f1 UnusedUseFixer - fix index out of range when use is last statement