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

Fix 'Drupal.Semantics.FunctionT.NotLiteralString' coding standard

$
0
0

Problem/Motivation

Part of #2571965: [meta] Fix PHP coding standards in core.
Sniff for coding standard is not implemented.

<rule ref="Drupal.Semantics.FunctionT.NotLiteralString"/>

Steps to reproduce

Proposed resolution

Add <rule ref="Drupal.Semantics.FunctionT.NotLiteralString"/> to phpcs.xml.dist
Add ignore lines where it can't be changed to using only literals. That is currently 70 lines.

Remaining tasks

Review
Commit

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294402

Trending Articles



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