src/Fixer/Basic/Psr0Fixer.php
public function getDefinition()
    {
        return new FixerDefinition(
            'Classes must be in a path that matches their namespace, be at least one namespace deep and the class name should match the file name.',
            [
                new FileSpecificCodeSample(
                    '<?php
namespace PhpCsFixer\FIXER\Basic;
class InvalidName {}
',
                    new \SplFileInfo(__FILE__)
                ),
                new FileSpecificCodeSample(
                    '<?php
namespace PhpCsFixer\FIXER\Basic;
class InvalidName {}
',
                    new \SplFileInfo(__FILE__),
                    ['dir' => realpath(__DIR__.'/../..')]
                ),
            ],
            null,
            'This fixer may change your class name, which will break the code that is depended on old name.'
        );
    }
public function getDefinition()
    {
        return new FixerDefinition(
            'Classes must be in a path that matches their namespace, be at least one namespace deep and the class name should match the file name.',
            [
                new FileSpecificCodeSample(
                    '<?php
namespace PhpCsFixer\FIXER\Basic;
class InvalidName {}
',
                    new \SplFileInfo(__FILE__)
                ),
                new FileSpecificCodeSample(
                    '<?php
namespace PhpCsFixer\FIXER\Basic;
class InvalidName {}
',
                    new \SplFileInfo(__FILE__),
                    ['dir' => realpath(__DIR__.'/../..')]
                ),
            ],
            null,
            'This fixer may change your class name, which will break the code that is depended on old name.'
        );
    }
public function getDefinition ( ) { return new FixerDefinition ( 'Classes must be in a path that matches their namespace, be at least one namespace deep and the class name should match the file name.' , [ new FileSpecificCodeSample ( '<?php
namespace PhpCsFixer\FIXER\Basic;
class InvalidName {}
' , new \ SplFileInfo ( __FILE__ ) ) , new FileSpecificCodeSample ( '<?php
namespace PhpCsFixer\FIXER\Basic;
class InvalidName {}
' , new \ SplFileInfo ( __FILE__ ) , [ 'dir' => realpath ( __DIR__ . '/../..' ) ] ) , ] , null , 'This fixer may change your class name, which will break the code that is depended on old name.' ) ; }
{@inheritdoc}
{