Skip to content

With Plugin Check 1.7.0 action no longer emits an artifact #449

@andreiglingeanu

Description

@andreiglingeanu

Hello,

After the last version of the PCP plugin was released the action no longer emits an artifact and exists with code 1 for some reason.

Error: Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "blc_fail_wp_version".
Error: current_user_can_for_blog() has been deprecated since WordPress version 6.7.0. Use current_user_can_for_site() instead.
Error: current_user_can_for_blog() has been deprecated since WordPress version 6.7.0. Use current_user_can_for_site() instead.
Error: current_user_can_for_blog() has been deprecated since WordPress version 6.7.0. Use current_user_can_for_site() instead.
Error: The "blocksy:ext:woocommerce" prefix is not a valid namespace/function/class/variable/constant prefix in PHP.
Error: Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "implode(':', $filter)".
Error: Process completed with exit code 1.

This is the configuration that I use:

      - name: Run plugin check
        uses: wordpress/plugin-check-action@v1
        with:
          build-dir: './build_tmp/blocksy-companion'
          strict: true

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