Coding Standard Issues

Created on 6 December 2024, 12 days ago

./vendor/bin/phpcs --standard=Drupal,DrupalPractice web/modules/contrib/ctools/

FILE: ...b/modules/contrib/ctools/modules/ctools_views/src/Plugin/Display/Block.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------
284 | WARNING | [ ] Unused variable $identifier.
309 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
314 | ERROR | [x] Use "elseif" in place of "else if"
314 | ERROR | [x] Expected 1 space after "=="; 0 found
365 | WARNING | [ ] Unused variable $exposed_info.
758 | WARNING | [ ] Unused variable $id.
969 | ERROR | [x] Expected 1 newline at end of file; 2 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...dules/ctools_views/tests/src/Functional/CToolsViewsEntityViewBlockTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
83 | ERROR | Do not disable strict config schema checking in tests. Instead
| | ensure your module properly declares its schema for
| | configurations.
183 | WARNING | Unused variable $default_theme.
275 | WARNING | Unused variable $default_theme.
277 | WARNING | Unused variable $filter_op_id.
--------------------------------------------------------------------------------

FILE: ...odules/ctools_views/tests/src/Functional/CToolsViewsBasicViewBlockTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
--------------------------------------------------------------------------------
24 | ERROR | The @var tag must be the first tag in a member variable comment
26 | ERROR | Do not disable strict config schema checking in tests. Instead
| | ensure your module properly declares its schema for
| | configurations.
80 | WARNING | Unused variable $result.
--------------------------------------------------------------------------------

FILE: ...contrib/ctools/modules/ctools_entity_mask/src/MaskContentEntityStorage.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
56 | ERROR | [x] Parameter $ids has null default value, but is not marked as
| | nullable.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...trib/ctools/modules/ctools_entity_mask/tests/src/Kernel/EntityMaskTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
130 | ERROR | Public method name "EntityMaskTest::testNotExposedToFieldUI" is
| | not in lowerCamel format
156 | ERROR | unserialize() is insecure unless allowed classes are limited.
| | Use a safe format like JSON or use the allowed_classes option.
--------------------------------------------------------------------------------

FILE: ...rib/ctools/modules/ctools_entity_mask/tests/src/Functional/DisplayTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
13 | WARNING | The class short comment should describe what the class does and
| | not simply repeat the class name
87 | ERROR | unserialize() is insecure unless allowed classes are limited.
| | Use a safe format like JSON or use the allowed_classes option.
--------------------------------------------------------------------------------

FILE: ...11-site/web/modules/contrib/ctools/src/Controller/WizardFormController.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
45 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------------

FILE: ...e/web/modules/contrib/ctools/src/Controller/WizardEntityFormController.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
23 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------------

FILE: ...pal11-site/web/modules/contrib/ctools/src/ConstraintConditionInterface.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
6 | ERROR | [x] Doc comment short description must end with a full stop
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: .../my-drupal11-site/web/modules/contrib/ctools/src/SerializableTempstore.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------------
11 | ERROR | The text '@deprecated in ctools 8.x-3.10. Will be removed before
| | ctools:4.0.0. Use \Drupal\Core\TempStore\SharedTempStore
| | instead.' does not match the standard format: @deprecated in
| | %deprecation-version% and is removed from %removal-version%.
| | %extra-info%.
11 | ERROR | Each @deprecated tag must have a @see tag immediately following
| | it
--------------------------------------------------------------------------------

FILE: ...upal11-site/web/modules/contrib/ctools/src/Testing/EntityCreationTrait.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
37 | ERROR | [x] Namespaced classes/interfaces/traits should be referenced
| | with use statements
52 | ERROR | [ ] Description for the @return value is missing
53 | ERROR | [x] Separate the @return and @throws sections by a blank line.
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...upal11-site/web/modules/contrib/ctools/src/Ajax/OpenModalWizardCommand.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
7 | ERROR | Doc comment is empty
12 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...-site/web/modules/contrib/ctools/src/ParamConverter/TempstoreConverter.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
96 | ERROR | Parameter $entity_type_manager is not described in comment
99 | ERROR | Missing parameter comment
--------------------------------------------------------------------------------

