From 4f173c5327f1021ca27e18e3c4e0350c3299251e Mon Sep 17 00:00:00 2001 From: Sjoerd Boerrigter <786875+sboerrigter@users.noreply.github.com> Date: Fri, 4 Feb 2022 09:16:17 +0100 Subject: [PATCH] Update mustache/mustache to fix PHP 8 compatibility issue Fixes https://github.com/scribu/wp-posts-to-posts/issues/576 --- composer.json | 2 +- composer.lock | 131 ++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 100 insertions(+), 33 deletions(-) diff --git a/composer.json b/composer.json index 5e865dcd..f9876fd0 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "require": { "composer/installers": "~1.0", "scribu/lib-posts-to-posts": "dev-master", - "mustache/mustache": "~2.6" + "mustache/mustache": "~2.14.1" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index 585e5dd5..230f9b47 100644 --- a/composer.lock +++ b/composer.lock @@ -1,44 +1,50 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "8f74c4809c15b7242bbc0af3abd9be8c", - "content-hash": "890f94502537419ad4bc49ec48920fe8", + "content-hash": "53598f5d158c02519224f81994576c50", "packages": [ { "name": "composer/installers", - "version": "dev-master", + "version": "1.x-dev", "source": { "type": "git", "url": "https://github.com/composer/installers.git", - "reference": "e420b539e8d7b38b7c6f3f99dccc0386bd3dfe41" + "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/e420b539e8d7b38b7c6f3f99dccc0386bd3dfe41", - "reference": "e420b539e8d7b38b7c6f3f99dccc0386bd3dfe41", + "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19", + "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19", "shasum": "" }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0" + }, "replace": { "roundcube/plugin-installer": "*", "shama/baton": "*" }, "require-dev": { - "composer/composer": "1.0.*@dev", - "phpunit/phpunit": "4.1.*" + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "phpstan/phpstan": "^0.12.55", + "phpstan/phpstan-phpunit": "^0.12.16", + "symfony/phpunit-bridge": "^4.2 || ^5", + "symfony/process": "^2.3" }, - "type": "composer-installer", + "type": "composer-plugin", "extra": { - "class": "Composer\\Installers\\Installer", + "class": "Composer\\Installers\\Plugin", "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "1.x-dev" } }, "autoload": { - "psr-0": { - "Composer\\Installers\\": "src/" + "psr-4": { + "Composer\\Installers\\": "src/Composer/Installers" } }, "notification-url": "https://packagist.org/downloads/", @@ -53,75 +59,124 @@ } ], "description": "A multi-framework Composer library installer", - "homepage": "http://composer.github.com/installers/", + "homepage": "https://composer.github.io/installers/", "keywords": [ "Craft", "Dolibarr", + "Eliasis", "Hurad", + "ImageCMS", + "Kanboard", + "Lan Management System", "MODX Evo", + "MantisBT", + "Mautic", + "Maya", "OXID", + "Plentymarkets", + "Porto", + "RadPHP", "SMF", + "Starbug", "Thelia", + "Whmcs", "WolfCMS", "agl", "aimeos", "annotatecms", + "attogram", "bitrix", "cakephp", "chef", + "cockpit", "codeigniter", "concrete5", "croogo", "dokuwiki", "drupal", + "eZ Platform", "elgg", + "expressionengine", "fuelphp", "grav", "installer", + "itop", "joomla", + "known", "kohana", "laravel", + "lavalite", "lithium", "magento", + "majima", "mako", "mediawiki", + "miaoxing", "modulework", + "modx", "moodle", + "osclass", + "pantheon", "phpbb", "piwik", "ppi", + "processwire", "puppet", + "pxcms", + "reindex", "roundcube", "shopware", "silverstripe", + "sydes", + "sylius", "symfony", + "tastyigniter", "typo3", "wordpress", + "yawik", "zend", "zikula" ], - "time": "2015-06-13 15:30:38" + "support": { + "issues": "https://github.com/composer/installers/issues", + "source": "https://github.com/composer/installers/tree/v1.12.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2021-09-13T08:19:44+00:00" }, { "name": "mustache/mustache", - "version": "v2.9.0", + "version": "v2.14.1", "source": { "type": "git", "url": "https://github.com/bobthecow/mustache.php.git", - "reference": "c745b01956caf27d26b55a72a90aff56bc169cd6" + "reference": "579ffa5c96e1d292c060b3dd62811ff01ad8c24e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/c745b01956caf27d26b55a72a90aff56bc169cd6", - "reference": "c745b01956caf27d26b55a72a90aff56bc169cd6", + "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/579ffa5c96e1d292c060b3dd62811ff01ad8c24e", + "reference": "579ffa5c96e1d292c060b3dd62811ff01ad8c24e", "shasum": "" }, "require": { "php": ">=5.2.4" }, "require-dev": { - "fabpot/php-cs-fixer": "~1.6", - "phpunit/phpunit": "~3.7|~4.0" + "friendsofphp/php-cs-fixer": "~1.11", + "phpunit/phpunit": "~3.7|~4.0|~5.0" }, "type": "library", "autoload": { @@ -146,7 +201,11 @@ "mustache", "templating" ], - "time": "2015-08-15 19:23:13" + "support": { + "issues": "https://github.com/bobthecow/mustache.php/issues", + "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.1" + }, + "time": "2022-01-21T06:08:36+00:00" }, { "name": "scribu/lib-posts-to-posts", @@ -154,17 +213,18 @@ "source": { "type": "git", "url": "https://github.com/scribu/wp-lib-posts-to-posts.git", - "reference": "baefe121458b5d4d333b29e0c0b8cb8fad0fa4a2" + "reference": "a695438e455587fa228e993d05b4431cde99af1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/scribu/wp-lib-posts-to-posts/zipball/baefe121458b5d4d333b29e0c0b8cb8fad0fa4a2", - "reference": "baefe121458b5d4d333b29e0c0b8cb8fad0fa4a2", + "url": "https://api.github.com/repos/scribu/wp-lib-posts-to-posts/zipball/a695438e455587fa228e993d05b4431cde99af1b", + "reference": "a695438e455587fa228e993d05b4431cde99af1b", "shasum": "" }, "require": { "scribu/scb-framework": "dev-master" }, + "default-branch": true, "type": "library", "autoload": { "files": [ @@ -179,7 +239,7 @@ "support": { "source": "https://github.com/scribu/wp-lib-posts-to-posts/tree/master" }, - "time": "2015-08-19 09:04:19" + "time": "2016-02-15T12:08:59+00:00" }, { "name": "scribu/scb-framework", @@ -187,14 +247,15 @@ "source": { "type": "git", "url": "https://github.com/scribu/wp-scb-framework.git", - "reference": "e766eda522230858d1c6a3928d3b12da643cb690" + "reference": "d35d5126c6d323711dd14b9d97aaa927eaaba123" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/scribu/wp-scb-framework/zipball/e766eda522230858d1c6a3928d3b12da643cb690", - "reference": "e766eda522230858d1c6a3928d3b12da643cb690", + "url": "https://api.github.com/repos/scribu/wp-scb-framework/zipball/d35d5126c6d323711dd14b9d97aaa927eaaba123", + "reference": "d35d5126c6d323711dd14b9d97aaa927eaaba123", "shasum": "" }, + "default-branch": true, "type": "library", "autoload": { "classmap": [ @@ -220,7 +281,12 @@ "keywords": [ "wordpress" ], - "time": "2015-05-11 17:14:48" + "support": { + "issues": "https://github.com/scribu/wp-scb-framework/issues", + "source": "https://github.com/scribu/wp-scb-framework", + "wiki": "https://github.com/scribu/wp-scb-framework/wiki" + }, + "time": "2020-03-15T20:51:58+00:00" } ], "packages-dev": [], @@ -232,5 +298,6 @@ "prefer-stable": false, "prefer-lowest": false, "platform": [], - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "2.1.0" }