Fix coding standards

Created on 22 March 2023, over 1 year ago
Updated 8 October 2023, about 1 year ago

Problem/Motivation

See https://www.drupal.org/node/2721679/qa

/var/www/html/modules/contrib/dropdown_language/config/schema/dropdown_language.schema.yml
line 26 Expected indentation of 6 spaces but found 8 spaces. (yml/indent)
27 Expected indentation of 6 spaces but found 8 spaces. (yml/indent)
README.md
55 Line exceeds 80 characters; contains 81 characters
59 Line exceeds 80 characters; contains 85 characters
61 Line exceeds 80 characters; contains 88 characters
src/Plugin/Block/DropdownLanguage.php
55 Data types in @var tags need to be fully namespaced
124 Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
161 Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
192 Use null coalesce operator instead of ternary operator.
271 Use null coalesce operator instead of ternary operator.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024