File tree Expand file tree Collapse file tree 4 files changed +9
-23
lines changed Expand file tree Collapse file tree 4 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function isOptional(): bool
3131 *
3232 * @return string[]
3333 */
34- public function warmUp ($ cacheDir )
34+ public function warmUp ($ cacheDir, string $ buildDir = null )
3535 {
3636 if ($ this ->compiled ) {
3737 // use warm up cache dir if type generator cache dir not already explicitly declared
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ framework:
77 profiler :
88 enabled : false
99 http_method_override : false
10+ handle_all_throwables : false
1011
1112security :
1213 enable_authenticator_manager : true
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ imports:
22 - { resource: ../config.yml }
33
44framework :
5- annotations : true
65 validation :
76 enabled : true
8- enable_annotations : true
97
108overblog_graphql :
119 definitions :
@@ -38,4 +36,3 @@ services:
3836 - { name: "overblog_graphql.mutation", alias: "mutation_mock", method: "mutationMock" }
3937 - { name: "overblog_graphql.mutation", alias: "mutation_errors", method: "mutationErrors" }
4038 - { name: "overblog_graphql.mutation", alias: "no_validation", method: "noValidation" }
41-
Original file line number Diff line number Diff line change 99/**
1010 * Class DummyEntity.
1111 *
12- * @Assert\Callback({"Overblog\GraphQLBundle\Tests\Functional\Validator\StaticValidator", "validateClass"})
1312 */
13+ #[Assert \Callback([StaticValidator::class, 'validateClass ' ])]
1414final class DummyEntity
1515{
16- /**
17- * @Assert\EqualTo("Lorem Ipsum")
18- */
16+ #[Assert \EqualTo('Lorem Ipsum ' )]
1917 private string $ string1 ;
2018
21- /**
22- * @Assert\EqualTo("Lorem Ipsum")
23- */
19+ #[Assert \EqualTo('Lorem Ipsum ' )]
2420 private string $ string2 ;
2521
26- /**
27- * @Assert\EqualTo("{""text"":""Lorem Ipsum""}")
28- */
22+ #[Assert \EqualTo('{"text":"Lorem Ipsum"} ' )]
2923 private string $ string3 ;
3024
31- /**
32- * @Assert\EqualTo("Dolor Sit Amet")
33- */
25+ #[Assert \EqualTo('Dolor Sit Amet ' )]
3426 public function getString1 (): string
3527 {
3628 return $ this ->string1 ;
3729 }
3830
39- /**
40- * @Assert\EqualTo("Dolor Sit Amet")
41- */
31+ #[Assert \EqualTo('Dolor Sit Amet ' )]
4232 public function getString2 (): string
4333 {
4434 return $ this ->string2 ;
4535 }
4636
47- /**
48- * @Assert\Json()
49- */
37+ #[Assert \Json()]
5038 public function getString3 (): string
5139 {
5240 return $ this ->string3 ;
You can’t perform that action at this time.
0 commit comments