Remove Symfony and ChampsLibres folders

This commit is contained in:
2025-08-27 17:00:49 +02:00
parent 3a85d940e9
commit 5ffa945a84
4 changed files with 0 additions and 75 deletions

View File

@@ -115,8 +115,6 @@
},
"autoload": {
"psr-4": {
"Symfony\\Component\\DependencyInjection\\": "src/Symfony/Component/DependencyInjection",
"ChampsLibres\\WopiBundle\\": "src/ChampsLibres/WopiBundle",
"Chill\\ActivityBundle\\": "src/Bundle/ChillActivityBundle",
"Chill\\AsideActivityBundle\\": "src/Bundle/ChillAsideActivityBundle/src",
"Chill\\BudgetBundle\\": "src/Bundle/ChillBudgetBundle",

View File

@@ -1,37 +0,0 @@
<?php
/**
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
declare(strict_types=1);
namespace ChampsLibres\WopiBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
final class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('wopi');
/** @var \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $rootNode */
$rootNode = $treeBuilder->getRootNode();
/** @phpstan-ignore-next-line */
$rootNode
->children()
->scalarNode('server')->end()
->enumNode('version_management')->values(['version', 'timestamp'])
->info('Manager document versioning through version (Office 365) or last modified time (Collabora Online, CODE, etc.)')
->defaultValue('timestamp')
->end()
->booleanNode('enable_lock')->defaultTrue()->end()
->end();
return $treeBuilder;
}
}

View File

@@ -1,11 +0,0 @@
<?php
namespace App;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
class Kernel extends BaseKernel
{
use MicroKernelTrait;
}

View File

@@ -1,25 +0,0 @@
<?php
namespace Symfony\Component\DependencyInjection;
/**
* ContainerAwareTrait implementation.
*
* This trait is a replacement for the original Symfony ContainerAwareTrait
* which has been removed in newer Symfony versions.
*/
trait ContainerAwareTrait
{
/**
* @var ContainerInterface|null
*/
protected $container;
/**
* Sets the container.
*/
public function setContainer(ContainerInterface $container = null): void
{
$this->container = $container;
}
}