FILE: ...Seed/my-drupal11-site/web/modules/contrib/ctools/src/TypedDataResolver.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
155 | ERROR | [x] Parameter comment must end with a full stop
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...y-drupal11-site/web/modules/contrib/ctools/src/Event/BlockVariantEvent.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
9 | ERROR | Doc comment is empty
44 | ERROR | Description for the @return value is missing
53 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...Seed/my-drupal11-site/web/modules/contrib/ctools/src/Event/WizardEvent.php
--------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------
13 | ERROR | Missing short description in doc comment
18 | ERROR | Missing short description in doc comment
23 | ERROR | Doc comment is empty
31 | ERROR | Doc comment is empty
38 | ERROR | Doc comment is empty
45 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...1-site/web/modules/contrib/ctools/src/Form/ManageResolverRelationships.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
25 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
32 | ERROR | Class property $property_types should use lowerCamel naming
| | without underscores
187 | ERROR | Key specified for array entry; first entry has no key
--------------------------------------------------------------------------------

FILE: ...11-site/web/modules/contrib/ctools/src/Form/ResolverRelationshipDelete.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
36 | ERROR | Class property $tempstore_id should use lowerCamel naming
| | without underscores
43 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
133 | ERROR | Missing parameter type
--------------------------------------------------------------------------------

FILE: ...rupal11-site/web/modules/contrib/ctools/src/Form/RelationshipConfigure.php
--------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------
39 | ERROR | Class property $tempstore_id should use lowerCamel naming
| | without underscores
46 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
151 | ERROR | Return type "array In the format of" must not contain spaces
161 | ERROR | Missing parameter comment
163 | ERROR | Parameter tags must be grouped together in a doc comment
177 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...d/my-drupal11-site/web/modules/contrib/ctools/src/Form/RequiredContext.php
--------------------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 15 LINES
--------------------------------------------------------------------------------
19 | ERROR | [ ] Missing short description in doc comment
31 | ERROR | [ ] Missing short description in doc comment
34 | ERROR | [ ] Class property $machine_name should use lowerCamel naming
| | without underscores
117 | ERROR | [ ] Missing parameter comment
118 | ERROR | [ ] Missing parameter comment
120 | ERROR | [ ] Description for the @return value is missing
134 | ERROR | [ ] Missing parameter type
143 | WARNING | [ ] Unused variable $machine_name.
150 | ERROR | [ ] The array declaration extends to column 129 (the limit is
| | 120). The array content should be split up over multiple
| | lines
152 | ERROR | [ ] Key specified for array entry; first entry has no key
161 | ERROR | [x] Doc comment short description must end with a full stop
163 | ERROR | [ ] Missing parameter type
232 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
234 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
236 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...eed/my-drupal11-site/web/modules/contrib/ctools/src/Form/ContextDelete.php
--------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------
15 | ERROR | Missing short description in doc comment
20 | ERROR | Missing short description in doc comment
23 | ERROR | Class property $tempstore_id should use lowerCamel naming without
| | underscores
25 | ERROR | Missing short description in doc comment
28 | ERROR | Class property $machine_name should use lowerCamel naming without
| | underscores
35 | ERROR | Class property $context_id should use lowerCamel naming without
| | underscores
--------------------------------------------------------------------------------

