Problem/Motivation

In order to enable the sniff 'Drupal.NamingConventions.ValidVariableName.LowerCamelName' many class variables are ignored by this sniff. This issue is to fix those instances. These are class properties that need to be renamed. They also need to be deprecated according to how to deprecate properties..

Proposed resolution

Scope issues and work in child issues.
Search for // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName to find instances to fix.

Remaining tasks

Confirm that all instances of // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName are removed or there is a documented reason it must be ignored.

Done

User interface changes

API changes

Data model changes

Release notes snippet

Comments

quietone created an issue. See original summary.

quietone credited dawehner.

quietone credited Garbar.

quietone credited leeotzu.

quietone credited YesCT.

quietone’s picture

Issue summary: View changes

I have closed the Views issues that was making these changes by file. I am adding credit. #2052421: [META] Rename Views properties to core standards.

That issue has about 10 child issues that may have patches. The work done on those issues should be credited on the appropriate new child issue here that is scoped the way we do it now. I have noted that in the Issue Summary.

Version: 10.0.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Title: [meta] Fix Drupal.NamingConventions.ValidVariableName.LowerCamelName » [meta] Fix class properties violating Drupal.NamingConventions.ValidVariableName.LowerCamelName
Issue summary: View changes

Changing this to fixing the violations that are currently ignored by // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName

quietone’s picture

Issue summary: View changes

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.