Skip to content

fix: 7119 parameter array shape uses invalid syntax#7151

Closed
nesl247 wants to merge 4 commits into
api-platform:mainfrom
nesl247:fix-array-shape-param-parameters
Closed

fix: 7119 parameter array shape uses invalid syntax#7151
nesl247 wants to merge 4 commits into
api-platform:mainfrom
nesl247:fix-array-shape-param-parameters

Conversation

@nesl247

@nesl247 nesl247 commented May 15, 2025

Copy link
Copy Markdown
Contributor
Q A
Branch? 4.1
Tickets Closes #7119
License MIT
Doc PR N/A

Fixes the array syntax for Parameter::$schema. Similar to #7150.

@nesl247

nesl247 commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

The tests are failing because I just realized api-platform isn't on phpstan 2. Is there a reason for that?

@soyuka soyuka mentioned this pull request May 16, 2025
@soyuka

soyuka commented May 16, 2025

Copy link
Copy Markdown
Member

right when phpstan 2.0 was released we couldn't as phpstan-prophecy wasn't updated but it looks fine now, let me try at #7154

@soyuka

soyuka commented Jun 27, 2025

Copy link
Copy Markdown
Member

we merged the pr for phpstan 2 on the main branch (it'll be out in a few months anyways)

@nesl247 nesl247 changed the base branch from 4.1 to main July 8, 2025 20:26
Comment thread src/Metadata/Parameter.php Outdated
@VincentLanglet VincentLanglet mentioned this pull request Sep 3, 2025
@stale

stale Bot commented Oct 18, 2025

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the stale label Oct 18, 2025
@stale stale Bot closed this Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid type for Parameter::$schema according to phpstan

2 participants