diff --git a/composer.json b/composer.json index 3f86144..f61d9f8 100644 --- a/composer.json +++ b/composer.json @@ -8,9 +8,6 @@ "sort-packages": true, "platform": { "php": "8.2" - }, - "allow-plugins": { - "cweagans/composer-patches": true } }, "require": { @@ -22,8 +19,7 @@ "ipl/sql": "^0.7.0", "ipl/stdlib": "^0.14.0", "ipl/validator": "^0.5.0", - "ipl/web": "^0.10.0", - "cweagans/composer-patches": "~1.0" + "ipl/web": "^0.10.0" }, "require-dev": { }, @@ -34,13 +30,5 @@ "post-update-cmd": [ "AssetLoader::update" ] - }, - "extra": { - "composer-exit-on-patch-failure": true, - "patches": { - "ramsey/collection": { - "Collection: Add PHP 8.1 support": "patches/ramsey-collection.patch" - } - } } } diff --git a/patches/ramsey-collection.patch b/patches/ramsey-collection.patch deleted file mode 100644 index b204e59..0000000 --- a/patches/ramsey-collection.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/vendor/ramsey/collection/src/AbstractArray.php -+++ b/vendor/ramsey/collection/src/AbstractArray.php -@@ -84,6 +84,7 @@ abstract class AbstractArray implements ArrayInterface - * @return T|null the value stored at the offset, or null if the offset - * does not exist. - */ -+ #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->data[$offset] ?? null; -@@ -132,6 +133,11 @@ abstract class AbstractArray implements ArrayInterface - return serialize($this->data); - } - -+ public function __serialize() -+ { -+ return $this->serialize(); -+ } -+ - /** - * Converts a serialized string representation into an instance object. - * -@@ -149,6 +155,11 @@ abstract class AbstractArray implements ArrayInterface - $this->data = $data; - } - -+ public function __unserialize(array $data) -+ { -+ $this->unserialize($data); -+ } -+ - /** - * Returns the number of items in this array. - * --- -2.41.0 -