Merge pull request #15 from atarime/fix-php-namespace #2
Annotations
30 errors and 3 warnings
Run PHPStan (2):
admin/class-admin.php#L45
Parameter $contact_form of method Emic\FMPress\Forms\Admin::add_fmpress_property() has invalid type Emic\FMPress\Forms\WPCF7_ContactForm.
|
Run PHPStan (2):
admin/class-admin.php#L74
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#L160
Instantiated class Emic\FMPress\Connect\Admin not found.
|
Run PHPStan (2):
admin/class-admin.php#L163
Call to method add_tabpanel_datasource() on an unknown class Emic\FMPress\Connect\Admin.
|
Run PHPStan (2):
admin/class-admin.php#L229
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
|
Run PHPStan (2):
admin/class-admin.php#L241
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#L248
Call to method collect_mail_tags() on an unknown class Emic\FMPress\Forms\WPCF7_ContactForm.
|
Run PHPStan (2):
admin/class-admin.php#L291
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#L297
Call to method scan_form_tags() on an unknown class Emic\FMPress\Forms\WPCF7_ContactForm.
|
Run PHPStan (2):
admin/class-admin.php#L314
Call to method set_properties() on an unknown class Emic\FMPress\Forms\WPCF7_ContactForm.
|
Run PHPStan (1):
admin/class-admin.php#L160
Instantiated class Emic\FMPress\Connect\Admin not found.
|
Run PHPStan (1):
admin/class-admin.php#L229
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 (1):
admin/class-datasources.php#L193
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
|
Run PHPStan (1):
admin/class-datasources.php#L205
Constant FMPRESS_CONNECT_NAMEPREFIX not found.
|
Run PHPStan (0):
admin/class-admin.php#L160
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#L514
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 (0):
includes/class-forms.php#L123
Action callback returns Emic\FMPress\Forms\WP_Error|void but should not return anything.
|
Run PHPStan (0):
includes/class-forms.php#L124
Action callback returns bool but should not return anything.
|
Run PHPStan (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run PHPStan (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run PHPStan (0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|