Skip to content

Commit

Permalink
Allow Symfony 5.x components to be used (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude authored Apr 8, 2022
1 parent f21cefa commit 4ede7e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/WebfactoryResponsiveImageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Yaml\Yaml;

class WebfactoryResponsiveImageExtension extends Extension implements PrependExtensionInterface
Expand Down
18 changes: 7 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,19 @@
"description": "Symfony bundle for responsive images",
"license": "MIT",
"require": {
"php": ">=5.5.9",
"php": "7.2.*|7.3.*|7.4.*|8.0.*|8.1.*",
"jbouzekri/phumbor-bundle": "^2.2.0",
"twig/twig": "^1.35.4|^2.0",
"symfony/http-kernel": "^3.4.14 | ^4.4.1",
"symfony/config": "^3.4.14 | ^4.4.1",
"symfony/dependency-injection": "^3.4.14 | ^4.4.1",
"symfony/yaml": "^3.4.14 | ^4.4.1"
"twig/twig": "^1.35.4|^2.0|^3.0",
"symfony/config": "^3.4.14|^4.4.1|^5.0",
"symfony/dependency-injection": "^3.4.14|^4.4.1|^5.0",
"symfony/yaml": "^3.4.14|^4.4.1|^5.0"
},
"autoload": {
"psr-4": {
"Webfactory\\ResponsiveImageBundle\\": "."
"Webfactory\\ResponsiveImageBundle\\": ""
}
},
"config": {
"sort-packages": true,
"platform": {
"php": "7.2.24"
}
"sort-packages": true
}
}

0 comments on commit 4ede7e9

Please sign in to comment.