@@ -121,7 +121,7 @@ public function test_image_block_with_wide_alignment( string $image_size ): void
121
121
*
122
122
* @return array<array<string>> The image sizes.
123
123
*/
124
- public function data_image_sizes (): array {
124
+ public static function data_image_sizes (): array {
125
125
return array (
126
126
'Return full or wideSize 1280px instead of medium size 300px ' => array (
127
127
'medium ' ,
@@ -177,7 +177,7 @@ public function test_image_block_with_default_alignment( string $image_size, str
177
177
*
178
178
* @return array<string, array<int, bool|string>> The image sizes.
179
179
*/
180
- public function data_image_sizes_for_default_alignment (): array {
180
+ public static function data_image_sizes_for_default_alignment (): array {
181
181
return array (
182
182
'Return medium image size 300px instead of contentSize 620px ' => array (
183
183
'medium ' ,
@@ -252,7 +252,7 @@ public function test_image_block_with_left_right_center_alignment( string $image
252
252
*
253
253
* @return array<string, array<int, bool|string>> The image sizes and alignments.
254
254
*/
255
- public function data_image_sizes_for_left_right_center_alignment (): array {
255
+ public static function data_image_sizes_for_left_right_center_alignment (): array {
256
256
return array (
257
257
'Return medium image size 300px with left alignment ' => array (
258
258
'medium ' ,
@@ -382,7 +382,7 @@ public function test_cover_block_with_left_right_center_alignment( string $align
382
382
*
383
383
* @return array<array<string>> The image sizes.
384
384
*/
385
- public function data_image_left_right_center_alignment (): array {
385
+ public static function data_image_left_right_center_alignment (): array {
386
386
return array (
387
387
array ( 'left ' , 'sizes="(max-width: 420px) 100vw, 420px ' ),
388
388
array ( 'right ' , 'sizes="(max-width: 420px) 100vw, 420px ' ),
@@ -430,7 +430,7 @@ public function test_ancestor_layout_is_passed_by_context( string $ancestor_bloc
430
430
*
431
431
* @return array<string, array<int, bool|string>> The ancestor and image alignments.
432
432
*/
433
- public function data_ancestor_and_image_block_alignment (): array {
433
+ public static function data_ancestor_and_image_block_alignment (): array {
434
434
return array (
435
435
// Parent default alignment.
436
436
'Return contentSize 620px, parent block default alignment, image block default alignment ' => array (
@@ -559,7 +559,7 @@ public function test_sizes_with_relative_layout_sizes( string $ancestor_alignmen
559
559
*
560
560
* @return array<string, array<int, bool|string>> The ancestor and image alignments.
561
561
*/
562
- public function data_image_blocks_with_relative_alignment (): array {
562
+ public static function data_image_blocks_with_relative_alignment (): array {
563
563
return array (
564
564
// Parent default alignment.
565
565
'Return contentSize 50vw, parent block default alignment, image block default alignment ' => array (
@@ -649,7 +649,7 @@ public function test_image_block_with_different_alignment_in_classic_theme( stri
649
649
*
650
650
* @return array<array<string>> The ancestor and image alignments.
651
651
*/
652
- public function data_image_blocks_with_relative_alignment_for_classic_theme (): array {
652
+ public static function data_image_blocks_with_relative_alignment_for_classic_theme (): array {
653
653
return array (
654
654
array ( '' ),
655
655
array ( 'wide ' ),
@@ -686,7 +686,7 @@ public function test_image_block_with_single_column_block( string $ancestor_bloc
686
686
*
687
687
* @return array<string, array<int, bool|string>> The ancestor and image alignments.
688
688
*/
689
- public function data_image_block_with_column_block (): array {
689
+ public static function data_image_block_with_column_block (): array {
690
690
return array (
691
691
// Parent default alignment.
692
692
'Return contentSize 620px, parent block default alignment, image block default alignment ' => array (
@@ -822,7 +822,7 @@ public function test_image_block_with_two_equal_column_block( string $ancestor_b
822
822
*
823
823
* @return array<string, array<int, bool|string>> The ancestor and image alignments.
824
824
*/
825
- public function data_image_block_with_two_equal_column_block (): array {
825
+ public static function data_image_block_with_two_equal_column_block (): array {
826
826
return array (
827
827
// Parent default alignment.
828
828
'Return half size of contentSize 310px, parent block default alignment, image block default alignment ' => array (
@@ -958,7 +958,7 @@ public function test_image_block_with_two_different_width_column_block( string $
958
958
*
959
959
* @return array<string, array<int, bool|string>> The ancestor and image alignments.
960
960
*/
961
- public function data_image_block_with_two_different_width_column_block (): array {
961
+ public static function data_image_block_with_two_different_width_column_block (): array {
962
962
return array (
963
963
// Parent default alignment.
964
964
'Return 66.66% width of contentSize 413px, parent block default alignment, image block default alignment ' => array (
@@ -1100,7 +1100,7 @@ public function test_image_block_with_parent_columns_and_its_parent_group_block(
1100
1100
*
1101
1101
* @return array<string, array<int, string>> The ancestor and image alignments.
1102
1102
*/
1103
- public function data_image_block_with_parent_columns_and_its_parent_group_block (): array {
1103
+ public static function data_image_block_with_parent_columns_and_its_parent_group_block (): array {
1104
1104
return array (
1105
1105
// Parent default alignment.
1106
1106
'Return 66.66% width of contentSize 413px, group block default alignment, columns block default alignment, image block default alignment ' => array (
@@ -1322,7 +1322,7 @@ public function test_post_featured_image_block_with_different_image_size( string
1322
1322
*
1323
1323
* @return array<array<string>> The image sizes.
1324
1324
*/
1325
- public function data_post_featured_image_block_image_sizes (): array {
1325
+ public static function data_post_featured_image_block_image_sizes (): array {
1326
1326
return array (
1327
1327
'Return medium image size 300px ' => array (
1328
1328
'medium ' ,
@@ -1371,7 +1371,7 @@ public function test_post_featured_image_block_with_different_alignment( string
1371
1371
*
1372
1372
* @return array<array<string>> The image sizes.
1373
1373
*/
1374
- public function data_post_featured_image_block_alignment (): array {
1374
+ public static function data_post_featured_image_block_alignment (): array {
1375
1375
return array (
1376
1376
'Return contentSize 620px instead of image size 1080px, block default alignment ' => array (
1377
1377
'' ,
0 commit comments