11<?php
22
3+ /**
4+ * @see https://github.com/open-code-modeling/json-schema-to-php-ast for the canonical source repository
5+ * @copyright https://github.com/open-code-modeling/json-schema-to-php-ast/blob/master/COPYRIGHT.md
6+ * @license https://github.com/open-code-modeling/json-schema-to-php-ast/blob/master/LICENSE.md MIT License
7+ */
8+
39declare (strict_types=1 );
410
511namespace OpenCodeModelingTest \JsonSchemaToPhpAst \ValueObject ;
@@ -30,8 +36,8 @@ public function setUp(): void
3036 */
3137 public function it_generates_code_from_native (): void
3238 {
33- $ definition = json_decode (
34- file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
39+ $ definition = \ json_decode (
40+ \ file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
3541 true
3642 );
3743
@@ -52,8 +58,8 @@ public function it_generates_code_from_native(): void
5258 */
5359 public function it_generates_code_from_definition (): void
5460 {
55- $ definition = json_decode (
56- file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
61+ $ definition = \ json_decode (
62+ \ file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
5763 true
5864 );
5965
@@ -72,8 +78,8 @@ public function it_generates_code_from_definition(): void
7278 */
7379 public function it_generates_code_via_value_object_factory (): void
7480 {
75- $ definition = json_decode (
76- file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
81+ $ definition = \ json_decode (
82+ \ file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
7783 true
7884 );
7985
@@ -89,8 +95,8 @@ public function it_generates_code_via_value_object_factory(): void
8995 */
9096 public function it_generates_code_via_value_object_factory_with_class_builder (): void
9197 {
92- $ definition = json_decode (
93- file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
98+ $ definition = \ json_decode (
99+ \ file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . '_files ' . DIRECTORY_SEPARATOR . 'schema_with_array_type_ref.json ' ),
94100 true
95101 );
96102
0 commit comments