Coding standards for PHP Stan Level 6 and CS

Created on 31 October 2023, 8 months ago
Updated 1 November 2023, 8 months 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.69.0 2024