OpenAPITools / OpenAPITools/openapi-generator

[php] PHP 8.0 end of life

Open
#17,508 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: PHP Enhancement: Compatibility Good First Issue help wanted Server: PHP
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Here we go again
PHP 8.0 reached end of life at 26 Nov 2023

End of life - A release that is no longer supported. Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.

PHP: Supported Versions:
  • 8.0 until 26 Nov 2023
  • 8.1 until 26 Nov 2024
  • 8.2 until 8 Dec 2025

It seems that we need to change minimum PHP version to php: ^8.1 in all php generators. We should not only change composer requirement, but check with extra caution that Composer actually can resolve all the deps under PHP 8.1. In other words check that generator builds and actually works.

Current Requirements:
Generator PHP version
php client ^7.4 || ^8.0
Laravel server >= 7.2.5
Lumen server >= 7.2.5
Slim4 server ^7.4 || ^8.0
Symfony server >=7.4.0|>=8.0.2
php-mezzio-ph server ^ 7.3 || ^8.0
php-mezzio-ph-modern server ^8.0
php-dt client ^7.3 || ^8.0
php-dt-modern client ^8.0

cc @jebentier @dkarlovi @mandrean @jfastnacht @renepardon
cc @Articus as author of php-mezzio-ph, php-mezzio-ph-modern, php-dt client, php-dt-modern client

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Composer requirements for the listed PHP generators: php client, Laravel, Lumen, Slim4, Symfony, php-mezzio-ph, php-mezzio-ph-modern, php-dt, and php-dt-modern. Check that each generator's dependencies resolve under PHP 8.1 and that the generated clients or servers build and work; done means all applicable requirements and compatibility checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.