Skip to content

[v6] - PHP 8.2#1761

Merged
DerManoMann merged 15 commits into
zircote:masterfrom
DerManoMann:v6
Nov 24, 2025
Merged

[v6] - PHP 8.2#1761
DerManoMann merged 15 commits into
zircote:masterfrom
DerManoMann:v6

Conversation

@DerManoMann
Copy link
Copy Markdown
Collaborator

@DerManoMann DerManoMann commented Apr 24, 2025

Fixes #1669

  • Update general docs
  • Flesh out migration guide
  • Refactor Util helper
  • Remove other deprecated elements (if any)
  • Remove Generator::scan() and update Generator reference
  • Add phpdoc parser / type handling refactor (adding to v5 first)
  • Remove @requires PHP 8.1 test annotations
  • Remove code checks for 8.1/8.2 features
  • Remove AbstractAnnotation __set() and __get() methods
  • Bump phpunit deps to ^10.5
  • Remove BC fix for encoding definitions not using the new Encoding class
  • Improve TypeInfoTypeResolverhandling of type composition: [TypeInfoTypeResolver] handle composite types DerManoMann/swagger-php#6
  • Bump deps (again) to PHP 8.2
  • Cut 5.x branch to switch master over to 6.x

@DerManoMann DerManoMann marked this pull request as draft April 26, 2025 11:32
@Kiina
Copy link
Copy Markdown
Contributor

Kiina commented Apr 30, 2025

So is the type-info-extras not landing in v6? Since it requires 8.2 while the min version is bumped to 8.1.

@DerManoMann
Copy link
Copy Markdown
Collaborator Author

So is the type-info-extras not landing in v6? Since it requires 8.2 while the min version is bumped to 8.1.

The type-info code itself is ready, including a rough polyfill. Hopefully it will be more consistent than what we have now and if type-info-extras is detected it will use that instead.

I thought about a PR to just add that so it can be reviewed - but not used yet; maybe worth doing.

@DerManoMann DerManoMann force-pushed the v6 branch 6 times, most recently from d47b25e to 204061a Compare July 23, 2025 04:40
@DerManoMann DerManoMann force-pushed the v6 branch 2 times, most recently from d4a0dba to e0a0d2c Compare August 12, 2025 04:01
@DerManoMann DerManoMann force-pushed the v6 branch 2 times, most recently from c6ea0e1 to b1f4103 Compare September 24, 2025 03:06
@DerManoMann DerManoMann force-pushed the v6 branch 2 times, most recently from 08ed589 to 6149b4f Compare October 9, 2025 01:54
@DerManoMann DerManoMann marked this pull request as ready for review October 10, 2025 07:09
@DerManoMann DerManoMann force-pushed the v6 branch 3 times, most recently from a778055 to c742982 Compare October 16, 2025 03:20
@DerManoMann DerManoMann force-pushed the v6 branch 4 times, most recently from cecc0ca to 1214c25 Compare November 4, 2025 23:41
@DerManoMann DerManoMann force-pushed the v6 branch 3 times, most recently from d51101e to a178b82 Compare November 17, 2025 20:57
@DerManoMann DerManoMann changed the title [v6] - PHP 8.1 [v6] - PHP 8.2 Nov 23, 2025
@DerManoMann DerManoMann force-pushed the v6 branch 3 times, most recently from 9ad8d80 to 6994989 Compare November 23, 2025 23:51
@DerManoMann DerManoMann force-pushed the v6 branch 2 times, most recently from 3ff8106 to c743a24 Compare November 24, 2025 01:41
@DerManoMann DerManoMann merged commit 61416ad into zircote:master Nov 24, 2025
14 checks passed
@DerManoMann DerManoMann deleted the v6 branch November 24, 2025 20:55
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.

[v6] Bump PHP deps to 8.2

2 participants