Generated subtheme has coding standard errors

Created on 11 September 2023, over 1 year ago

Problem/Motivation

After generating a subtheme from Radix phpqa complains because the includes/theme.inc has this function header:

/**
 * Implements hook_library_info_build().
 * Automatically creates components libraries (Not visible in theme's libraries.yml file)
 * You can directly use the component name as a library, f.x
 *  {{ attach_library('drupal_boilerplate_developing_tests/block') }}.
 */

If should be:

/**
 * Implements hook_library_info_build().
 *
 * Automatically creates components libraries (Not visible in theme's
 * libraries.yml file). You can directly use the component name as a library,
 * f.x {{ attach_library('drupal_boilerplate_developing_tests/block') }}.
 */

I wouldn't care much about thtis but it happens I'm developing some automatic tests for Drupal Boilerplate and they fail. This is becasue we use a Radix subtheme and we run phpqa on the boilerplate after generating the code.

Disclaimer

This is not a credit farming issue, if this is committed without cretit on me I'll completely happy, I just want my tests to be green.

🐛 Bug report
Status

Active

Version

5.1

Component

Code

Created by

🇪🇸Spain tunic Madrid

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024