Просмотр поста

.
reaper

Охренеть. php-cs-fixer научился точки в комментах расставлять.

1) Vermillion/Http/Routing/Collection.php
      ---------- begin diff ----------
      --- Original
      +++ New
      @@ @@
           /**
      -     * List of required keys for route
      +     * List of required keys for route.
      
      @@ @@
           /**
      -     * Returns data for FastRoute dispatcher
      +     * Returns data for FastRoute dispatcher.
      
      @@ @@
           /**
      -     * Returns list of routes
      +     * Returns list of routes.
      
      @@ @@
           /**
      -     * Creates data for FastRoute dispatcher
      +     * Creates data for FastRoute dispatcher.
      
      @@ @@
           /**
      -     * Validates list of routes
      +     * Validates list of routes.
            *
            * @param array $routes
            */
           private function setRoutes(array $routes)
           {
               foreach ($routes as $name => $route) {
                   if (!is_array($route)) {
                       throw new \LogicException(sprintf(
                           'Unable to add a route. Expects array, %s given',
                           gettype($route)
                       ));
                   }
                   $missing = array_diff(self::REQUIRED_KEYS, array_keys($route));
                   if (count($missing) > 0) {
                       throw new \LogicException(sprintf(
                           'Unable add a route. The following keys are missing: %s',
                           implode(', ', $missing)
                       ));
                   }
                   $this->routes[$name] = $route;
               }
           }
       }
       
      
      ---------- end diff ----------

Fixed all files in 4.241 seconds, 6.500 MB memory used