Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294415

Convert use of array() syntax in sentences

$
0
0

Problem/Motivation

Followup from #2874067: Fix Drupal.Commenting.DocCommentLongArraySyntax coding standard.

This is to fix usages of array() in comments that are in sentences and should not be using an @code/@endcode block. These are not discovered by the sniff. The sniff only detects array() in code and in side @code/@endcode blocks.

Instances can be found by applying the diff from #2874067: Fix Drupal.Commenting.DocCommentLongArraySyntax coding standard and then using the following grep.

grep -r "\barray(" * | grep -F \* | grep -v "vendor" | grep -v "node_modules"

This will find more instances than are being fixed here. The ones not done here are in comments that should be converted to using an @code/@endcode block.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>