Skip to content

Commit be0793c

Browse files
Added declaring strict types.
1 parent 0d27b04 commit be0793c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Diff for: tests/lib/Persistence/Legacy/Content/_fixtures/extract_content_from_rows.php

+9-8
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'ezcontentobject_attribute_sort_key_int' => 0,
3939
'ezcontentobject_attribute_sort_key_string' => 'new test article (2)',
4040
'ezcontentobject_tree_main_node_id' => 228,
41-
'ezcontentclass_identifier' => 'article',
41+
'content_type_identifier' => 'article',
4242
],
4343
1 => [
4444
'ezcontentobject_id' => 226,
@@ -73,7 +73,7 @@
7373
'ezcontentobject_attribute_sort_key_string' => 'something',
7474
'ezcontentobject_tree_main_node_id' => 228,
7575
'ezcontentobject_is_hidden' => 0,
76-
'ezcontentclass_identifier' => 'article',
76+
'content_type_identifier' => 'article',
7777
],
7878
2 => [
7979
'ezcontentobject_id' => 226,
@@ -110,7 +110,7 @@
110110
'ezcontentobject_attribute_sort_key_string' => '',
111111
'ezcontentobject_tree_main_node_id' => 228,
112112
'ezcontentobject_is_hidden' => 0,
113-
'ezcontentclass_identifier' => 'article',
113+
'content_type_identifier' => 'article',
114114
],
115115
3 => [
116116
'ezcontentobject_id' => 226,
@@ -145,7 +145,7 @@
145145
'ezcontentobject_attribute_sort_key_string' => '',
146146
'ezcontentobject_tree_main_node_id' => 228,
147147
'ezcontentobject_is_hidden' => 0,
148-
'ezcontentclass_identifier' => 'article',
148+
'content_type_identifier' => 'article',
149149
],
150150
4 => [
151151
'ezcontentobject_id' => 226,
@@ -182,7 +182,7 @@
182182
'ezcontentobject_attribute_sort_key_string' => '',
183183
'ezcontentobject_tree_main_node_id' => 228,
184184
'ezcontentobject_is_hidden' => 0,
185-
'ezcontentclass_identifier' => 'article',
185+
'content_type_identifier' => 'article',
186186
],
187187
5 => [
188188
'ezcontentobject_id' => 226,
@@ -217,7 +217,7 @@
217217
'ezcontentobject_attribute_sort_key_string' => '',
218218
'ezcontentobject_tree_main_node_id' => 228,
219219
'ezcontentobject_is_hidden' => 0,
220-
'ezcontentclass_identifier' => 'article',
220+
'content_type_identifier' => 'article',
221221
],
222222
6 => [
223223
'ezcontentobject_id' => 226,
@@ -252,7 +252,7 @@
252252
'ezcontentobject_attribute_sort_key_string' => '',
253253
'ezcontentobject_tree_main_node_id' => 228,
254254
'ezcontentobject_is_hidden' => 0,
255-
'ezcontentclass_identifier' => 'article',
255+
'content_type_identifier' => 'article',
256256
],
257257
7 => [
258258
'ezcontentobject_id' => 226,
@@ -287,6 +287,7 @@
287287
'ezcontentobject_attribute_sort_key_string' => '',
288288
'ezcontentobject_tree_main_node_id' => 228,
289289
'ezcontentobject_is_hidden' => 0,
290+
'content_type_identifier' => 'article',
290291
],
291292
8 => [
292293
'ezcontentobject_id' => 226,
@@ -321,6 +322,6 @@
321322
'ezcontentobject_attribute_sort_key_string' => '',
322323
'ezcontentobject_tree_main_node_id' => 228,
323324
'ezcontentobject_is_hidden' => 0,
324-
'ezcontentclass_identifier' => 'article',
325+
'content_type_identifier' => 'article',
325326
],
326327
];

Diff for: tests/lib/Persistence/ValueObject/ContentInfoTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* @copyright Copyright (C) Ibexa AS. All rights reserved.
55
* @license For full copyright and license information view LICENSE file distributed with this source code.
66
*/
7+
declare(strict_types=1);
8+
79
namespace Ibexa\Tests\Core\Persistence\ValueObject;
810

911
use Ibexa\Contracts\Core\Persistence\Content\ContentInfo;

0 commit comments

Comments
 (0)