1234567891011121314151617181920212223 |
- --TEST--
- Integration of fixers: psr_autoloading,self_accessor.
- --RULESET--
- {"psr_autoloading": true, "self_accessor": true}
- --EXPECT--
- <?php
- class MyClass
- {
- public static function create()
- {
- return new self();
- }
- }
- --INPUT--
- <?php
- class Foo
- {
- public static function create()
- {
- return new MyClass();
- }
- }
|