Codeception / Codeception/Specify
Change to explicit nullable type to avoid rfc/deprecate-implicitly-nullable-types warning
- 主要語言
- PHP
- 星號
- 158
- 分支
- 24
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 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
- https://github.com/Codeception/Specify/pull/62
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先在 PHP 8.4 上執行測試套件以重現棄用警告,然後找出工作中提到的隱式可空型別定義。將 GitHub Actions 策略更新到 PHP 8.4,並確認測試執行時不會出現該警告。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github-actions, php
- 領域
- ci-cd, testing
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100