diff --git a/Blacklight/libraries/Forking.php b/Blacklight/libraries/Forking.php index dd27a9d47..21b6e796d 100755 --- a/Blacklight/libraries/Forking.php +++ b/Blacklight/libraries/Forking.php @@ -11,7 +11,6 @@ use Blacklight\processing\PostProcess; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; -use Opis\Closure\SerializableClosure; use Spatie\Async\Output\SerializableException; use Spatie\Async\Pool; use Symfony\Component\Process\Process; @@ -91,7 +90,6 @@ class Forking */ public function __construct() { - SerializableClosure::removeSecurityProvider(); $this->colorCli = new ColorCLI; $this->dnr_path = PHP_BINARY.' misc/update/multiprocessing/.do_not_run/switch.php "php '; diff --git a/composer.json b/composer.json index 4162a94c1..3ae3afe27 100644 --- a/composer.json +++ b/composer.json @@ -86,7 +86,6 @@ "monolog/monolog": "^3.8", "mtownsend/xml-to-array": "^2.0", "nesbot/carbon": "^3.8", - "opis/closure": "^3.6", "pear/net_nntp": "^2.0", "php-ffmpeg/php-ffmpeg": "^1.3", "php-http/guzzle7-adapter": "^1.0", diff --git a/composer.lock b/composer.lock index 64adef208..80183cd8b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "138dfb7e73c52d5a6f08e88752ff2ff6", + "content-hash": "20e9e946df92775423a24f06e223c52f", "packages": [ { "name": "aharen/omdbapi", @@ -6299,71 +6299,6 @@ ], "time": "2024-09-09T07:06:30+00:00" }, - { - "name": "opis/closure", - "version": "3.6.3", - "source": { - "type": "git", - "url": "https://github.com/opis/closure.git", - "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/opis/closure/zipball/3d81e4309d2a927abbe66df935f4bb60082805ad", - "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad", - "shasum": "" - }, - "require": { - "php": "^5.4 || ^7.0 || ^8.0" - }, - "require-dev": { - "jeremeamia/superclosure": "^2.0", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.6.x-dev" - } - }, - "autoload": { - "files": [ - "functions.php" - ], - "psr-4": { - "Opis\\Closure\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marius Sarca", - "email": "marius.sarca@gmail.com" - }, - { - "name": "Sorin Sarca", - "email": "sarca_sorin@hotmail.com" - } - ], - "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", - "homepage": "https://opis.io/closure", - "keywords": [ - "anonymous functions", - "closure", - "function", - "serializable", - "serialization", - "serialize" - ], - "support": { - "issues": "https://github.com/opis/closure/issues", - "source": "https://github.com/opis/closure/tree/3.6.3" - }, - "time": "2022-01-27T09:35:39+00:00" - }, { "name": "paragonie/constant_time_encoding", "version": "v3.0.0", diff --git a/resources/smarty/plugins/block.php.php b/resources/smarty/plugins/block.php.php index 44aeae824..e40ead937 100755 --- a/resources/smarty/plugins/block.php.php +++ b/resources/smarty/plugins/block.php.php @@ -1,4 +1,5 @@