- πΊπΈUnited States smustgrave
This was addressed in π Move to gitlab-ci Fixed
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/content_lock.module
-----------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------
396 | ERROR | [x] Short array syntax must be used to define arrays
412 | ERROR | [ ] Type hint "array" missing for $variables
-----------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/content_lock.install
------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------
8 | WARNING | [x] Unused use statement
------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/modules/content_lock_timeout/tests/modules/content_lock_timeout_test/content_lock_timeout_test.info.yml
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/modules/content_lock_timeout/tests/modules/content_lock_timeout_test/src/TimeChanger.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | Missing member variable doc comment
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/modules/content_lock_timeout/tests/src/Functional/ContentLockTimeoutTest.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------
156 | ERROR | [ ] The array declaration extends to column 91 (the limit is 80). The array content should be split up over multiple lines
167 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
--------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/modules/content_lock_timeout/src/Form/SettingsForm.php
----------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------
14 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
----------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/modules/prefetch_cache_test/prefetch_cache_test.module
----------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
----------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/modules/prefetch_cache_test/prefetch_cache_test.info.yml
------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/modules/content_lock_test/content_lock_test.module
------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] Missing file doc comment
3 | ERROR | [x] Missing function doc comment
------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------
FILE: ...Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/modules/content_lock_test/config/install/core.entity_form_display.entity_test_mul_changed.entity_test_mul_changed.compact.yml
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | [x] Expected 1 newline at end of file; 2 found
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/modules/content_lock_test/content_lock_test.info.yml
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | Remove "version" from the info file, it will be added by drupal.org packaging automatically
--------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/src/Functional/ContentLockNodeTest.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------
33 | ERROR | The array declaration extends to column 84 (the limit is 80). The array content should be split up over multiple lines
-------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/src/Functional/ContentLockTestTrait.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------
10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
-------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/src/FunctionalJavascript/Integration/PrefetchCacheTest.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------
12 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
--------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/src/FunctionalJavascript/ContentLockJavascriptTestBase.php
--------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------
10 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
--------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/tests/src/FunctionalJavascript/ContentLockEntityTest.php
------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------
9 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/Form/ContentLockSettingsForm.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AND 1 WARNING AFFECTING 10 LINES
---------------------------------------------------------------------------------------------------------------------------------------------
20 | WARNING | [ ] The class short comment should describe what the class does and not simply repeat the class name
170 | ERROR | [x] Expected 1 space before "?"; 0 found
188 | ERROR | [x] Expected 1 space before "?"; 0 found
240 | ERROR | [ ] The array declaration extends to column 135 (the limit is 80). The array content should be split up over multiple lines
242 | ERROR | [ ] The array declaration extends to column 110 (the limit is 80). The array content should be split up over multiple lines
243 | ERROR | [x] Expected 1 space before "?"; 0 found
243 | ERROR | [x] Expected 1 space after ":"; 0 found
252 | ERROR | [ ] The array declaration extends to column 92 (the limit is 80). The array content should be split up over multiple lines
253 | ERROR | [x] Expected 1 space before "?"; 0 found
253 | ERROR | [x] Expected 1 space after ":"; 0 found
262 | ERROR | [ ] The array declaration extends to column 153 (the limit is 80). The array content should be split up over multiple lines
263 | ERROR | [ ] The array declaration extends to column 189 (the limit is 80). The array content should be split up over multiple lines
---------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/Ajax/LockFormCommand.php
--------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------
14 | ERROR | Missing member variable doc comment
16 | ERROR | Missing member variable doc comment
21 | ERROR | Missing parameter comment
22 | ERROR | Missing parameter comment
--------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/Plugin/Action/BreakLockDeriver.php
-------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------
17 | WARNING | [x] '@TODO: This class should extend EntityActionDeriverBase in D8.5.' should match the format '@todo Fix problem X here.'
-------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/EventSubscriber/SettingsSaveEventSubscriber.php
-------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Missing member variable doc comment
-------------------------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/ContentLock/ContentLock.php
-----------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
-----------------------------------------------------------------------------------------------------------
402 | ERROR | [ ] @throws tag comment must end with a full stop
542 | ERROR | [ ] Description for the @return value is missing
545 | ERROR | [x] Expected 1 space before "?"; 0 found
-----------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/Routing/ContentLockRoutes.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------------
15 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
18 | ERROR | Missing member variable doc comment
-----------------------------------------------------------------------------------------------------------------
FILE: /home/guilhermevp/Ambientes/drupal-9.1.5/modules/contrib/content_lock/src/Controller/ContentLockController.php
--------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 5 LINES
--------------------------------------------------------------------------------------------------------------------
20 | WARNING | The class short comment should describe what the class does and not simply repeat the class name
49 | ERROR | Parameter $langcode is not described in comment
49 | ERROR | Parameter $form_op is not described in comment
52 | ERROR | Missing parameter comment
53 | ERROR | Missing parameter comment
55 | ERROR | Description for the @return value is missing
--------------------------------------------------------------------------------------------------------------------
Time: 558ms; Memory: 12MB
Closed: outdated
2.0
Code
It involves compliance with, or the content of coding standards. Requires broad community agreement.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This was addressed in π Move to gitlab-ci Fixed