Skip to content

PHPStan: correct includes/admin/** #63

Closed
@kraftbj

Description

@kraftbj
			message: '#^Action callback returns string but should not return anything\.$#'
			identifier: return.void
			count: 2
			path: ../includes/admin/admin-upgrade.php

		-
			message: '#^Constant ACF_UPGRADE_VERSION not found\.$#'
			identifier: constant.notFound
			count: 1
			path: ../includes/admin/admin-upgrade.php

		-
			message: '#^Action callback returns string but should not return anything\.$#'
			identifier: return.void
			count: 1
			path: ../includes/admin/admin.php

		-
			message: '#^Access to an undefined property ACF_Admin_Field_Groups\:\:\$not_found_label\.$#'
			identifier: property.notFound
			count: 1
			path: ../includes/admin/post-types/admin-field-groups.php

		-
			message: '#^Action callback returns array but should not return anything\.$#'
			identifier: return.void
			count: 1
			path: ../includes/admin/post-types/admin-field-groups.php

		-
			message: '#^Class ACF_Admin_Post_type referenced with incorrect case\: ACF_Admin_Post_Type\.$#'
			identifier: class.nameCase
			count: 1
			path: ../includes/admin/post-types/admin-post-type.php

		-
			message: '#^Access to an undefined property ACF_Admin_Post_Types\:\:\$not_found_label\.$#'
			identifier: property.notFound
			count: 1
			path: ../includes/admin/post-types/admin-post-types.php

		-
			message: '#^Access to an undefined property ACF_Admin_Taxonomies\:\:\$not_found_label\.$#'
			identifier: property.notFound
			count: 1
			path: ../includes/admin/post-types/admin-taxonomies.php

		-
			message: '#^Access to an undefined property ACF_Admin_UI_Options_Pages\:\:\$not_found_label\.$#'
			identifier: property.notFound
			count: 1
			path: ../includes/admin/post-types/class-acf-admin-ui-options-pages.php

		-
			message: '#^Variable \$field might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/acf-field-group/field.php

		-
			message: '#^Variable \$i might not be defined\.$#'
			identifier: variable.undefined
			count: 2
			path: ../includes/admin/views/acf-field-group/field.php

		-
			message: '#^Variable \$fields might not be defined\.$#'
			identifier: variable.undefined
			count: 3
			path: ../includes/admin/views/acf-field-group/fields.php

		-
			message: '#^Variable \$parent might not be defined\.$#'
			identifier: variable.undefined
			count: 3
			path: ../includes/admin/views/acf-field-group/fields.php

		-
			message: '#^Variable \$group might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/acf-field-group/location-group.php

		-
			message: '#^Variable \$group_id might not be defined\.$#'
			identifier: variable.undefined
			count: 3
			path: ../includes/admin/views/acf-field-group/location-group.php

		-
			message: '#^Variable \$rule might not be defined\.$#'
			identifier: variable.undefined
			count: 8
			path: ../includes/admin/views/acf-field-group/location-rule.php

		-
			message: '#^Variable \$acf_parent_page_choices might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/acf-ui-options-page/create-options-page-modal.php

		-
			message: '#^Variable \$page_title might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/html-options-page.php

		-
			message: '#^Variable \$post_id might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/html-options-page.php

		-
			message: '#^Variable \$active might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/tools/tools.php

		-
			message: '#^Variable \$screen_id might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/tools/tools.php

		-
			message: '#^Constant ACF_VERSION not found\.$#'
			identifier: constant.notFound
			count: 2
			path: ../includes/admin/views/upgrade/network.php

		-
			message: '#^Variable \$button_text might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/upgrade/notice.php

		-
			message: '#^Variable \$button_url might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/upgrade/notice.php

		-
			message: '#^Variable \$confirm might not be defined\.$#'
			identifier: variable.undefined
			count: 1
			path: ../includes/admin/views/upgrade/notice.php

		-
			message: '#^Constant ACF_VERSION not found\.$#'
			identifier: constant.notFound
			count: 1
			path: ../includes/admin/views/upgrade/upgrade.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions