From 5cb1531045c37a831281fdb7a9bf6293a0551ab7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Danijel=20Gali=C4=87?=
Date: Thu, 20 Aug 2026 12:24:12 +0200
Subject: [PATCH 1/2] Fix method name typo in `isNaN` and refine return type
PHPDoc in `abs`
**Details:**
- Corrected method name from `isNan` to `isNaN` in `Runtime/src/Math.php` for accuracy and consistency.
- Updated the PHPDoc for `abs` method to use `non-negative-int` for improved type safety and clarity.
- No functional changes; focus on naming and documentation accuracy.
---
src/Math.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Math.php b/src/Math.php
index 99fef79..29345f0 100644
--- a/src/Math.php
+++ b/src/Math.php
@@ -115,7 +115,7 @@ public static function isInfinite (float $number):bool {
*
* @return bool True if a number is 'not a number', false otherwise.
*/
- public static function isNan (float $number):bool {
+ public static function isNaN (float $number):bool {
return is_nan($number);
@@ -198,7 +198,7 @@ public static function remainder (float $dividend, float $divisor):float {
* The numeric value to process.
*
*
- * @return ($number is int ? int : float) The absolute value of number.
+ * @return ($number is int ? non-negative-int : float) The absolute value of number.
*/
public static function abs (float|int $number):float|int {
From fb23388efbddcf61f1c723c045c96a73bf055de6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Danijel=20Gali=C4=87?=
<56673130+dieselxxx@users.noreply.github.com>
Date: Thu, 20 Aug 2026 12:27:20 +0200
Subject: [PATCH 2/2] Update README.md
---
README.md | 113 ++++++++++++++++++++++++++++++++++--------------------
1 file changed, 71 insertions(+), 42 deletions(-)
diff --git a/README.md b/README.md
index cbcf439..ea94372 100644
--- a/README.md
+++ b/README.md
@@ -7,12 +7,12 @@
PHP Runtime Foundation
@@ -22,25 +22,46 @@
/>
-[](https://github.com/The-FireHub-Project/Runtime/actions/workflows/PHPStan.yml)
-[](https://github.com/The-FireHub-Project/Runtime/actions/workflows/PHPUnit.yml)
-[](https://app.codecov.io/gh/The-FireHub-Project/Runtime/tree/develop)
-
-
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
@@ -52,47 +73,55 @@ It contains no domain logic, no business rules, and no framework coupling. Its r
---
-##
Development Branch
+##
Repository Purpose
-⚠️ **This is the `develop` branch**
+This repository provides a lightweight PHP runtime abstraction layer that wraps native PHP functionality into clean, consistent, and deterministic APIs.
-- Unstable
-- APIs may change without notice
-- Not intended for production use
+Its purpose is to reduce boilerplate and standardize common execution patterns across the FireHub ecosystem by offering ergonomic helper classes for arrays, strings, files, environment access, and other low-level runtime operations.
-##
Branch Purpose
+It is strictly focused on execution-level concerns and does not contain domain logic, business rules, or framework-level orchestration. It exists to improve developer productivity while preserving native PHP behavior and ensuring zero framework coupling.
-The `develop` branch is the **primary integration branch** for all ongoing development.
+##
Security
-It serves as the staging area where:
-- Feature branches are merged
-- Bug fixes are integrated
-- Experimental work is stabilized
-- Code is prepared for upcoming releases
+For security reporting and guidelines, please refer to our [SECURITY.md](https://github.com/The-FireHub-Project/.github/blob/master/.github/SECURITY.md) file.
-All **release branches** are created **from `develop`**.
+##
Community
-## Stability Guarantee
+
+
+
-❌ No backward compatibility guarantee
-❌ APIs may change without notice
-❌ Behavior may be incomplete or inconsistent
-❌ Breaking changes are expected
+- Be sure to review the [Code of Conduct](https://github.com/The-FireHub-Project/.github/blob/master/.github/CODE_OF_CONDUCT.md).
+- Read a [Contributing](https://github.com/The-FireHub-Project/.github/blob/master/.github/CONTRIBUTING.md) file to see how you can contribute to this project.
+- Read our [Security policy](https://github.com/The-FireHub-Project/.github/blob/master/.github/SECURITY.md) file to see how you can report a vulnerability.
+- Review the project [Governance model](https://github.com/The-FireHub-Project/.github/blob/master/.github/GOVERNANCE.md), including roles, decision-making, RFC process, and releases.
-This branch is intended **only for contributors and advanced testers**.
+##
Support
-##
Composer Usage (Not Recommended)
+
+
+
+
+
+
+
+
-For internal testing only:
+For help with FireHub products, please refer to the following resources:
-```json
-{
- "require": {
- "the-firehub-project/runtime": "dev-develop"
- }
-}
-```
-⚠️ Never use dev-develop in production.
+- **General questions & discussions**: [GitHub Discussions](https://github.com/orgs/The-FireHub-Project/discussions)
+- **Bug reports & issues**: [Support](https://github.com/The-FireHub-Project/Runtime/issues)
+- **Documentation & guides**: [FireHub Docs](https://the-firehub-project.github.io)
+- **Commercial support** (Pro/Enterprise): contact your account manager
##
Authors and Contributors