src/AbstractView.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $_addLater is not named in camelCase.
Open

abstract class AbstractView
{
    use AppScopeTrait;
    use ContainerTrait {
        add as private _add;
Severity: Minor
Found in src/AbstractView.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

The property $_rendered is not named in camelCase.
Open

abstract class AbstractView
{
    use AppScopeTrait;
    use ContainerTrait {
        add as private _add;
Severity: Minor
Found in src/AbstractView.php by phpmd

CamelCasePropertyName

Since: 0.2

It is considered best practice to use the camelCase notation to name attributes.

Example

class ClassName {
    protected $property_name;
}

Source

Property name "$_addLater" should not be prefixed with an underscore to indicate visibility
Open

    protected ?array $_addLater = [];
Severity: Minor
Found in src/AbstractView.php by phpcodesniffer

Property name "$_rendered" should not be prefixed with an underscore to indicate visibility
Open

    protected bool $_rendered = false;
Severity: Minor
Found in src/AbstractView.php by phpcodesniffer

There are no issues that match your filters.

Category
Status