[PR #830] [MERGED] Resolve php82 & php83 exception: Creation of dynamic property is deprecated #1078

Closed
opened 2026-02-25 21:37:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/830
Author: @Shadow243
Created: 11/23/2023
Status: Merged
Merged: 12/1/2023
Merged by: @kroky

Base: masterHead: tests-unit-deprecation


📝 Commits (1)

  • 811966c Resolve php82 & php83 exception: Creation of dynamic property is deprecated

📊 Changes

18 files changed (+40 additions, -2 deletions)

View changed files

📝 lib/cache.php (+1 -0)
📝 lib/modules_exec.php (+1 -0)
📝 modules/core/message_functions.php (+1 -1)
📝 tests/phpunit/auth.php (+1 -0)
📝 tests/phpunit/cache.php (+3 -0)
📝 tests/phpunit/config.php (+4 -0)
📝 tests/phpunit/db.php (+1 -0)
📝 tests/phpunit/dispatch.php (+1 -0)
📝 tests/phpunit/format.php (+2 -0)
📝 tests/phpunit/helpers.php (+5 -0)
📝 tests/phpunit/mocks.php (+2 -0)
📝 tests/phpunit/module.php (+7 -0)
📝 tests/phpunit/modules.php (+2 -0)
📝 tests/phpunit/oauth2.php (+1 -0)
📝 tests/phpunit/output.php (+1 -0)
📝 tests/phpunit/request.php (+1 -1)
📝 tests/phpunit/session.php (+5 -0)
📝 tests/phpunit/stubs.php (+1 -0)

📄 Description

Description:
This Pull Request addresses the deprecation warnings in PHP 8.2 and 8.3 related to dynamic property creation. The changes ensure compatibility with the latest PHP versions.

Testing:

  • Tested first on PHP 7.4 environment.
  • Tested on PHP 8.2 and 8.3 environments.

Related Issues:
Issue #829


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/830 **Author:** [@Shadow243](https://github.com/Shadow243) **Created:** 11/23/2023 **Status:** ✅ Merged **Merged:** 12/1/2023 **Merged by:** [@kroky](https://github.com/kroky) **Base:** `master` ← **Head:** `tests-unit-deprecation` --- ### 📝 Commits (1) - [`811966c`](https://github.com/cypht-org/cypht/commit/811966cba0dc7ec935310c06fa32498fc134de38) Resolve php82 & php83 exception: Creation of dynamic property is deprecated ### 📊 Changes **18 files changed** (+40 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `lib/cache.php` (+1 -0) 📝 `lib/modules_exec.php` (+1 -0) 📝 `modules/core/message_functions.php` (+1 -1) 📝 `tests/phpunit/auth.php` (+1 -0) 📝 `tests/phpunit/cache.php` (+3 -0) 📝 `tests/phpunit/config.php` (+4 -0) 📝 `tests/phpunit/db.php` (+1 -0) 📝 `tests/phpunit/dispatch.php` (+1 -0) 📝 `tests/phpunit/format.php` (+2 -0) 📝 `tests/phpunit/helpers.php` (+5 -0) 📝 `tests/phpunit/mocks.php` (+2 -0) 📝 `tests/phpunit/module.php` (+7 -0) 📝 `tests/phpunit/modules.php` (+2 -0) 📝 `tests/phpunit/oauth2.php` (+1 -0) 📝 `tests/phpunit/output.php` (+1 -0) 📝 `tests/phpunit/request.php` (+1 -1) 📝 `tests/phpunit/session.php` (+5 -0) 📝 `tests/phpunit/stubs.php` (+1 -0) </details> ### 📄 Description **Description:** This Pull Request addresses the deprecation warnings in PHP 8.2 and 8.3 related to dynamic property creation. The changes ensure compatibility with the latest PHP versions. **Testing:** - Tested first on PHP 7.4 environment. - Tested on PHP 8.2 and 8.3 environments. **Related Issues:** Issue #829 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1078
No description provided.