From 04c4bac8a9ec27453a8817f9f4e806706b833225 Mon Sep 17 00:00:00 2001 From: matx132 Date: Mon, 7 Aug 2023 12:00:32 +0200 Subject: [PATCH] Added declaring strict types. --- .../_fixtures/extract_content_from_rows.php | 17 +++++++++-------- .../Persistence/ValueObject/ContentInfoTest.php | 2 ++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/tests/lib/Persistence/Legacy/Content/_fixtures/extract_content_from_rows.php b/tests/lib/Persistence/Legacy/Content/_fixtures/extract_content_from_rows.php index d5979a3dbe..af448438c6 100644 --- a/tests/lib/Persistence/Legacy/Content/_fixtures/extract_content_from_rows.php +++ b/tests/lib/Persistence/Legacy/Content/_fixtures/extract_content_from_rows.php @@ -38,7 +38,7 @@ 'ezcontentobject_attribute_sort_key_int' => 0, 'ezcontentobject_attribute_sort_key_string' => 'new test article (2)', 'ezcontentobject_tree_main_node_id' => 228, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 1 => [ 'ezcontentobject_id' => 226, @@ -73,7 +73,7 @@ 'ezcontentobject_attribute_sort_key_string' => 'something', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 2 => [ 'ezcontentobject_id' => 226, @@ -110,7 +110,7 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 3 => [ 'ezcontentobject_id' => 226, @@ -145,7 +145,7 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 4 => [ 'ezcontentobject_id' => 226, @@ -182,7 +182,7 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 5 => [ 'ezcontentobject_id' => 226, @@ -217,7 +217,7 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 6 => [ 'ezcontentobject_id' => 226, @@ -252,7 +252,7 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], 7 => [ 'ezcontentobject_id' => 226, @@ -287,6 +287,7 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, + 'content_type_identifier' => 'article', ], 8 => [ 'ezcontentobject_id' => 226, @@ -321,6 +322,6 @@ 'ezcontentobject_attribute_sort_key_string' => '', 'ezcontentobject_tree_main_node_id' => 228, 'ezcontentobject_is_hidden' => 0, - 'ezcontentclass_identifier' => 'article', + 'content_type_identifier' => 'article', ], ]; diff --git a/tests/lib/Persistence/ValueObject/ContentInfoTest.php b/tests/lib/Persistence/ValueObject/ContentInfoTest.php index 64f77eeae7..0d60506e73 100644 --- a/tests/lib/Persistence/ValueObject/ContentInfoTest.php +++ b/tests/lib/Persistence/ValueObject/ContentInfoTest.php @@ -4,6 +4,8 @@ * @copyright Copyright (C) Ibexa AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ +declare(strict_types=1); + namespace Ibexa\Tests\Core\Persistence\ValueObject; use Ibexa\Contracts\Core\Persistence\Content\ContentInfo;