FILE: .../my-drupal11-site/web/modules/contrib/ctools/src/Form/ManageConditions.php
--------------------------------------------------------------------------------
FOUND 28 ERRORS AND 1 WARNING AFFECTING 24 LINES
--------------------------------------------------------------------------------
15 | ERROR | Doc comment is empty
20 | ERROR | Missing short description in doc comment
32 | ERROR | Missing short description in doc comment
35 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
37 | ERROR | Doc comment is empty
47 | ERROR | Doc comment is empty
111 | ERROR | Doc comment is empty
133 | ERROR | Missing short description in doc comment
134 | ERROR | Missing parameter comment
134 | ERROR | Missing parameter type
136 | ERROR | Description for the @return value is missing
151 | ERROR | Key specified for array entry; first entry has no key
159 | ERROR | Doc comment is empty
197 | ERROR | Description for the @return value is missing
204 | ERROR | Missing parameter comment
206 | ERROR | Description for the @return value is missing
213 | ERROR | Description for the @return value is missing
226 | ERROR | Missing parameter comment
228 | ERROR | Parameter tags must be grouped together in a doc comment
228 | ERROR | Missing parameter comment
230 | ERROR | Parameter tags must be grouped together in a doc comment
230 | ERROR | Missing parameter comment
234 | WARNING | Line exceeds 80 characters; contains 88 characters
241 | ERROR | Missing parameter comment
241 | ERROR | Missing parameter type
243 | ERROR | Description for the @return value is missing
250 | ERROR | Missing parameter comment
250 | ERROR | Missing parameter type
252 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...eed/my-drupal11-site/web/modules/contrib/ctools/src/Form/ManageContext.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
--------------------------------------------------------------------------------
26 | ERROR | [ ] Class property $machine_name should use lowerCamel naming
| | without underscores
54 | ERROR | [ ] Class property $property_types should use lowerCamel
| | naming without underscores
119 | WARNING | [ ] Variable $types inside unset call is undefined.
273 | ERROR | [ ] Key specified for array entry; first entry has no key
426 | ERROR | [ ] Missing short description in doc comment
428 | ERROR | [x] Parameter comment indentation must be 3 spaces, found 2
| | spaces
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...site/web/modules/contrib/ctools/src/Form/ResolverRelationshipConfigure.php
--------------------------------------------------------------------------------
FOUND 14 ERRORS AND 2 WARNINGS AFFECTING 12 LINES
--------------------------------------------------------------------------------
19 | ERROR | Missing short description in doc comment
24 | ERROR | Missing short description in doc comment
27 | ERROR | Class property $tempstore_id should use lowerCamel naming
| | without underscores
29 | ERROR | Missing short description in doc comment
32 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
126 | WARNING | Unused variable $id.
181 | ERROR | Missing parameter comment
181 | ERROR | Missing parameter type
185 | WARNING | Line exceeds 80 characters; contains 92 characters
192 | ERROR | Missing parameter comment
192 | ERROR | Missing parameter type
194 | ERROR | Description for the @return value is missing
201 | ERROR | Missing parameter comment
201 | ERROR | Missing parameter type
203 | ERROR | Parameter tags must be grouped together in a doc comment
203 | ERROR | Missing parameter type
--------------------------------------------------------------------------------

FILE: ...y-drupal11-site/web/modules/contrib/ctools/src/Form/ConditionConfigure.php
--------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------------
23 | ERROR | Missing short description in doc comment
28 | ERROR | Missing short description in doc comment
33 | ERROR | Missing short description in doc comment
36 | ERROR | Class property $tempstore_id should use lowerCamel naming
| | without underscores
38 | ERROR | Missing short description in doc comment
41 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
190 | ERROR | Parameter tags must be grouped together in a doc comment
--------------------------------------------------------------------------------

