Fix PHPCS NullabilityTypeMissing

Created on 24 September 2024, 6 months ago

Since a few days ago, after Coder 8.3.25 was released, we get a new phpcs warning

PHP CODE SNIFFER VIOLATION SOURCE SUMMARY
--------------------------------------------------------------------------------------------------
    SOURCE                                                                                   COUNT
--------------------------------------------------------------------------------------------------
[x] SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue.NullabilityTypeMissing  9
--------------------------------------------------------------------------------------------------
A TOTAL OF 9 SNIFF VIOLATIONS WERE FOUND IN 1 SOURCE
--------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SOURCES AUTOMATICALLY (9 VIOLATIONS IN TOTAL)
--------------------------------------------------------------------------------------------------
📌 Task
Status

Active

Version

2.0

Component

Coding Standards

Created by

🇬🇧United Kingdom jonathan1055

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024