]> Raphaël G. Git Repositories - packbundle/commitdiff
Cleanup
authorRaphaël Gertz <git@rapsys.eu>
Tue, 26 Mar 2024 18:01:54 +0000 (19:01 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 26 Mar 2024 18:01:54 +0000 (19:01 +0100)
Command.php
Command/RangeCommand.php
Controller/ImageController.php
Controller/MapController.php
DependencyInjection/Configuration.php
DependencyInjection/RapsysPackExtension.php
Extension/PackExtension.php
Package/PathPackage.php
Parser/TokenParser.php
RapsysPackBundle.php

index 51fbb300b33e4d3c06925246d71920fa74506ff2..0097d1246ebdde9e6a6ea9d870ca85f8e5f426b9 100644 (file)
 
 namespace Rapsys\PackBundle;
 
+use Rapsys\PackBundle\RapsysPackBundle;
+
 use Symfony\Component\Console\Command\Command as BaseCommand;
 use Symfony\Component\DependencyInjection\Container;
 
-use Rapsys\PackBundle\RapsysPackBundle;
-
 /**
  * {@inheritdoc}
  */
@@ -23,7 +23,7 @@ class Command extends BaseCommand {
        /**
         * {@inheritdoc}
         */
-    public function __construct(protected ?string $name = null) {
+       public function __construct(protected ?string $name = null) {
                //Fix name
                $this->name = $this->name ?? static::getName();
 
index b5586de0d6c4de8256c7794c6dff842140912e3a..7c3270da39acc14817c41798d4a84a0320a58a0b 100644 (file)
 
 namespace Rapsys\PackBundle\Command;
 
+use Rapsys\PackBundle\Command;
+
 use Symfony\Component\Console\Input\InputArgument;
 use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
-use Rapsys\PackBundle\Command;
-
 /**
  * {@inheritdoc}
  *
index 36270bac2188c25c05efe7dbbd51ea229741b1de..13865a7ebda4776b94825f6b523665d268f322db 100644 (file)
 
 namespace Rapsys\PackBundle\Controller;
 
+use Rapsys\PackBundle\Util\ImageUtil;
+use Rapsys\PackBundle\Util\SluggerUtil;
+
 use Psr\Container\ContainerInterface;
 
-use Symfony\Component\HttpFoundation\HeaderUtils;
 use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
 use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
 use Symfony\Component\Filesystem\Filesystem;
 use Symfony\Component\HttpFoundation\BinaryFileResponse;
+use Symfony\Component\HttpFoundation\HeaderUtils;
 use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
 use Symfony\Component\Routing\RequestContext;
 use Symfony\Contracts\Service\ServiceSubscriberInterface;
 
-use Rapsys\PackBundle\Util\ImageUtil;
-use Rapsys\PackBundle\Util\SluggerUtil;
-
 /**
  * {@inheritdoc}
  */
index 255c47b868453d5bc8c78b545478278aafdabefd..8d38aa644fa2a7236ad29706c52244ced22b1dcd 100644 (file)
 
 namespace Rapsys\PackBundle\Controller;
 
+use Rapsys\PackBundle\Util\MapUtil;
+use Rapsys\PackBundle\Util\SluggerUtil;
+
 use Psr\Container\ContainerInterface;
 
-use Symfony\Component\HttpFoundation\HeaderUtils;
 use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
 use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
 use Symfony\Component\Filesystem\Filesystem;
 use Symfony\Component\HttpFoundation\BinaryFileResponse;
+use Symfony\Component\HttpFoundation\HeaderUtils;
 use Symfony\Component\HttpFoundation\Request;
 use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
 use Symfony\Component\Routing\RequestContext;
 use Symfony\Contracts\Service\ServiceSubscriberInterface;
 
-use Rapsys\PackBundle\Util\MapUtil;
-use Rapsys\PackBundle\Util\SluggerUtil;
-
 /**
  * {@inheritdoc}
  */
index e34da5bc3de204244bd7dcb7b88f15bb6a9914b1..60b68b6ecee1cb99749c3d7559db583bf49966e3 100644 (file)
 
 namespace Rapsys\PackBundle\DependencyInjection;
 
+use Rapsys\PackBundle\RapsysPackBundle;
+
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
 use Symfony\Component\Config\Definition\ConfigurationInterface;
 use Symfony\Component\DependencyInjection\Container;
 use Symfony\Component\Process\ExecutableFinder;
 
-use Rapsys\PackBundle\RapsysPackBundle;
-
 /**
  * {@inheritdoc}
  *
index d6e3c8005cbc06ad3228a10bfcb342bc318c04f4..fc9efcebcb19db954d30711c3c7682d1248af9e4 100644 (file)
 
 namespace Rapsys\PackBundle\DependencyInjection;
 
+use Rapsys\PackBundle\RapsysPackBundle;
+
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Extension\Extension;
 
-use Rapsys\PackBundle\RapsysPackBundle;
-
 /**
  * This is the class that loads and manages your bundle configuration.
  *
index 1234de51955f1a2fea06919e7807063ecb8802ec..71075482791cddec8f6c63ff5b86fdb4400417d6 100644 (file)
 
 namespace Rapsys\PackBundle\Extension;
 
-use Symfony\Component\Asset\PackageInterface;
-use Symfony\Component\HttpKernel\Config\FileLocator;
-
-use Twig\Extension\AbstractExtension;
-
 use Rapsys\PackBundle\Parser\TokenParser;
 use Rapsys\PackBundle\RapsysPackBundle;
 use Rapsys\PackBundle\Util\IntlUtil;
 use Rapsys\PackBundle\Util\SluggerUtil;
 
+use Symfony\Component\Asset\PackageInterface;
+use Symfony\Component\HttpKernel\Config\FileLocator;
+
+use Twig\Extension\AbstractExtension;
+
 /**
  * {@inheritdoc}
  */
index 22ed5ade231a75988da41f46f73bcfa65ca1986d..c53b10fc268c74ef7fc179592db25c2ca2b47709 100644 (file)
 
 namespace Rapsys\PackBundle\Package;
 
+use Rapsys\PackBundle\Context\NullContext;
+
 use Symfony\Component\Asset\Context\ContextInterface;
 use Symfony\Component\Asset\Package;
 use Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface;
 
-use Rapsys\PackBundle\Context\NullContext;
-
 /**
  * {@inheritdoc}
  */
index 0ca3e309dc3cbe3b996073900ca0845d3baebc53..67e87eb52f6bad193e0add9d6b8fc9f1a8aac6d5 100644 (file)
@@ -11,6 +11,8 @@
 
 namespace Rapsys\PackBundle\Parser;
 
+use Rapsys\PackBundle\RapsysPackBundle;
+
 use Symfony\Component\Asset\PackageInterface;
 use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
 use Symfony\Component\Filesystem\Filesystem;
@@ -25,8 +27,6 @@ use Twig\Source;
 use Twig\Token;
 use Twig\TokenParser\AbstractTokenParser;
 
-use Rapsys\PackBundle\RapsysPackBundle;
-
 /**
  * {@inheritdoc}
  */
index 4ad24d40598e0662bf4d36478b67ba202e18287f..49dfdaf5c5329c7e5e13a4cc86902f305a22b8b2 100644 (file)
 
 namespace Rapsys\PackBundle;
 
+use Rapsys\PackBundle\DependencyInjection\RapsysPackExtension;
+
 use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
 use Symfony\Component\HttpKernel\Bundle\Bundle;
 
-use Rapsys\PackBundle\DependencyInjection\RapsysPackExtension;
-
 /**
  * {@inheritdoc}
  */