Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [[v0.3.2](https://github.com/The-FireHub-Project/Runtime/compare/v0.3.1...v0.3.2)] – 2026-09-29

### Added
* Upgrade PHP compatibility to 8.2 and enforce readonly properties for runtime classes by @dieselxxx

## [[v0.3.1](https://github.com/The-FireHub-Project/Runtime/compare/v0.3.0...v0.3.1)] – 2026-09-16

### Added
Expand Down
113 changes: 71 additions & 42 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Arr/Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Access extends NativeRuntime {
final readonly class Access extends NativeRuntime {

Check failure on line 46 in src/Arr/Access.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Access extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 46 in src/Arr/Access.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Access extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 46 in src/Arr/Access.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Access extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Checks if the given key or index exists in the array
Expand Down Expand Up @@ -377,7 +377,7 @@
}

/** @var ($number is int<2, max> ? list<TKey> : TKey) */
return array_rand($array, $number);

Check failure on line 380 in src/Arr/Access.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

PHPDoc tag `@var` with type ($number is int<2, max> ? list<TKey of (int|string)> : TKey of (int|string)) is not subtype of type non-empty-list<TKey of (int|string)>|TKey of (int|string).

Check failure on line 380 in src/Arr/Access.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

PHPDoc tag `@var` with type ($number is int<2, max> ? list<TKey of (int|string)> : TKey of (int|string)) is not subtype of type non-empty-list<TKey of (int|string)>|TKey of (int|string).

Check failure on line 380 in src/Arr/Access.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

PHPDoc tag `@var` with type ($number is int<2, max> ? list<TKey of (int|string)> : TKey of (int|string)) is not subtype of type non-empty-list<TKey of (int|string)>|TKey of (int|string).

}

Expand Down
4 changes: 2 additions & 2 deletions src/Arr/Composition.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.4
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -34,7 +34,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Composition extends NativeRuntime {
final readonly class Composition extends NativeRuntime {

Check failure on line 37 in src/Arr/Composition.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Composition extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 37 in src/Arr/Composition.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Composition extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 37 in src/Arr/Composition.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Composition extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Creates an array by using one array for keys and another for its values
Expand Down
2 changes: 1 addition & 1 deletion src/Arr/Inspection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* This component contains no domain logic, no framework coupling, and no business rules.
* @since 1.0.0
*/
final class Inspection extends NativeRuntime {
final readonly class Inspection extends NativeRuntime {

Check failure on line 41 in src/Arr/Inspection.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Inspection extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 41 in src/Arr/Inspection.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Inspection extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 41 in src/Arr/Inspection.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Inspection extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Checks if all array elements satisfy a callback function
Expand Down
4 changes: 2 additions & 2 deletions src/Arr/Math.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=8.0
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -28,7 +28,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Math extends NativeRuntime {
final readonly class Math extends NativeRuntime {

Check failure on line 31 in src/Arr/Math.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Math extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 31 in src/Arr/Math.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Math extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 31 in src/Arr/Math.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Math extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Calculate the product of values in an array
Expand Down
4 changes: 2 additions & 2 deletions src/Arr/Mutation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=8.0
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -30,7 +30,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Mutation extends NativeRuntime {
final readonly class Mutation extends NativeRuntime {

Check failure on line 33 in src/Arr/Mutation.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Mutation extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 33 in src/Arr/Mutation.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Mutation extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 33 in src/Arr/Mutation.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Mutation extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Pop the element off the end of an array
Expand Down
4 changes: 2 additions & 2 deletions src/Arr/Ordering.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=8.1
* @php-version >=8.2
* @package Runtime
*/

Expand Down Expand Up @@ -41,7 +41,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Ordering extends NativeRuntime {
final readonly class Ordering extends NativeRuntime {

Check failure on line 44 in src/Arr/Ordering.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Ordering extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 44 in src/Arr/Ordering.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Ordering extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 44 in src/Arr/Ordering.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Ordering extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Sorts array
Expand Down
2 changes: 1 addition & 1 deletion src/Arr/Pointer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* operations without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Pointer extends NativeRuntime {
final readonly class Pointer extends NativeRuntime {

Check failure on line 37 in src/Arr/Pointer.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Pointer extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 37 in src/Arr/Pointer.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Pointer extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 37 in src/Arr/Pointer.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Pointer extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Return the current element in an array
Expand Down
4 changes: 2 additions & 2 deletions src/Arr/SetOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.4
* @php-version >=8.2
* @package Runtime
*/

Expand Down Expand Up @@ -42,7 +42,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class SetOperation extends NativeRuntime {
final readonly class SetOperation extends NativeRuntime {

Check failure on line 45 in src/Arr/SetOperation.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\SetOperation extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 45 in src/Arr/SetOperation.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\SetOperation extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 45 in src/Arr/SetOperation.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\SetOperation extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Computes the difference of arrays using values for comparison
Expand Down
2 changes: 1 addition & 1 deletion src/Arr/Structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Structure extends NativeRuntime {
final readonly class Structure extends NativeRuntime {

Check failure on line 42 in src/Arr/Structure.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on macOS-latest

Readonly class FireHub\Runtime\Arr\Structure extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 42 in src/Arr/Structure.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on windows-latest

Readonly class FireHub\Runtime\Arr\Structure extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

Check failure on line 42 in src/Arr/Structure.php

View workflow job for this annotation

GitHub Actions / build / Run PHPStan with PHP 8.5 on ubuntu-latest

Readonly class FireHub\Runtime\Arr\Structure extends non-readonly class FireHub\Core\Boundary\Runtime\NativeRuntime.

/**
* ### Split an array into chunks
Expand Down
4 changes: 2 additions & 2 deletions src/Arr/Transform.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=8.1
* @php-version >=8.2
* @package Runtime
*/

Expand Down Expand Up @@ -42,7 +42,7 @@
* operations without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Transform extends NativeRuntime {
final readonly class Transform extends NativeRuntime {

/**
* ### Iteratively reduce the array to a single value using a callback function
Expand Down
4 changes: 2 additions & 2 deletions src/Binary.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.4
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -28,7 +28,7 @@
* API while preserving the behavior and semantics of the underlying PHP runtime.
* @since 1.0.0
*/
final class Binary extends NativeRuntime {
final readonly class Binary extends NativeRuntime {

/**
* ### Pack data into a binary string
Expand Down
4 changes: 2 additions & 2 deletions src/Char/MB.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=8.1
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -31,7 +31,7 @@
* processing while preserving native PHP behavior, encoding support, and runtime performance.
* @since 1.0.0
*/
final class MB {
final readonly class MB {

/**
* ### Return character by Unicode code point value
Expand Down
4 changes: 2 additions & 2 deletions src/Char/SB.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.0
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -30,7 +30,7 @@
* processing while preserving native PHP behavior, performance, and compatibility.
* @since 1.0.0
*/
final class SB {
final readonly class SB {

/**
* ### Generate a single-byte string from a number
Expand Down
2 changes: 1 addition & 1 deletion src/Constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* additional abstraction or changing PHP semantics.
* @since 1.0.0
*/
final class Constant extends NativeRuntime {
final readonly class Constant extends NativeRuntime {

/**
* ### Checks whether a given named constant exists
Expand Down
2 changes: 1 addition & 1 deletion src/Copy.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Circular object references are preserved during the copy operation.
* @since 1.0.0
*/
final class Copy extends NativeRuntime {
final readonly class Copy extends NativeRuntime {

/**
* ### Creates a deep copy of the given value
Expand Down
2 changes: 1 addition & 1 deletion src/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* without introducing domain logic, framework coupling, or additional abstraction overhead.
* @since 1.0.0
*/
final class Data extends NativeRuntime {
final readonly class Data extends NativeRuntime {

/**
* ### Gets the type name of a variable in a way that is suitable for debugging
Expand Down
4 changes: 2 additions & 2 deletions src/DataIs.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.4
* @php-version >=8.2
* @package Runtime
*/

Expand Down Expand Up @@ -39,7 +39,7 @@
* without introducing conversion, transformation, or additional abstraction logic.
* @since 1.0.0
*/
final class DataIs extends NativeRuntime {
final readonly class DataIs extends NativeRuntime {

/**
* ### Checks whether the value is an array
Expand Down
4 changes: 2 additions & 2 deletions src/Date/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=8.0
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -26,7 +26,7 @@
* while preserving native runtime behavior.
* @since 1.0.0
*/
final class Calendar extends NativeRuntime {
final readonly class Calendar extends NativeRuntime {

/**
* ### Check for a valid date
Expand Down
2 changes: 1 addition & 1 deletion src/Date/Format.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Provides low-level wrappers for formatting Unix timestamps into human-readable date and time representations while
* preserving native PHP formatting behavior.
*/
final class Format extends NativeRuntime {
final readonly class Format extends NativeRuntime {

/**
* ### Format a Unix timestamp
Expand Down
2 changes: 1 addition & 1 deletion src/Date/Parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* native PHP behavior.
* @since 1.0.0
*/
final class Parse extends NativeRuntime {
final readonly class Parse extends NativeRuntime {

/**
* ### Returns associative array with detailed info about the given date/time
Expand Down
4 changes: 2 additions & 2 deletions src/Date/Solar.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.4
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -24,7 +24,7 @@
* PHP date functions.
* @since 1.0.0
*/
final class Solar extends NativeRuntime {
final readonly class Solar extends NativeRuntime {

/**
* ### Gets information about sunset/sunrise and twilight begin/end
Expand Down
2 changes: 1 addition & 1 deletion src/Date/Timestamp.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* native runtime behavior.
* @since 1.0.0
*/
final class Timestamp extends NativeRuntime {
final readonly class Timestamp extends NativeRuntime {

/**
* ### Format a Unix timestamp
Expand Down
2 changes: 1 addition & 1 deletion src/Date/Timezone.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* native runtime behavior.
* @since 1.0.0
*/
final class Timezone extends NativeRuntime {
final readonly class Timezone extends NativeRuntime {

/**
* ### Gets the default timezone used by all date/time functions in a script
Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* altering native runtime semantics.
* @since 1.0.0
*/
final class File extends NativeRuntime {
final readonly class File extends NativeRuntime {

/**
* ### Checks whether a file or folder exists
Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/Folder.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* altering native runtime semantics.
* @since 1.0.0
*/
final class Folder extends NativeRuntime {
final readonly class Folder extends NativeRuntime {

/**
* ### Tells whether the filename is a regular folder
Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* altering native runtime semantics.
* @since 1.0.0
*/
final class Link extends NativeRuntime {
final readonly class Link extends NativeRuntime {

/**
* ### Tells whether the path is a symbolic link
Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* altering native runtime semantics.
* @since 1.0.0
*/
final class Metadata extends NativeRuntime {
final readonly class Metadata extends NativeRuntime {

/**
* ### Gets file size
Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* native runtime semantics.
* @since 1.0.0
*/
final class Path extends NativeRuntime {
final readonly class Path extends NativeRuntime {

/**
* ### Returns a trailing name component of a path
Expand Down
4 changes: 2 additions & 2 deletions src/FileSystem/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @copyright 2026-present The FireHub Project - All rights reserved
* @license https://opensource.org/license/Apache-2-0 Apache License, Version 2.0
*
* @php-version >=7.4
* @php-version >=8.2
* @package Runtime
*/

Expand All @@ -29,7 +29,7 @@
* altering native runtime semantics.
* @since 1.0.0
*/
final class Permission extends NativeRuntime {
final readonly class Permission extends NativeRuntime {

/**
* ### Tells whether the path is executable
Expand Down
Loading
Loading