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

Allow phpstan/phpdoc-parser 2 (which in turns allow PHPstan 2, Larastan 3) for api-platform/laravel #6900

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

ziming
Copy link
Contributor

@ziming ziming commented Jan 9, 2025

Hi,

I'm trying to install api-platform/laravel on a codebase with larastan 3 which failed as it throw error saying phpstan/phpdoc-parser must be at least 2.0. So I edited composer.json to allow 2.0 too

Then i also allow larastan 3.0 since phpstan/phpdoc-parser 2.0 require phpstan 2.0 (larastan 3.x use phpstan 2.x, larastan 3.x use phpstan 1.x)

@ziming ziming changed the title Allow phpstan/phpdoc-parser 2.0 Allow phpstan/phpdoc-parser 2.0 for api-platform/laravel Jan 9, 2025
@ziming ziming changed the title Allow phpstan/phpdoc-parser 2.0 for api-platform/laravel Allow phpstan/phpdoc-parser 2.0 (which in turns allow PHPstan 2, Larastan 3) for api-platform/laravel Jan 9, 2025
@ziming ziming changed the title Allow phpstan/phpdoc-parser 2.0 (which in turns allow PHPstan 2, Larastan 3) for api-platform/laravel Allow phpstan/phpdoc-parser 2 (which in turns allow PHPstan 2, Larastan 3) for api-platform/laravel Jan 9, 2025
@soyuka soyuka changed the base branch from main to 4.0 January 9, 2025 15:53
@soyuka soyuka force-pushed the patch-1 branch 2 times, most recently from baa4b8e to fbcd8d5 Compare January 9, 2025 17:00
@soyuka soyuka merged commit 05cbd0f into api-platform:4.0 Jan 10, 2025
59 checks passed
@ziming ziming deleted the patch-1 branch January 10, 2025 09:50
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