Fix the issues reported by phpcs
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3335044. -->
Reported by: [samitk](https://www.drupal.org/user/961934)
Related to !2 !1
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Getting following error/warnings</p>
<p>FILE: /var/www/html/modules/contrib/language_switcher_menu/README.md<br>
----------------------------------------------------------------------<br>
FOUND 0 ERRORS AND 9 WARNINGS AFFECTING 9 LINES<br>
----------------------------------------------------------------------<br>
12 | WARNING | Line exceeds 80 characters; contains 170 characters<br>
32 | WARNING | Line exceeds 80 characters; contains 193 characters<br>
33 | WARNING | Line exceeds 80 characters; contains 112 characters<br>
35 | WARNING | Line exceeds 80 characters; contains 305 characters<br>
36 | WARNING | Line exceeds 80 characters; contains 160 characters<br>
48 | WARNING | Line exceeds 80 characters; contains 315 characters<br>
52 | WARNING | Line exceeds 80 characters; contains 479 characters<br>
98 | WARNING | Line exceeds 80 characters; contains 84 characters<br>
100 | WARNING | Line exceeds 80 characters; contains 164 characters<br>
----------------------------------------------------------------------</p>
<p>FILE: /var/www/html/modules/contrib/language_switcher_menu/src/Form/SettingsForm.php<br>
------------------------------------------------------------------------------------<br>
FOUND 1 ERROR AFFECTING 1 LINE<br>
------------------------------------------------------------------------------------<br>
112 | ERROR | [x] Use null coalesce operator instead of ternary operator.<br>
------------------------------------------------------------------------------------<br>
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY<br>
------------------------------------------------------------------------------------</p>
<p>Time: 1.09 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/language_switcher_menu/</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Above error/warnings need to be fixed.</p>
issue