Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Change to explicit nullable type to avoid rfc/deprecate-implicitly-nullable-types warning

Aperta
#63 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, php
Ambito
ci-cd, testing

Direzione di ricerca

Inizia eseguendo la suite di test su PHP 8.4 per riprodurre l’avviso di deprecazione, quindi individua le definizioni di tipo nullable implicito menzionate nell’attività. Aggiorna la strategia di GitHub Actions fino a PHP 8.4 e verifica che i test vengano eseguiti senza l’avviso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

PHP 8.4 now displays a Deprecated warning for defining an implicit nullable type by assignment.
link: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
I would like this warning to be fixed, as it makes it difficult to see the results of tests when this warning is displayed continuously.

How to reproduce

The warning can be confirmed by running test.

Purpose

I am using this project to write tests.
php 8.4 has been released.
After updating to php 8.4, we found that a warning is displayed and interferes with the display of test results.

Tasks.
  • Cover the strategy matrix of github actions up to php 8.4.
  • Change implicit nullable type definitions to explicit nullable type definitions.
Miscellaneous

PullRequest has been created.
I would appreciate your confirmation.

PR
Lingua principale
PHP
Stelle
158
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Codeception/Specify

Tutte le issue di Codeception/Specify

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.