fix: php lint issues #1163
test.yml
on: push
CSS Lint
19s
JS Lint
24s
Matrix: PHP Coding Standards
Matrix: PHP Lint
Matrix: PHPStan
Matrix: PHPUnit
Annotations
36 errors
|
PHPStan (8.2):
src/Repository/Field/InputField.php#L0
Ignored error pattern #^Property BracketSpace\\Notification\\Repository\\Field\\InputField\:\:\$type \(string\) does not accept mixed\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/InputField.php was not matched in reported errors.
|
|
PHPStan (8.2):
src/Repository/Field/InputField.php#L0
Ignored error pattern #^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/InputField.php was not matched in reported errors.
|
|
PHPStan (8.2):
src/Repository/Field/ImageField.php#L42
Cannot cast mixed to string.
|
|
PHPStan (8.2):
src/Repository/Field/ImageField.php#L0
Ignored error pattern #^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/ImageField.php was not matched in reported errors.
|
|
PHPStan (8.2):
src/Repository/Field/ColorPickerField.php#L29
Cannot cast mixed to string.
|
|
PHPStan (8.2):
src/Repository/Field/ColorPickerField.php#L0
Ignored error pattern #^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/ColorPickerField.php was not matched in reported errors.
|
|
PHPStan (8.2):
src/Integration/WordPressEmails.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Integration\\WordPressEmails\:\:getSettingForUserRole\(\) is unused\.$# in path /home/runner/work/Notification/Notification/src/Integration/WordPressEmails.php was not matched in reported errors.
|
|
PHPStan (8.2):
compat/src-deprecated/Utils/Interfaces/Cacheable.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Utils\\Interfaces\\Cacheable\:\:set\(\) has no return type specified\.$# in path /home/runner/work/Notification/Notification/compat/src-deprecated/Utils/Interfaces/Cacheable.php was not matched in reported errors.
|
|
PHPStan (8.2):
compat/src-deprecated/Utils/Interfaces/Cacheable.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Utils\\Interfaces\\Cacheable\:\:delete\(\) has no return type specified\.$# in path /home/runner/work/Notification/Notification/compat/src-deprecated/Utils/Interfaces/Cacheable.php was not matched in reported errors.
|
|
PHPStan (8.2):
compat/src-deprecated/Utils/Interfaces/Cacheable.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Utils\\Interfaces\\Cacheable\:\:add\(\) has no return type specified\.$# in path /home/runner/work/Notification/Notification/compat/src-deprecated/Utils/Interfaces/Cacheable.php was not matched in reported errors.
|
|
PHPStan (8.0):
src/Repository/Field/InputField.php#L0
Ignored error pattern #^Property BracketSpace\\Notification\\Repository\\Field\\InputField\:\:\$type \(string\) does not accept mixed\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/InputField.php was not matched in reported errors.
|
|
PHPStan (8.0):
src/Repository/Field/InputField.php#L0
Ignored error pattern #^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/InputField.php was not matched in reported errors.
|
|
PHPStan (8.0):
src/Repository/Field/ImageField.php#L42
Cannot cast mixed to string.
|
|
PHPStan (8.0):
src/Repository/Field/ImageField.php#L0
Ignored error pattern #^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/ImageField.php was not matched in reported errors.
|
|
PHPStan (8.0):
src/Repository/Field/ColorPickerField.php#L29
Cannot cast mixed to string.
|
|
PHPStan (8.0):
src/Repository/Field/ColorPickerField.php#L0
Ignored error pattern #^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$# in path /home/runner/work/Notification/Notification/src/Repository/Field/ColorPickerField.php was not matched in reported errors.
|
|
PHPStan (8.0):
src/Integration/WordPressEmails.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Integration\\WordPressEmails\:\:getSettingForUserRole\(\) is unused\.$# in path /home/runner/work/Notification/Notification/src/Integration/WordPressEmails.php was not matched in reported errors.
|
|
PHPStan (8.0):
compat/src-deprecated/Utils/Interfaces/Cacheable.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Utils\\Interfaces\\Cacheable\:\:set\(\) has no return type specified\.$# in path /home/runner/work/Notification/Notification/compat/src-deprecated/Utils/Interfaces/Cacheable.php was not matched in reported errors.
|
|
PHPStan (8.0):
compat/src-deprecated/Utils/Interfaces/Cacheable.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Utils\\Interfaces\\Cacheable\:\:delete\(\) has no return type specified\.$# in path /home/runner/work/Notification/Notification/compat/src-deprecated/Utils/Interfaces/Cacheable.php was not matched in reported errors.
|
|
PHPStan (8.0):
compat/src-deprecated/Utils/Interfaces/Cacheable.php#L0
Ignored error pattern #^Method BracketSpace\\Notification\\Utils\\Interfaces\\Cacheable\:\:add\(\) has no return type specified\.$# in path /home/runner/work/Notification/Notification/compat/src-deprecated/Utils/Interfaces/Cacheable.php was not matched in reported errors.
|
|
PHPStan (8.0)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (7.4)
The operation was canceled.
|
|
PHPStan (7.4)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (8.1)
The operation was canceled.
|
|
PHPStan (8.1)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPStan (8.3)
The operation was canceled.
|
|
PHPStan (8.3)
The strategy configuration was canceled because "phpstan._8_2" failed
|
|
PHPUnit (8.1)
Process completed with exit code 1.
|
|
PHPUnit (8.2)
The operation was canceled.
|
|
PHPUnit (8.2)
The strategy configuration was canceled because "phpunit._8_1" failed
|
|
PHPUnit (8.0)
The operation was canceled.
|
|
PHPUnit (8.0)
The strategy configuration was canceled because "phpunit._8_1" failed
|
|
PHPUnit (7.4)
The operation was canceled.
|
|
PHPUnit (7.4)
The strategy configuration was canceled because "phpunit._8_1" failed
|
|
PHPUnit (8.3)
The operation was canceled.
|
|
PHPUnit (8.3)
The strategy configuration was canceled because "phpunit._8_1" failed
|