]> Raphaël G. Git Repositories - veranda/commitdiff
Remove useless files
authorRaphaël Gertz <git@rapsys.eu>
Sun, 13 Oct 2024 00:12:42 +0000 (02:12 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 13 Oct 2024 00:12:42 +0000 (02:12 +0200)
bin/console [deleted file]
config/bundles.php [deleted file]
config/preload.php [deleted file]
public/bundles/rapsyspack [deleted symlink]
public/bundles/rapsystree [deleted symlink]

diff --git a/bin/console b/bin/console
deleted file mode 100755 (executable)
index d8d530e..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-use App\Kernel;
-use Symfony\Bundle\FrameworkBundle\Console\Application;
-
-if (!is_dir(dirname(__DIR__).'/vendor')) {
-    throw new LogicException('Dependencies are missing. Try running "composer install".');
-}
-
-if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
-    throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
-}
-
-require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
-
-return function (array $context) {
-    $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
-
-    return new Application($kernel);
-};
diff --git a/config/bundles.php b/config/bundles.php
deleted file mode 100644 (file)
index 9078a5b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-return [
-    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
-    Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
-    Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
-    Rapsys\TreeBundle\RapsysTreeBundle::class => ['all' => true],
-    Rapsys\PackBundle\RapsysPackBundle::class => ['all' => true],
-    Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
-];
diff --git a/config/preload.php b/config/preload.php
deleted file mode 100644 (file)
index 5ebcdb2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
-    require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
-}
diff --git a/public/bundles/rapsyspack b/public/bundles/rapsyspack
deleted file mode 120000 (symlink)
index d375220..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../vendor/rapsys/packbundle/Resources/public/
\ No newline at end of file
diff --git a/public/bundles/rapsystree b/public/bundles/rapsystree
deleted file mode 120000 (symlink)
index ee33cda..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../vendor/rapsys/treebundle/Resources/public/
\ No newline at end of file