Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Highlighting:
      Hide

      The method name without its pararameters

      • Router::scope
      • Router::connect
      • Router::plugin
      • Router::prefix
      Show
      The method name without its pararameters Router::scope Router::connect Router::plugin Router::prefix
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Questionable Code Example

      CakePHP

      use Cake\Routing\Router;
      
      Router::scope('/', function ($routes) { // Questionable
          // ...
      });
      
      Router::connect('/', ['controller' => 'MyController', 'action' => 'index']); // Questionable
      
      Router::plugin('MyPlugin', function ($routes) { // Questionable
          // ...
      });
      
      Router::prefix('admin', function ($routes) { // Questionable
          // ...
      });
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nicolas.harraudeau Nicolas Harraudeau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: