Fix: "Uncaught Error: Class "Pimple\Container" not found" in Wordpress

This commit is contained in:
Karol Orzeł
2023-05-30 20:54:50 +02:00
parent 95725fbbeb
commit 34c1d9e7c1
2 changed files with 58 additions and 1 deletions
@@ -5,9 +5,13 @@
"require": {
"php": ">=7.2.5",
"pimple/pimple": "~3.5",
"twig/twig": "~1.44",
"scssphp/scssphp": "~1.10"
},
"replace": {
"psr/container": "*"
},
"config": {
"platform": {
"php": "7.2.5"
+54 -1
View File
@@ -4,8 +4,61 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e1459729b2d2f0a91d027897a82bf100",
"content-hash": "be734234d8f8e7f34e4847e6092d608f",
"packages": [
{
"name": "pimple/pimple",
"version": "v3.5.0",
"source": {
"type": "git",
"url": "https://github.com/silexphp/Pimple.git",
"reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/silexphp/Pimple/zipball/a94b3a4db7fb774b3d78dad2315ddc07629e1bed",
"reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"psr/container": "^1.1 || ^2.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^5.4@dev"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.4.x-dev"
}
},
"autoload": {
"psr-0": {
"Pimple": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "Pimple, a simple Dependency Injection Container",
"homepage": "https://pimple.symfony.com",
"keywords": [
"container",
"dependency injection"
],
"support": {
"source": "https://github.com/silexphp/Pimple/tree/v3.5.0"
},
"time": "2021-10-28T11:13:42+00:00"
},
{
"name": "scssphp/scssphp",
"version": "v1.11.0",