Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 427 Bytes

sensio_to_symfony_route.md

File metadata and controls

22 lines (17 loc) · 427 Bytes

sensio_to_symfony_route

Configuration examples

$config = PhpCsFixer\Config::create()
    ->setRules([
        'Jsamson/sensio_to_symfony_route' => true,
       
    ])
    ->registerCustomFixers([
        new JSamson\CS\Fixer\Deprecation\SensioToSymfonyRouteFixer,
    ])
;

Fixes

+use Symfony\Component\Routing\Annotation\Route;
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;