Skip to content

Fix running PHPStan. #78

Fix running PHPStan.

Fix running PHPStan. #78

Triggered via push August 12, 2024 15:47
Status Failure
Total duration 46s
Artifacts

ci.yaml

on: push
Matrix: phplint / phplint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan / phpstan: src/CompanyNameController.php#L62
Parameter #3 $func of function edd_add_email_tag expects string, array<int, $this(Pronamic\WordPress\Pay\Extensions\EasyDigitalDownloads\CompanyNameController)|string> given.
phpstan / phpstan: src/CompanyNameController.php#L318
Parameter #1 $text of function esc_attr expects string, mixed given.
phpstan / phpstan: src/CompanyNameController.php#L353
Cannot access offset 'address' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L353
Cannot access offset 'line1' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L354
Cannot access offset 'address' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L354
Cannot access offset 'line2' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L365
Cannot access offset 'address' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L365
Cannot access offset 'line1' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L366
Cannot access offset 'address' on mixed.
phpstan / phpstan: src/CompanyNameController.php#L366
Cannot access offset 'line2' on mixed.