mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°2651 Remove lib test files from index
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'assets' => [
|
||||
'version' => 'SomeVersionScheme',
|
||||
'base_urls' => 'http://cdn.example.com',
|
||||
'version_format' => '%%s?version=%%s',
|
||||
'packages' => [
|
||||
'images_path' => [
|
||||
'base_path' => '/foo',
|
||||
],
|
||||
'images' => [
|
||||
'version' => '1.0.0',
|
||||
'base_urls' => ['http://images1.example.com', 'http://images2.example.com'],
|
||||
],
|
||||
'foo' => [
|
||||
'version' => '1.0.0',
|
||||
'version_format' => '%%s-%%s',
|
||||
],
|
||||
'bar' => [
|
||||
'base_urls' => ['https://bar2.example.com'],
|
||||
],
|
||||
'bar_version_strategy' => [
|
||||
'base_urls' => ['https://bar2.example.com'],
|
||||
'version_strategy' => 'assets.custom_version_strategy',
|
||||
],
|
||||
'json_manifest_strategy' => [
|
||||
'json_manifest_path' => '/path/to/manifest.json',
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'assets' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'assets' => [
|
||||
'version_strategy' => 'assets.custom_version_strategy',
|
||||
'base_urls' => 'http://cdn.example.com',
|
||||
],
|
||||
]);
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'cache' => [
|
||||
'pools' => [
|
||||
'cache.foo' => [
|
||||
'adapter' => 'cache.adapter.apcu',
|
||||
'default_lifetime' => 30,
|
||||
],
|
||||
'cache.bar' => [
|
||||
'adapter' => 'cache.adapter.doctrine',
|
||||
'default_lifetime' => 5,
|
||||
'provider' => 'app.doctrine_cache_provider',
|
||||
],
|
||||
'cache.baz' => [
|
||||
'adapter' => 'cache.adapter.filesystem',
|
||||
'default_lifetime' => 7,
|
||||
],
|
||||
'cache.foobar' => [
|
||||
'adapter' => 'cache.adapter.psr6',
|
||||
'default_lifetime' => 10,
|
||||
'provider' => 'app.cache_pool',
|
||||
],
|
||||
'cache.def' => [
|
||||
'default_lifetime' => 11,
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->setParameter('env(REDIS_URL)', 'redis://paas.com');
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'cache' => [
|
||||
'default_redis_provider' => '%env(REDIS_URL)%',
|
||||
],
|
||||
]);
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'csrf_protection' => true,
|
||||
'form' => true,
|
||||
'session' => [
|
||||
'handler_id' => null,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'csrf_protection' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', []);
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'fragments' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
'esi' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
'ssi' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'esi' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
]);
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'form' => [
|
||||
'csrf_protection' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'secret' => 's3cr3t',
|
||||
'default_locale' => 'fr',
|
||||
'csrf_protection' => true,
|
||||
'form' => [
|
||||
'csrf_protection' => [
|
||||
'field_name' => '_csrf',
|
||||
],
|
||||
],
|
||||
'http_method_override' => false,
|
||||
'esi' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
'ssi' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
'profiler' => [
|
||||
'only_exceptions' => true,
|
||||
'enabled' => false,
|
||||
],
|
||||
'router' => [
|
||||
'resource' => '%kernel.project_dir%/config/routing.xml',
|
||||
'type' => 'xml',
|
||||
],
|
||||
'session' => [
|
||||
'storage_id' => 'session.storage.native',
|
||||
'handler_id' => 'session.handler.native_file',
|
||||
'name' => '_SYMFONY',
|
||||
'cookie_lifetime' => 86400,
|
||||
'cookie_path' => '/',
|
||||
'cookie_domain' => 'example.com',
|
||||
'cookie_secure' => true,
|
||||
'cookie_httponly' => false,
|
||||
'use_cookies' => true,
|
||||
'gc_maxlifetime' => 90000,
|
||||
'gc_divisor' => 108,
|
||||
'gc_probability' => 1,
|
||||
'save_path' => '/path/to/sessions',
|
||||
],
|
||||
'templating' => [
|
||||
'cache' => '/path/to/cache',
|
||||
'engines' => ['php', 'twig'],
|
||||
'loader' => ['loader.foo', 'loader.bar'],
|
||||
'form' => [
|
||||
'resources' => ['theme1', 'theme2'],
|
||||
],
|
||||
'hinclude_default_template' => 'global_hinclude_template',
|
||||
],
|
||||
'assets' => [
|
||||
'version' => 'v1',
|
||||
],
|
||||
'translator' => [
|
||||
'enabled' => true,
|
||||
'fallback' => 'fr',
|
||||
'paths' => ['%kernel.project_dir%/Fixtures/translations'],
|
||||
],
|
||||
'validation' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
'annotations' => [
|
||||
'cache' => 'file',
|
||||
'debug' => true,
|
||||
'file_cache_dir' => '%kernel.cache_dir%/annotations',
|
||||
],
|
||||
'serializer' => [
|
||||
'enabled' => true,
|
||||
'enable_annotations' => true,
|
||||
'name_converter' => 'serializer.name_converter.camel_case_to_snake_case',
|
||||
'circular_reference_handler' => 'my.circular.reference.handler',
|
||||
],
|
||||
'property_info' => true,
|
||||
'ide' => 'file%%link%%format',
|
||||
'request' => [
|
||||
'formats' => [
|
||||
'csv' => [
|
||||
'text/csv',
|
||||
'text/plain',
|
||||
],
|
||||
'pdf' => 'application/pdf',
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'php_errors' => [
|
||||
'log' => false,
|
||||
'throw' => false,
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'php_errors' => [
|
||||
'log' => true,
|
||||
'throw' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'profiler' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'property_access' => [
|
||||
'magic_call' => true,
|
||||
'throw_exception_on_invalid_index' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'property_info' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'request' => [
|
||||
'formats' => [],
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'serializer' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'serializer' => [
|
||||
'enabled' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'serializer' => [
|
||||
'enabled' => true,
|
||||
'cache' => 'foo',
|
||||
],
|
||||
]);
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'annotations' => ['enabled' => true],
|
||||
'serializer' => [
|
||||
'enable_annotations' => true,
|
||||
'mapping' => [
|
||||
'paths' => [
|
||||
'%kernel.project_dir%/Fixtures/TestBundle/Resources/config/serializer_mapping/files',
|
||||
'%kernel.project_dir%/Fixtures/TestBundle/Resources/config/serializer_mapping/serialization.yml',
|
||||
'%kernel.project_dir%/Fixtures/TestBundle/Resources/config/serializer_mapping/serialization.yaml',
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'session' => [
|
||||
'handler_id' => null,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'ssi' => [
|
||||
'enabled' => false,
|
||||
],
|
||||
]);
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'templating' => false,
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'templating' => [
|
||||
'engines' => ['php', 'twig'],
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'assets' => false,
|
||||
'templating' => [
|
||||
'engines' => ['php'],
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'translator' => false,
|
||||
'templating' => [
|
||||
'engines' => ['php'],
|
||||
],
|
||||
]);
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'translator' => true,
|
||||
'templating' => [
|
||||
'engines' => ['php'],
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'translator' => [
|
||||
'fallbacks' => ['en', 'fr'],
|
||||
],
|
||||
]);
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'secret' => 's3cr3t',
|
||||
'validation' => [
|
||||
'enabled' => true,
|
||||
'enable_annotations' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'validation' => [
|
||||
'mapping' => [
|
||||
'paths' => [
|
||||
'%kernel.project_dir%/Fixtures/TestBundle/Resources/config/validation_mapping/files',
|
||||
'%kernel.project_dir%/Fixtures/TestBundle/Resources/config/validation_mapping/validation.yml',
|
||||
'%kernel.project_dir%/Fixtures/TestBundle/Resources/config/validation_mapping/validation.yaml',
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'secret' => 's3cr3t',
|
||||
'validation' => [
|
||||
'enabled' => true,
|
||||
'static_method' => ['loadFoo', 'loadBar'],
|
||||
],
|
||||
]);
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'secret' => 's3cr3t',
|
||||
'validation' => [
|
||||
'enabled' => true,
|
||||
'static_method' => false,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'validation' => [
|
||||
'strict_email' => true,
|
||||
],
|
||||
]);
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'validation' => [
|
||||
'translation_domain' => 'messages',
|
||||
],
|
||||
]);
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'web_link' => ['enabled' => true],
|
||||
]);
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'my_workflow' => [
|
||||
'marking_store' => [
|
||||
'arguments' => ['a', 'b'],
|
||||
'service' => 'workflow_service',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'places' => [
|
||||
'first',
|
||||
'last',
|
||||
],
|
||||
'transitions' => [
|
||||
'go' => [
|
||||
'from' => [
|
||||
'first',
|
||||
],
|
||||
'to' => [
|
||||
'last',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'article' => [
|
||||
'type' => 'workflow',
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'initial_place' => 'draft',
|
||||
'places' => [
|
||||
'draft',
|
||||
'wait_for_journalist',
|
||||
'approved_by_journalist',
|
||||
'wait_for_spellchecker',
|
||||
'approved_by_spellchecker',
|
||||
'published',
|
||||
],
|
||||
'transitions' => [
|
||||
'request_review' => [
|
||||
'from' => 'draft',
|
||||
'to' => ['wait_for_journalist', 'wait_for_spellchecker'],
|
||||
],
|
||||
'journalist_approval' => [
|
||||
'from' => 'wait_for_journalist',
|
||||
'to' => 'approved_by_journalist',
|
||||
],
|
||||
'spellchecker_approval' => [
|
||||
'from' => 'wait_for_spellchecker',
|
||||
'to' => 'approved_by_spellchecker',
|
||||
],
|
||||
'publish' => [
|
||||
'from' => ['approved_by_journalist', 'approved_by_spellchecker'],
|
||||
'to' => 'published',
|
||||
'guard' => '!!true',
|
||||
],
|
||||
'publish_editor_in_chief' => [
|
||||
'name' => 'publish',
|
||||
'from' => 'draft',
|
||||
'to' => 'published',
|
||||
'guard' => '!!false',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,49 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'article' => [
|
||||
'type' => 'workflow',
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'initial_place' => 'draft',
|
||||
'places' => [
|
||||
'draft',
|
||||
'wait_for_journalist',
|
||||
'approved_by_journalist',
|
||||
'wait_for_spellchecker',
|
||||
'approved_by_spellchecker',
|
||||
'published',
|
||||
],
|
||||
'transitions' => [
|
||||
'request_review' => [
|
||||
'from' => 'draft',
|
||||
'to' => ['wait_for_journalist', 'wait_for_spellchecker'],
|
||||
],
|
||||
'journalist_approval' => [
|
||||
'from' => 'wait_for_journalist',
|
||||
'to' => 'approved_by_journalist',
|
||||
],
|
||||
'spellchecker_approval' => [
|
||||
'from' => 'wait_for_spellchecker',
|
||||
'to' => 'approved_by_spellchecker',
|
||||
],
|
||||
'publish' => [
|
||||
'from' => ['approved_by_journalist', 'approved_by_spellchecker'],
|
||||
'to' => 'published',
|
||||
],
|
||||
'publish_editor_in_chief' => [
|
||||
'name' => 'publish',
|
||||
'from' => 'draft',
|
||||
'to' => 'published',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'my_workflow' => [
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'support_strategy' => 'foobar',
|
||||
'places' => [
|
||||
'first',
|
||||
'last',
|
||||
],
|
||||
'transitions' => [
|
||||
'go' => [
|
||||
'from' => [
|
||||
'first',
|
||||
],
|
||||
'to' => [
|
||||
'last',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'my_workflow' => [
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
'service' => 'workflow_service',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'places' => [
|
||||
'first',
|
||||
'last',
|
||||
],
|
||||
'transitions' => [
|
||||
'go' => [
|
||||
'from' => [
|
||||
'first',
|
||||
],
|
||||
'to' => [
|
||||
'last',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'my_workflow' => [
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
],
|
||||
'places' => [
|
||||
'first',
|
||||
'last',
|
||||
],
|
||||
'transitions' => [
|
||||
'go' => [
|
||||
'from' => [
|
||||
'first',
|
||||
],
|
||||
'to' => [
|
||||
'last',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,111 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'article' => [
|
||||
'type' => 'workflow',
|
||||
'marking_store' => [
|
||||
'type' => 'multiple_state',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'initial_place' => 'draft',
|
||||
'places' => [
|
||||
'draft',
|
||||
'wait_for_journalist',
|
||||
'approved_by_journalist',
|
||||
'wait_for_spellchecker',
|
||||
'approved_by_spellchecker',
|
||||
'published',
|
||||
],
|
||||
'transitions' => [
|
||||
'request_review' => [
|
||||
'from' => 'draft',
|
||||
'to' => ['wait_for_journalist', 'wait_for_spellchecker'],
|
||||
],
|
||||
'journalist_approval' => [
|
||||
'from' => 'wait_for_journalist',
|
||||
'to' => 'approved_by_journalist',
|
||||
],
|
||||
'spellchecker_approval' => [
|
||||
'from' => 'wait_for_spellchecker',
|
||||
'to' => 'approved_by_spellchecker',
|
||||
],
|
||||
'publish' => [
|
||||
'from' => ['approved_by_journalist', 'approved_by_spellchecker'],
|
||||
'to' => 'published',
|
||||
],
|
||||
],
|
||||
],
|
||||
'pull_request' => [
|
||||
'type' => 'state_machine',
|
||||
'marking_store' => [
|
||||
'type' => 'single_state',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'initial_place' => 'start',
|
||||
'places' => [
|
||||
'start',
|
||||
'coding',
|
||||
'travis',
|
||||
'review',
|
||||
'merged',
|
||||
'closed',
|
||||
],
|
||||
'transitions' => [
|
||||
'submit' => [
|
||||
'from' => 'start',
|
||||
'to' => 'travis',
|
||||
],
|
||||
'update' => [
|
||||
'from' => ['coding', 'travis', 'review'],
|
||||
'to' => 'travis',
|
||||
],
|
||||
'wait_for_review' => [
|
||||
'from' => 'travis',
|
||||
'to' => 'review',
|
||||
],
|
||||
'request_change' => [
|
||||
'from' => 'review',
|
||||
'to' => 'coding',
|
||||
],
|
||||
'accept' => [
|
||||
'from' => 'review',
|
||||
'to' => 'merged',
|
||||
],
|
||||
'reject' => [
|
||||
'from' => 'review',
|
||||
'to' => 'closed',
|
||||
],
|
||||
'reopen' => [
|
||||
'from' => 'closed',
|
||||
'to' => 'review',
|
||||
],
|
||||
],
|
||||
],
|
||||
'service_marking_store_workflow' => [
|
||||
'type' => 'workflow',
|
||||
'marking_store' => [
|
||||
'service' => 'workflow_service',
|
||||
],
|
||||
'supports' => [
|
||||
FrameworkExtensionTest::class,
|
||||
],
|
||||
'places' => [
|
||||
'first',
|
||||
'last',
|
||||
],
|
||||
'transitions' => [
|
||||
'go' => [
|
||||
'from' => 'first',
|
||||
'to' => 'last',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => null,
|
||||
]);
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'enabled' => true,
|
||||
'foo' => [
|
||||
'type' => 'workflow',
|
||||
'supports' => ['Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest'],
|
||||
'initial_place' => 'bar',
|
||||
'places' => ['bar', 'baz'],
|
||||
'transitions' => [
|
||||
'bar_baz' => [
|
||||
'from' => ['foo'],
|
||||
'to' => ['bar'],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'enabled' => true,
|
||||
'workflows' => [
|
||||
'type' => 'workflow',
|
||||
'supports' => ['Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest'],
|
||||
'initial_place' => 'bar',
|
||||
'places' => ['bar', 'baz'],
|
||||
'transitions' => [
|
||||
'bar_baz' => [
|
||||
'from' => ['foo'],
|
||||
'to' => ['bar'],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest;
|
||||
|
||||
$container->loadFromExtension('framework', [
|
||||
'workflows' => [
|
||||
'missing_type' => [
|
||||
'marking_store' => [
|
||||
'service' => 'workflow_service',
|
||||
],
|
||||
'supports' => [
|
||||
\stdClass::class,
|
||||
],
|
||||
'places' => [
|
||||
'first',
|
||||
'last',
|
||||
],
|
||||
'transitions' => [
|
||||
'go' => [
|
||||
'from' => 'first',
|
||||
'to' => 'last',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
]);
|
||||
Reference in New Issue
Block a user