Skip to content

Commit f27f0ab

Browse files
committed
Fixed fixtures loading
1 parent 9f29894 commit f27f0ab

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

config/reference.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,11 +1548,6 @@
15481548
* dump_destination?: scalar|null, // A stream URL where dumps should be written to. // Default: null
15491549
* theme?: "dark"|"light", // Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light". // Default: "dark"
15501550
* }
1551-
* @psalm-type MakerConfig = array{
1552-
* root_namespace?: scalar|null, // Default: "App"
1553-
* generate_final_classes?: bool, // Default: true
1554-
* generate_final_entities?: bool, // Default: false
1555-
* }
15561551
* @psalm-type WebpackEncoreConfig = array{
15571552
* output_path: scalar|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath()
15581553
* crossorigin?: false|"anonymous"|"use-credentials", // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false
@@ -1677,6 +1672,12 @@
16771672
* post_processors?: array<string, array<string, mixed>>,
16781673
* },
16791674
* }
1675+
* @psalm-type DamaDoctrineTestConfig = array{
1676+
* enable_static_connection?: mixed, // Default: true
1677+
* enable_static_meta_data_cache?: bool, // Default: true
1678+
* enable_static_query_cache?: bool, // Default: true
1679+
* connection_keys?: list<mixed>,
1680+
* }
16801681
* @psalm-type TwigExtraConfig = array{
16811682
* cache?: bool|array{
16821683
* enabled?: bool, // Default: false
@@ -2372,13 +2373,6 @@
23722373
* invalidate_on_env_change?: bool, // Default: true
23732374
* },
23742375
* }
2375-
* @psalm-type JbtronicsTranslationEditorConfig = array{
2376-
* translations_path?: scalar|null, // Default: "%translator.default_path%"
2377-
* format?: scalar|null, // Default: "xlf"
2378-
* xliff_version?: scalar|null, // Default: "2.0"
2379-
* use_intl_icu_format?: bool, // Default: false
2380-
* writer_options?: list<scalar|null>,
2381-
* }
23822376
* @psalm-type ApiPlatformConfig = array{
23832377
* title?: scalar|null, // The title of the API. // Default: ""
23842378
* description?: scalar|null, // The description of the API. // Default: ""
@@ -2634,11 +2628,17 @@
26342628
* ...<mixed>
26352629
* },
26362630
* }
2637-
* @psalm-type DamaDoctrineTestConfig = array{
2638-
* enable_static_connection?: mixed, // Default: true
2639-
* enable_static_meta_data_cache?: bool, // Default: true
2640-
* enable_static_query_cache?: bool, // Default: true
2641-
* connection_keys?: list<mixed>,
2631+
* @psalm-type MakerConfig = array{
2632+
* root_namespace?: scalar|null, // Default: "App"
2633+
* generate_final_classes?: bool, // Default: true
2634+
* generate_final_entities?: bool, // Default: false
2635+
* }
2636+
* @psalm-type JbtronicsTranslationEditorConfig = array{
2637+
* translations_path?: scalar|null, // Default: "%translator.default_path%"
2638+
* format?: scalar|null, // Default: "xlf"
2639+
* xliff_version?: scalar|null, // Default: "2.0"
2640+
* use_intl_icu_format?: bool, // Default: false
2641+
* writer_options?: list<scalar|null>,
26422642
* }
26432643
* @psalm-type ConfigType = array{
26442644
* imports?: ImportsConfig,

config/services.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,12 @@ services:
274274
tags:
275275
- { name: monolog.processor }
276276

277-
when@test:
277+
when@test: &test
278278
services:
279279

280+
App\DataFixtures\:
281+
resource: '../src/DataFixtures/'
282+
280283
App\Doctrine\Purger\:
281284
resource: '../src/Doctrine/Purger/'
282285

@@ -294,6 +297,4 @@ when@test:
294297
- { default: '@App\Doctrine\Purger\DoNotUsePurgerFactory' }
295298

296299
when@dev:
297-
services:
298-
App\DataFixtures\:
299-
resource: '../src/DataFixtures/'
300+
*test

0 commit comments

Comments
 (0)