FILE: .../my-drupal11-site/web/modules/contrib/ctools/src/Form/ContextConfigure.php
--------------------------------------------------------------------------------
FOUND 12 ERRORS AND 2 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------------
43 | ERROR | Class property $tempstore_id should use lowerCamel naming
| | without underscores
50 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
172 | WARNING | Line exceeds 80 characters; contains 107 characters
246 | ERROR | Missing parameter comment
246 | ERROR | Missing parameter type
250 | WARNING | Line exceeds 80 characters; contains 92 characters
257 | ERROR | Missing parameter comment
257 | ERROR | Missing parameter type
259 | ERROR | Description for the @return value is missing
283 | ERROR | Missing parameter type
293 | ERROR | Parameter $machine_name is not described in comment
296 | ERROR | Missing parameter comment
296 | ERROR | Missing parameter type
298 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...d/my-drupal11-site/web/modules/contrib/ctools/src/Form/ConditionDelete.php
--------------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES
--------------------------------------------------------------------------------
19 | ERROR | Missing short description in doc comment
24 | ERROR | Missing short description in doc comment
29 | ERROR | Missing short description in doc comment
32 | ERROR | Class property $tempstore_id should use lowerCamel naming
| | without underscores
34 | ERROR | Missing short description in doc comment
37 | ERROR | Class property $machine_name should use lowerCamel naming
| | without underscores
39 | ERROR | Missing short description in doc comment
116 | ERROR | Missing parameter type
118 | ERROR | Missing parameter type
198 | WARNING | Line exceeds 80 characters; contains 92 characters
232 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...rupal11-site/web/modules/contrib/ctools/src/Wizard/FormWizardInterface.php
--------------------------------------------------------------------------------
FOUND 9 ERRORS AND 5 WARNINGS AFFECTING 14 LINES
--------------------------------------------------------------------------------
21 | ERROR | Description for the @return value is missing
35 | ERROR | Description for the @return value is missing
42 | ERROR | Description for the @return value is missing
49 | ERROR | Description for the @return value is missing
59 | WARNING | Line exceeds 80 characters; contains 83 characters
61 | ERROR | Description for the @return value is missing
69 | WARNING | Line exceeds 80 characters; contains 87 characters
89 | WARNING | Line exceeds 80 characters; contains 83 characters
99 | ERROR | Description for the @return value is missing
110 | WARNING | Line exceeds 80 characters; contains 83 characters
126 | WARNING | Line exceeds 80 characters; contains 83 characters
176 | ERROR | Doc comment is empty
181 | ERROR | Doc comment is empty
186 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...upal11-site/web/modules/contrib/ctools/src/Wizard/EntityFormWizardBase.php
--------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------
27 | ERROR | Missing short description in doc comment
27 | ERROR | Parameter $route_match is not described in comment
27 | ERROR | Parameter $renderer is not described in comment
39 | ERROR | Missing parameter type
125 | ERROR | Missing parameter comment
126 | ERROR | Missing parameter comment
128 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: .../my-drupal11-site/web/modules/contrib/ctools/src/Wizard/FormWizardBase.php
--------------------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 13 LINES
--------------------------------------------------------------------------------
59 | ERROR | [ ] Class property $tempstore_id should use lowerCamel naming
| | without underscores
66 | ERROR | [ ] Class property $machine_name should use lowerCamel naming
| | without underscores
82 | ERROR | [ ] Missing short description in doc comment
82 | ERROR | [ ] Parameter $route_match is not described in comment
82 | ERROR | [ ] Parameter $renderer is not described in comment
92 | ERROR | [ ] Missing parameter type
184 | ERROR | [ ] Description for the @return value is missing
354 | ERROR | [ ] Missing parameter comment
355 | ERROR | [ ] Missing parameter comment
357 | ERROR | [ ] Description for the @return value is missing
378 | ERROR | [ ] Description for the @return value is missing
468 | ERROR | [x] Missing function doc comment
476 | ERROR | [x] Missing function doc comment
484 | ERROR | [x] Missing function doc comment
490 | ERROR | [x] Missing function doc comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...1-site/web/modules/contrib/ctools/src/Wizard/EntityFormWizardInterface.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
--------------------------------------------------------------------------------
13 | ERROR | Description for the @return value is missing
20 | ERROR | Description for the @return value is missing
27 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...pal11-site/web/modules/contrib/ctools/src/SerializableTempstoreFactory.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
6 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
9 | WARNING | [x] Unused use statement
15 | ERROR | [ ] The text '@deprecated in ctools 8.x-3.10. Will be removed
| | before ctools:4.0.0. Use
| | \Drupal\Core\TempStore\SharedTempStoreFactory instead.'
| | does not match the standard format: @deprecated in
| | %deprecation-version% and is removed from
| | %removal-version%. %extra-info%.
15 | ERROR | [ ] Each @deprecated tag must have a @see tag immediately
| | following it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...al11-site/web/modules/contrib/ctools/src/Plugin/VariantCollectionTrait.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------
17 | ERROR | Missing short description in doc comment
26 | ERROR | Missing short description in doc comment
33 | ERROR | Missing short description in doc comment
41 | ERROR | Missing short description in doc comment
63 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...pal11-site/web/modules/contrib/ctools/src/Plugin/BlockPluginCollection.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
16 | ERROR | Description for the @return value is missing
18 | WARNING | Possible useless method overriding detected
--------------------------------------------------------------------------------

FILE: ...-drupal11-site/web/modules/contrib/ctools/src/Plugin/BlockVariantTrait.php
--------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------------------
34 | ERROR | Missing short description in doc comment
39 | ERROR | Missing short description in doc comment
46 | ERROR | Missing short description in doc comment
61 | ERROR | Missing short description in doc comment
75 | ERROR | Missing short description in doc comment
90 | ERROR | Missing short description in doc comment
98 | ERROR | Missing short description in doc comment
109 | ERROR | Missing short description in doc comment
146 | ERROR | Description for the @return value is missing
158 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...pal11-site/web/modules/contrib/ctools/src/Plugin/RelationshipInterface.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
16 | ERROR | Description for the @return value is missing
23 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...y-drupal11-site/web/modules/contrib/ctools/src/Plugin/RelationshipBase.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
13 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...l11-site/web/modules/contrib/ctools/src/Plugin/VariantPluginCollection.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
--------------------------------------------------------------------------------
15 | ERROR | Description for the @return value is missing
17 | WARNING | Possible useless method overriding detected
--------------------------------------------------------------------------------

