Skip to content

Commit e89f03c

Browse files
lint fixes
1 parent 37559f1 commit e89f03c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/phpunit/tests/rest-api/wpRestAbilitiesV1ListController.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,8 @@ public function test_internal_schema_keywords_stripped_from_nested_sub_schemas()
852852
'description' => 'Tests stripping from all sub-schema locations',
853853
'category' => 'general',
854854
'input_schema' => array(
855-
'type' => 'object',
856-
'anyOf' => array(
855+
'type' => 'object',
856+
'anyOf' => array(
857857
array(
858858
'type' => 'object',
859859
'sanitize_callback' => 'sanitize_text_field',
@@ -869,29 +869,29 @@ public function test_internal_schema_keywords_stripped_from_nested_sub_schemas()
869869
'arg_options' => array( 'sanitize_callback' => 'absint' ),
870870
),
871871
),
872-
'oneOf' => array(
872+
'oneOf' => array(
873873
array(
874874
'type' => 'string',
875875
'sanitize_callback' => 'sanitize_text_field',
876876
),
877877
),
878-
'allOf' => array(
878+
'allOf' => array(
879879
array(
880880
'type' => 'object',
881881
'validate_callback' => 'rest_validate_request_arg',
882882
),
883883
),
884-
'not' => array(
884+
'not' => array(
885885
'type' => 'null',
886886
'arg_options' => array( 'sanitize_callback' => 'absint' ),
887887
),
888-
'patternProperties' => array(
888+
'patternProperties' => array(
889889
'^S_' => array(
890890
'type' => 'string',
891891
'sanitize_callback' => 'sanitize_text_field',
892892
),
893893
),
894-
'definitions' => array(
894+
'definitions' => array(
895895
'address' => array(
896896
'type' => 'object',
897897
'validate_callback' => 'rest_validate_request_arg',
@@ -903,7 +903,7 @@ public function test_internal_schema_keywords_stripped_from_nested_sub_schemas()
903903
),
904904
),
905905
),
906-
'dependencies' => array(
906+
'dependencies' => array(
907907
'bar' => array(
908908
'type' => 'object',
909909
'validate_callback' => 'rest_validate_request_arg',

0 commit comments

Comments
 (0)