Coding standards for PHP Stan Level 6 and CS

Created on 31 October 2023, about 1 year ago
Updated 1 November 2023, about 1 year ago

Problem/Motivation

Coding standards for PHP Stan Level 6 and CS.

There are a few points left:

  • There are several issues with non-empty-array in empty() always exists and is always falsy. We should make sure that we have no dead code here. I am not quite sure, if this is the case here.
  • There are functions like mcrypt_decrype, which are removed in PHP 7.2 where we might need a replacement.
  • The instantiated class in hackedProject cannot be found. It is found in the IDE, though. It is in the require-dev /code>part of the <code>composer.json.

The summary can be found here: https://git.drupalcode.org/project/drd_agent/-/pipelines/42072/codequali...

Commits are directly pushed to the 4.1.x branch

📌 Task
Status

Fixed

Version

4.1

Component

Code

Created by

🇩🇪Germany danielspeicher Steisslingen

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

Comments & Activities

Production build 0.71.5 2024