Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPStan: correct includes/admin/** #63

Open
kraftbj opened this issue Mar 4, 2025 · 0 comments
Open

PHPStan: correct includes/admin/** #63

kraftbj opened this issue Mar 4, 2025 · 0 comments

Comments

@kraftbj
Copy link
Collaborator

kraftbj commented Mar 4, 2025

			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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant