Fix the issues reported by phpcs
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3344598. --> Reported by: [samitk](https://www.drupal.org/user/961934) Related to !3 !2 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Getting following error/warnings.</p> <p>FILE: /var/www/html/modules/contrib/admin_toolbar_tasks/admin_toolbar_tasks.module<br> --------------------------------------------------------------------------------------------------------------------------------------<br> FOUND 1 ERROR AFFECTING 1 LINE<br> --------------------------------------------------------------------------------------------------------------------------------------<br> 19 | ERROR | The array declaration extends to column 102 (the limit is 80). The array content should be split up over multiple lines<br> --------------------------------------------------------------------------------------------------------------------------------------</p> <p>FILE: /var/www/html/modules/contrib/admin_toolbar_tasks/src/AdminToolbarTasksBuilder.php<br> ----------------------------------------------------------------------------------------<br> FOUND 8 ERRORS AFFECTING 8 LINES<br> ----------------------------------------------------------------------------------------<br> 13 | ERROR | [x] Missing class doc comment<br> 15 | ERROR | [ ] Missing member variable doc comment<br> 17 | ERROR | [ ] Missing member variable doc comment<br> 19 | ERROR | [x] Missing function doc comment<br> 24 | ERROR | [x] Missing function doc comment<br> 31 | ERROR | [x] Missing function doc comment<br> 35 | ERROR | [x] Missing function doc comment<br> 48 | ERROR | [x] Missing function doc comment<br> ----------------------------------------------------------------------------------------<br> PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY<br> ----------------------------------------------------------------------------------------</p> <p>Time: 3.02 secs; Memory: 6MB</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Run following command</p> <p>phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/admin_toolbar_tasks/</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Above error/warnings need to be fixed.</p>
issue