Skip to content

Merge pull request #19 from atarime/remove-duplicate-sanitization-pro… #5

Merge pull request #19 from atarime/remove-duplicate-sanitization-pro…

Merge pull request #19 from atarime/remove-duplicate-sanitization-pro… #5

Triggered via push December 5, 2024 09:48
Status Success
Total duration 42s
Artifacts

phpstan.yml

on: push
Matrix: Run PHPStan
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 3 warnings
Run PHPStan (0): admin/class-admin.php#L26
Callback expects 1 parameter, $accepted_args is set to 2.
Run PHPStan (0): admin/class-admin.php#L28
Callback expects 1 parameter, $accepted_args is set to 2.
Run PHPStan (0): admin/class-admin.php#L159
Instantiated class Emic\FMPress\Connect\Admin not found.
Run PHPStan (0): admin/class-datasources.php#L50
Action callback returns string|null but should not return anything.
Run PHPStan (0): admin/class-datasources.php#L53
Action callback returns array but should not return anything.
Run PHPStan (0): admin/class-datasources.php#L509
is_wp_error(array|Emic\FMPress\Connect\WP_Error) will always evaluate to false.
Run PHPStan (0): fmpress-forms.php#L83
Action callback returns bool but should not return anything.
Run PHPStan (0): includes/class-fm-value-list.php#L74
Access to an undefined property Emic\FMPress\Forms\Fm_Value_List::$datasource_id.
Run PHPStan (0): includes/class-fm-value-list.php#L75
Access to an undefined property Emic\FMPress\Forms\Fm_Value_List::$datasource.
Run PHPStan (0): includes/class-forms.php#L119
Instantiated class Emic\FMPress\Forms\Update_Form not found.
Run PHPStan (2): admin/class-admin.php#L26
Callback expects 1 parameter, $accepted_args is set to 2.
Run PHPStan (2): admin/class-admin.php#L28
Callback expects 1 parameter, $accepted_args is set to 2.
Run PHPStan (2): admin/class-admin.php#L73
Parameter $contact_form of method Emic\FMPress\Forms\Admin::generate_fmpress_settings() has invalid type Emic\FMPress\Forms\WPCF7_ContactForm.
Run PHPStan (2): admin/class-admin.php#L159
Instantiated class Emic\FMPress\Connect\Admin not found.
Run PHPStan (2): admin/class-admin.php#L162
Call to method add_tabpanel_datasource() on an unknown class Emic\FMPress\Connect\Admin.
Run PHPStan (2): admin/class-admin.php#L228
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
Run PHPStan (2): admin/class-admin.php#L240
Parameter $contact_form of method Emic\FMPress\Forms\Admin::assign_fields_section() has invalid type Emic\FMPress\Forms\WPCF7_ContactForm.
Run PHPStan (2): admin/class-admin.php#L247
Call to method collect_mail_tags() on an unknown class Emic\FMPress\Forms\WPCF7_ContactForm.
Run PHPStan (2): admin/class-admin.php#L290
Parameter $contact_form of method Emic\FMPress\Forms\Admin::save_fmpress_settings() has invalid type Emic\FMPress\Forms\WPCF7_ContactForm.
Run PHPStan (2): admin/class-admin.php#L296
Call to method scan_form_tags() on an unknown class Emic\FMPress\Forms\WPCF7_ContactForm.
Run PHPStan (1): admin/class-admin.php#L26
Callback expects 1 parameter, $accepted_args is set to 2.
Run PHPStan (1): admin/class-admin.php#L28
Callback expects 1 parameter, $accepted_args is set to 2.
Run PHPStan (1): admin/class-admin.php#L159
Instantiated class Emic\FMPress\Connect\Admin not found.
Run PHPStan (1): admin/class-admin.php#L228
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
Run PHPStan (1): admin/class-datasources.php#L50
Action callback returns string|null but should not return anything.
Run PHPStan (1): admin/class-datasources.php#L53
Action callback returns array but should not return anything.
Run PHPStan (1): admin/class-datasources.php#L164
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
Run PHPStan (1): admin/class-datasources.php#L179
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
Run PHPStan (1): admin/class-datasources.php#L180
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
Run PHPStan (1): admin/class-datasources.php#L192
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
Run PHPStan (0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run PHPStan (2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run PHPStan (1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636