-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from City-of-Helsinki/UHF-X-issue-3387094
UHF-X: PHP 8.2 support
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
patches/3387094-add-context-property-to-stream-wrapper.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/src/FlysystemStreamWrapper.php b/src/FlysystemStreamWrapper.php | ||
index 93a79b6..5c5a200 100644 | ||
--- a/src/FlysystemStreamWrapper.php | ||
+++ b/src/FlysystemStreamWrapper.php | ||
@@ -25,6 +25,13 @@ class FlysystemStreamWrapper | ||
*/ | ||
const STREAM_URL_IGNORE_SIZE = 8; | ||
|
||
+ /** | ||
+ * PHP-passed stream context. | ||
+ * | ||
+ * @var resource|null | ||
+ */ | ||
+ public $context; | ||
+ | ||
/** | ||
* The registered filesystems. | ||
* |