Project

General

Profile

Actions

Evolution #1766

closed

Typehinting

Added by Johan Cwiklinski 11 months ago. Updated 9 months ago.

Status:
Fermé
Priority:
Normal
Category:
Core
Target version:
Start date:
01/03/2024
Due date:
% Done:

100%

Estimated time:

Description

Before PHP 8.1, many native PHP types cannot be used to typehint class variables or methods; nor it was possible to use | to handle multiple types at once.

This is not required to have typehinting, but that can avoid errors; and make more simple to work with modern development software.

The main problem is all plugins will probably become incompatible mainly because methods signature changes.

Actions #1

Updated by Johan Cwiklinski 11 months ago

A pull request has been opened:
https://github.com/galette/galette/pull/386

Actions #2

Updated by Johan Cwiklinski 11 months ago

  • Status changed from Nouveau to In Progress
Actions #3

Updated by Johan Cwiklinski 11 months ago

  • Status changed from In Progress to Résolu
  • % Done changed from 0 to 100
Actions #4

Updated by Johan Cwiklinski 9 months ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF