Skip to content

Commit bd96226

Browse files
committed
Allow PHP8 and Symfony 6
1 parent 16d165a commit bd96226

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

composer.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,28 @@
2828
}
2929
],
3030
"require": {
31-
"php": "~7.1",
31+
"php": "^7.4|^8.0",
3232

33-
"symfony/framework-bundle": "^3.4|^4.4|^5.0",
34-
"symfony/dependency-injection": "^3.4|^4.4|^5.0",
35-
"symfony/http-kernel": "^3.4|^4.4|^5.0",
36-
"symfony/config": "^3.4|^4.4|^5.0",
37-
"symfony/twig-bundle": "^3.4|^4.4|^5.0",
38-
"symfony/yaml": "^3.4|^4.4|^5.0",
33+
"symfony/framework-bundle": "^4.4|^5.4|^6.0",
34+
"symfony/dependency-injection": "^4.4|^5.4|^6.0",
35+
"symfony/http-kernel": "^4.4|^5.4|^6.0",
36+
"symfony/config": "^4.4|^5.4|^6.0",
37+
"symfony/twig-bundle": "^4.4|^5.4|^6.0",
38+
"symfony/yaml": "^4.4|^5.4|^6.0",
3939

40-
"shapecode/twig-string-loader": "^1.0"
40+
"shapecode/twig-string-loader": "^1.1"
4141
},
4242
"require-dev": {
43-
"doctrine/coding-standard": "^6.0",
43+
"doctrine/coding-standard": "^9.0",
4444
"roave/security-advisories": "dev-master",
4545
"squizlabs/php_codesniffer": "^3.4",
46-
"phpstan/phpstan": "^0.11.16",
47-
"phpstan/phpstan-deprecation-rules": "^0.11.2",
48-
"phpstan/phpstan-phpunit": "^0.11.2",
49-
"phpstan/phpstan-strict-rules": "^0.11.1",
50-
"maglnet/composer-require-checker": "^2.0",
51-
"phpunit/phpunit": "^8.4",
52-
"symfony/var-dumper": "^4.3"
46+
"phpstan/phpstan": "^1.4",
47+
"phpstan/phpstan-deprecation-rules": "^1.0",
48+
"phpstan/phpstan-phpunit": "^1.0",
49+
"phpstan/phpstan-strict-rules": "^1.1",
50+
"maglnet/composer-require-checker": "^3.8|^4.0",
51+
"phpunit/phpunit": "^9.5",
52+
"symfony/var-dumper": "^5.4"
5353
},
5454
"autoload": {
5555
"psr-4": {

src/DependencyInjection/ShapecodeTwigStringLoaderExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
class ShapecodeTwigStringLoaderExtension extends Extension
1313
{
1414
/**
15-
* @inheritdoc
15+
* @param array<mixed> $configs
1616
*/
17-
public function load(array $configs, ContainerBuilder $container) : void
17+
public function load(array $configs, ContainerBuilder $container): void
1818
{
1919
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
2020
$loader->load('services.yml');

0 commit comments

Comments
 (0)