This refactor includes these scaring changes:
- avoid id( new A() )->b() and adopt ( new A() )->b() - since PHP 5.4
- avoid id( $a->b() )->c() and adopt just $a->b()->c() - since PHP 5.4
- avoid dirname(__FILE__) and adopt __DIR__ - since PHP 5.3
- avoid $foo ? $foo : $default and adopt $foo ?: $default - since PHP 5.3
To better understand and comment these old PHP features, see:
Note that all directories like /__tests__/ were skipped.