Skip to content

chore(stan): WP-CLI stubs so the CLI command analyzes clean - #79

Merged
cport1 merged 1 commit into
mainfrom
chore/wpcli-stubs
Aug 18, 2026
Merged

chore(stan): WP-CLI stubs so the CLI command analyzes clean#79
cport1 merged 1 commit into
mainfrom
chore/wpcli-stubs

Conversation

@cport1

@cport1 cport1 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

phpstan cannot see WP-CLI's symbols (they exist only under the CLI), so
class-webdecoy-cli.php produced 20 unknown-class findings. A minimal
hand-written stub (no composer binary available in this environment)
declares exactly the symbols the command uses.

phpstan cannot see WP-CLI's symbols (they exist only under the CLI), so
class-webdecoy-cli.php produced 20 unknown-class findings. A minimal
hand-written stub (no composer binary available in this environment)
declares exactly the symbols the command uses.
@cport1
cport1 merged commit 54428ec into main Aug 18, 2026
@cport1
cport1 deleted the chore/wpcli-stubs branch August 18, 2026 03:17
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

Successfully merging this pull request may close these issues.

1 participant