Commit 7939aca5 authored by Hendrik Heneke's avatar Hendrik Heneke
Browse files

Switched to contao-bundle.

parent f9945472
Pipeline #364 passed with stage
in 1 minute and 10 seconds
{ {
"name": "hhit/config-generator-bundle", "name": "hhit/config-generator-bundle",
"type": "library", "type": "contao-bundle",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{"name": "Hendrik Heneke", "email": "heneke@gmail.com"} {"name": "Hendrik Heneke", "email": "heneke@gmail.com"}
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"ext-json": "*", "ext-json": "*",
"contao/core-bundle": "4.*",
"paragonie/sodium_compat": "^1.14", "paragonie/sodium_compat": "^1.14",
"symfony/framework-bundle": "4.4.* || 5.2.*", "symfony/framework-bundle": "4.4.* || 5.2.*",
"symfony/console": "4.4.* || 5.2.*", "symfony/console": "4.4.* || 5.2.*",
...@@ -20,9 +21,13 @@ ...@@ -20,9 +21,13 @@
"zordius/lightncandy": "^1.2" "zordius/lightncandy": "^1.2"
}, },
"require-dev": { "require-dev": {
"contao/manager-plugin": "^2.0",
"friendsofphp/php-cs-fixer": "^2.16", "friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": "^9.5" "phpunit/phpunit": "^9.5"
}, },
"conflict": {
"contao/manager-plugin": "<2.0 || >=3.0"
},
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,
"preferred-install": { "preferred-install": {
...@@ -43,7 +48,8 @@ ...@@ -43,7 +48,8 @@
"extra": { "extra": {
"symfony": { "symfony": {
"require": "4.4.* || 5.2.*" "require": "4.4.* || 5.2.*"
} },
"contao-manager-plugin": "HHIT\\ConfigGeneratorBundle\\ContaoManager\\ConfigGeneratorPlugin"
}, },
"bin": [ "bin": [
"bin/cfgen" "bin/cfgen"
......
This diff is collapsed.
<?php
declare(strict_types=1);
namespace HHIT\ConfigGeneratorBundle\ContaoManager;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use HHIT\ConfigGeneratorBundle\ConfigGeneratorBundle;
class ConfigGeneratorPlugin implements BundlePluginInterface
{
public function getBundles(ParserInterface $parser)
{
return [BundleConfig::create(ConfigGeneratorBundle::class)];
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment