Skip to content

Commit ba64a9c

Browse files
committed
UHF-X: Add $context property to flysystem stream wrapper
PHP requires that stream wrapper implementations have public $context property. This property is missing from drupal/flysystem stream wrappers. Since PHP 8.2, assigning dynamic properties is deprecated. See: - https://www.php.net/manual/en/class.streamwrapper.php#streamwrapper.props.context - https://www.drupal.org/project/flysystem/issues/3387094 - twistor/flysystem-stream-wrapper#27
1 parent ddb2226 commit ba64a9c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,12 @@
1111
"require-dev": {
1212
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
1313
"drupal/coder": "^8.3"
14+
},
15+
"extra": {
16+
"patches": {
17+
"twistor/flysystem-stream-wrapper": {
18+
"PHP 8.2 support (https://www.drupal.org/project/flysystem/issues/3387094)": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-module-helfi-azure-fs/ddb222622b92d1c2b7db975a84167a00579a1ad0/patches/3387094-add-context-property-to-stream-wrapper.patch"
19+
}
20+
}
1421
}
1522
}

0 commit comments

Comments
 (0)