FILE: ...y-drupal11-site/web/modules/contrib/ctools/src/Plugin/Block/EntityView.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------
5 | WARNING | [x] Unused use statement
28 | ERROR | [ ] Missing member variable doc comment
107 | ERROR | [x] Missing function doc comment
114 | ERROR | [x] Missing function doc comment
143 | WARNING | [x] The variable name should be defined after the type
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...drupal11-site/web/modules/contrib/ctools/src/Plugin/Condition/NodeType.php
--------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------
8 | ERROR | [x] Doc comment short description must end with a full stop
12 | ERROR | [ ] The text '@deprecated in ctools:8.x-1.10. Use
| | \Drupal\ctools\Plugin\Condition\EntityBundle instead.' does
| | not match the standard format: @deprecated in
| | %deprecation-version% and is removed from %removal-version%.
| | %extra-info%.
17 | ERROR | [x] No space found before comment text; expected "//
| | @phpstan-ignore-next-line" but found
| | "//@phpstan-ignore-next-line"
18 | ERROR | [x] You must use "/**" style comments for a class comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...al11-site/web/modules/contrib/ctools/src/Plugin/Condition/EntityBundle.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
--------------------------------------------------------------------------------
9 | ERROR | [x] Doc comment short description must end with a full stop
18 | ERROR | [ ] Missing parameter comment
25 | WARNING | [ ] Unused variable $definition_id.
33 | ERROR | [ ] Missing parameter comment
37 | WARNING | [ ] Unused variable $definition_id.
43 | ERROR | [x] Expected 1 newline at end of file; 0 found
43 | ERROR | [x] The closing brace for the class must have an empty line
| | before it
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...contrib/ctools/src/Plugin/Deriver/TypedDataLanguageRelationshipDeriver.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
7 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...modules/contrib/ctools/src/Plugin/Deriver/TypedDataPropertyDeriverBase.php
--------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------
18 | ERROR | Doc comment is empty
25 | ERROR | Missing short description in doc comment
78 | ERROR | Missing short description in doc comment
79 | ERROR | Missing parameter comment
79 | ERROR | Missing parameter type
81 | ERROR | Description for the @return value is missing
99 | ERROR | Missing parameter type
--------------------------------------------------------------------------------

FILE: ...modules/contrib/ctools/src/Plugin/Deriver/TypedDataRelationshipDeriver.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
--------------------------------------------------------------------------------
11 | ERROR | Doc comment is empty
33 | WARNING | Only string literals should be passed to t() where possible
76 | WARNING | Only string literals should be passed to t() where possible
--------------------------------------------------------------------------------

FILE: ...s/contrib/ctools/src/Plugin/Deriver/TypedDataEntityRelationshipDeriver.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
7 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...upal11-site/web/modules/contrib/ctools/src/Plugin/Deriver/EntityBundle.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
--------------------------------------------------------------------------------
10 | ERROR | The text '@deprecated in ctools:8.x-1.10. Will be removed before
| | ctools:4.1.0. Use
| | \Drupal\Core\Entity\Plugin\Condition\Deriver\EntityBundle
| | instead.' does not match the standard format: @deprecated in
| | %deprecation-version% and is removed from %removal-version%.
| | %extra-info%.
10 | ERROR | Each @deprecated tag must have a @see tag immediately following
| | it
--------------------------------------------------------------------------------

FILE: ...les/contrib/ctools/src/Plugin/Relationship/TypedDataEntityRelationship.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
8 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------------

FILE: ...b/modules/contrib/ctools/src/Plugin/Relationship/TypedDataRelationship.php
--------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
--------------------------------------------------------------------------------
14 | ERROR | Missing short description in doc comment
50 | ERROR | Doc comment is empty
57 | ERROR | Doc comment is empty
75 | ERROR | Doc comment is empty
82 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...s/contrib/ctools/src/Plugin/Relationship/TypedDataLanguageRelationship.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
8 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------------

