Skip to content

Adjust the wordpress-stubs dependency version range so version 7.0 can be used#307

Merged
szepeviktor merged 1 commit into
szepeviktor:2.xfrom
johnbillion:wp7
May 22, 2026
Merged

Adjust the wordpress-stubs dependency version range so version 7.0 can be used#307
szepeviktor merged 1 commit into
szepeviktor:2.xfrom
johnbillion:wp7

Conversation

@johnbillion
Copy link
Copy Markdown
Contributor

Attempting to install this package alongside php-stubs/wordpress-stubs at version 7.0.0 results in an unresolvable dependency, because this package depends on php-stubs/wordpress-stubs with ^6.6.2, which 7.0.0 does not satisfy.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires szepeviktor/phpstan-wordpress 2.0.3 -> satisfiable by szepeviktor/phpstan-wordpress[v2.0.3].
    - szepeviktor/phpstan-wordpress v2.0.3 requires php-stubs/wordpress-stubs ^6.6.2 -> found php-stubs/wordpress-stubs[v6.6.2, ..., v6.9.4] but it conflicts with your root composer.json require (7.0.0).

This fixes that.

@szepeviktor
Copy link
Copy Markdown
Owner

Thank you.

@szepeviktor szepeviktor merged commit 84577e2 into szepeviktor:2.x May 22, 2026
1 check failed
@johnbillion johnbillion deleted the wp7 branch May 22, 2026 16:25
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.

2 participants