N°2651 rollback gitignore for lib tests dirs

Too dangerous ! We'll work properly on this but for 2.8
This commit is contained in:
Pierre Goiffon
2020-01-10 15:15:15 +01:00
parent 881fc2a1de
commit ad821e7d9c
2086 changed files with 151849 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
framework:
assets:
version: SomeVersionScheme
version_format: '%%s?version=%%s'
base_urls: http://cdn.example.com
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://bar_version_strategy.example.com"]
version_strategy: assets.custom_version_strategy
json_manifest_strategy:
json_manifest_path: '/path/to/manifest.json'

View File

@@ -0,0 +1,3 @@
framework:
assets:
enabled: false

View File

@@ -0,0 +1,4 @@
framework:
assets:
version_strategy: assets.custom_version_strategy
base_urls: http://cdn.example.com

View File

@@ -0,0 +1,19 @@
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

View File

@@ -0,0 +1,6 @@
parameters:
env(REDIS_URL): redis://paas.com
framework:
cache:
default_redis_provider: "%env(REDIS_URL)%"

View File

@@ -0,0 +1,5 @@
framework:
secret: s3cr3t
csrf_protection: ~
form: ~
session: ~

View File

@@ -0,0 +1,2 @@
framework:
csrf_protection: ~

View File

@@ -0,0 +1,7 @@
framework:
fragments:
enabled: false
esi:
enabled: true
ssi:
enabled: true

View File

@@ -0,0 +1,3 @@
framework:
esi:
enabled: false

View File

@@ -0,0 +1,4 @@
framework:
form:
csrf_protection:
enabled: false

View File

@@ -0,0 +1,63 @@
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_probability: 1
gc_divisor: 108
gc_maxlifetime: 90000
save_path: /path/to/sessions
templating:
engines: [php, twig]
loader: [loader.foo, loader.bar]
cache: /path/to/cache
form:
resources: [theme1, theme2]
hinclude_default_template: global_hinclude_template
assets:
version: v1
translator:
enabled: true
fallback: fr
default_path: '%kernel.project_dir%/translations'
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: ~
ide: file%%link%%format
request:
formats:
csv: ['text/csv', 'text/plain']
pdf: 'application/pdf'

View File

@@ -0,0 +1,2 @@
framework:
lock: ~

View File

@@ -0,0 +1,9 @@
parameters:
env(REDIS_DSN): redis://paas.com
framework:
lock:
foo: semaphore
bar: flock
baz: [semaphore, flock]
qux: "%env(REDIS_DSN)%"

View File

@@ -0,0 +1,3 @@
framework:
php_errors:
throw: false

View File

@@ -0,0 +1,4 @@
framework:
php_errors:
log: true
throw: true

View File

@@ -0,0 +1,3 @@
framework:
profiler:
enabled: true

View File

@@ -0,0 +1,4 @@
framework:
property_access:
magic_call: true
throw_exception_on_invalid_index: true

View File

@@ -0,0 +1,3 @@
framework:
property_info:
enabled: true

View File

@@ -0,0 +1,3 @@
framework:
request:
formats: ~

View File

@@ -0,0 +1,3 @@
framework:
serializer:
enabled: false

View File

@@ -0,0 +1,3 @@
framework:
serializer:
enabled: true

View File

@@ -0,0 +1,4 @@
framework:
serializer:
enabled: true
cache: foo

View File

@@ -0,0 +1,10 @@
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"

View File

@@ -0,0 +1,3 @@
framework:
session:
handler_id: null

View File

@@ -0,0 +1,3 @@
framework:
ssi:
enabled: false

View File

@@ -0,0 +1,2 @@
framework:
templating: false

View File

@@ -0,0 +1,3 @@
framework:
templating:
engines: [php, twig]

View File

@@ -0,0 +1,4 @@
framework:
assets: false
templating:
engines: [php]

View File

@@ -0,0 +1,4 @@
framework:
translator: false
templating:
engines: [php]

View File

@@ -0,0 +1,4 @@
framework:
translator: true
templating:
engines: [php]

View File

@@ -0,0 +1,3 @@
framework:
translator:
fallbacks: [en, fr]

View File

@@ -0,0 +1,5 @@
framework:
secret: s3cr3t
validation:
enabled: true
enable_annotations: true

View File

@@ -0,0 +1,7 @@
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"

View File

@@ -0,0 +1,5 @@
framework:
secret: s3cr3t
validation:
enabled: true
static_method: [loadFoo, loadBar]

View File

@@ -0,0 +1,5 @@
framework:
secret: s3cr3t
validation:
enabled: true
static_method: false

View File

@@ -0,0 +1,3 @@
framework:
validation:
strict_email: true

View File

@@ -0,0 +1,3 @@
framework:
validation:
translation_domain: messages

View File

@@ -0,0 +1,3 @@
framework:
web_link:
enabled: true

View File

@@ -0,0 +1,19 @@
framework:
workflows:
my_workflow:
marking_store:
arguments:
- a
- b
service: workflow_service
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
places:
- first
- last
transitions:
go:
from:
- first
to:
- last

View File

@@ -0,0 +1,35 @@
framework:
workflows:
article:
type: workflow
marking_store:
type: multiple_state
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
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"

View File

@@ -0,0 +1,33 @@
framework:
workflows:
article:
type: workflow
marking_store:
type: multiple_state
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
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]

View File

@@ -0,0 +1,17 @@
framework:
workflows:
my_workflow:
marking_store:
type: multiple_state
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
support_strategy: foobar
places:
- first
- last
transitions:
go:
from:
- first
to:
- last

View File

@@ -0,0 +1,17 @@
framework:
workflows:
my_workflow:
marking_store:
type: multiple_state
service: workflow_service
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
places:
- first
- last
transitions:
go:
from:
- first
to:
- last

View File

@@ -0,0 +1,14 @@
framework:
workflows:
my_workflow:
marking_store:
type: multiple_state
places:
- first
- last
transitions:
go:
from:
- first
to:
- last

View File

@@ -0,0 +1,80 @@
framework:
workflows:
article:
type: workflow
marking_store:
type: multiple_state
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
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:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
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:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
places:
- first
- last
transitions:
go:
from:
- first
to:
- last

View File

@@ -0,0 +1,2 @@
framework:
workflows: ~

View File

@@ -0,0 +1,16 @@
framework:
workflows:
enabled: true
workflows:
foo:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest
initial_place: bar
places:
- bar
- baz
transitions:
bar_baz:
from: [foo]
to: [bar]

View File

@@ -0,0 +1,15 @@
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]

View File

@@ -0,0 +1,7 @@
framework:
workflows:
missing_type:
supports: stdClass
places: [ first, second ]
transitions:
go: {from: first, to: last }