FILE: ...my-drupal11-site/web/modules/contrib/ctools/src/Access/TempstoreAccess.php
--------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------
42 | ERROR | Missing parameter comment
43 | ERROR | Missing parameter comment
44 | ERROR | Missing parameter comment
46 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...-drupal11-site/web/modules/contrib/ctools/src/ContextNotFoundException.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
5 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...tools_block_display_test/src/Plugin/DisplayVariant/BlockDisplayVariant.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
7 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...sts/modules/ctools_wizard_test/src/Form/ExampleConfigEntityGeneralForm.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------
26 | WARNING | Unused variable $config_entity.
--------------------------------------------------------------------------------

FILE: ...ctools/tests/modules/ctools_wizard_test/src/Entity/ExampleConfigEntity.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
76 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}?
83 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}?
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...rib/ctools/tests/modules/ctools_wizard_test/src/Wizard/EntityAddWizard.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
5 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...ontrib/ctools/tests/modules/ctools_wizard_test/src/Wizard/EntityWizard.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
8 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...ib/ctools/tests/modules/ctools_wizard_test/src/Wizard/EntityEditWizard.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
7 | ERROR | Doc comment is empty
--------------------------------------------------------------------------------

FILE: ...ls/tests/modules/ctools_wizard_test/src/ExampleConfigEntityListBuilder.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
33 | ERROR | [x] @inheritDoc found. Did you mean {@inheritDoc}?
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...ools/tests/modules/ctools_wizard_test/src/ExampleConfigEntityInterface.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
15 | ERROR | Description for the @return value is missing
22 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------

FILE: ...pal11-site/web/modules/contrib/ctools/tests/src/Unit/ContextMapperTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
33 | ERROR | Missing short description in doc comment
38 | ERROR | Missing short description in doc comment
--------------------------------------------------------------------------------

FILE: ...e/web/modules/contrib/ctools/tests/src/Unit/VariantCollectionTraitTest.php
--------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------
24 | ERROR | Missing short description in doc comment
158 | ERROR | Doc comment is empty
164 | ERROR | Missing short description in doc comment
169 | ERROR | Missing short description in doc comment
174 | ERROR | Missing short description in doc comment
175 | ERROR | Missing parameter comment
--------------------------------------------------------------------------------

FILE: ...site/web/modules/contrib/ctools/tests/src/Unit/BlockDisplayVariantTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
33 | ERROR | [x] Expected 1 blank line before function; 0 found
50 | ERROR | [ ] Doc comment is empty
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...te/web/modules/contrib/ctools/tests/src/Unit/BlockPluginCollectionTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
26 | ERROR | [x] Expected 1 blank line before function; 0 found
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...1-site/web/modules/contrib/ctools/tests/src/Unit/BlockVariantTraitTest.php
--------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
--------------------------------------------------------------------------------
28 | ERROR | [x] Expected 1 blank line before function; 0 found
40 | ERROR | [ ] Doc comment is empty
83 | ERROR | [ ] Doc comment is empty
89 | ERROR | [ ] Missing short description in doc comment
94 | ERROR | [ ] Missing short description in doc comment
99 | ERROR | [ ] Missing short description in doc comment
100 | ERROR | [ ] Missing parameter comment
109 | ERROR | [ ] Missing short description in doc comment
110 | ERROR | [ ] Missing parameter comment
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...site/web/modules/contrib/ctools/tests/src/Kernel/TypedDataResolverTest.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
27 | ERROR | Missing short description in doc comment
82 | ERROR | Missing parameter type
--------------------------------------------------------------------------------

FILE: ...site/web/modules/contrib/ctools/tests/src/Kernel/RelationshipsTestBase.php
--------------------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
--------------------------------------------------------------------------------
8 | ERROR | Doc comment is empty
14 | ERROR | Missing short description in doc comment
19 | ERROR | Missing short description in doc comment
55 | WARNING | Unused variable $article.
--------------------------------------------------------------------------------

FILE: ...-site/web/modules/contrib/ctools/tests/src/Functional/CToolsWizardTest.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
16 | ERROR | Missing member variable doc comment
--------------------------------------------------------------------------------

FILE: ...in/Seed/my-drupal11-site/web/modules/contrib/ctools/ctools.post_update.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
5 | ERROR | [x] Doc comment short description must start with a capital letter
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

📌 Task
Status

Active

Version

4.1

Component

Code

Created by

🇨🇴Colombia yasminOrj

Live updates comments and jobs are added and updated live.
  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024