Skip to content

Commit

Permalink
Merge pull request #24 from intaro/sf5-remove
Browse files Browse the repository at this point in the history
remove support of Symfony 5
  • Loading branch information
muxx authored Oct 10, 2024
2 parents 34ff40f + b9dd87c commit a88d5f0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- '8.2'
- '8.3'
symfony-version:
- '5.4.*'
- '6.3.*'
coverage: [ 'none' ]
steps:
Expand Down
2 changes: 1 addition & 1 deletion Builder/EnvironmentBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function getPolicyRules(): SecurityPolicyRules
return $this->rules;
}

public function warmUp(string $cacheDir/* , ?string $buildDir = null */)/* : array */
public function warmUp(string $cacheDir, ?string $buildDir = null): array
{
$currentDir = $this->options['cache_dir'];

Expand Down
2 changes: 1 addition & 1 deletion CacheWarmer/TwigSandboxCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function __construct(EnvironmentBuilder $builder)
$this->environmentBuilder = $builder;
}

public function warmUp(string $cacheDir/* , ?string $buildDir = null */)/* : array */
public function warmUp(string $cacheDir, ?string $buildDir = null): array
{
return $this->environmentBuilder->warmUp($cacheDir);
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There is [Twig](https://twig.symfony.com)-extension [Sandbox](https://twig.symfo

## Installation

TwigSandboxBundle requires Symfony 5.4 or higher.
TwigSandboxBundle requires Symfony 6.0 or higher.

Install the bundle:

Expand Down
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"doctrine/annotations": "^1.13|^2.0",
"php": "^8.1",
"psr/cache": "~1.0|~2.0",
"symfony/framework-bundle": "^5.0|^6.0",
"symfony/validator": "^5.0|^6.0",
"symfony/framework-bundle": "^6.0",
"symfony/validator": "^6.0",
"twig/twig": "^2.14 | ^3.0"
},
"autoload": {
Expand All @@ -32,22 +32,22 @@
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^8.5|^9.5",
"symfony/phpunit-bridge": "^5.0|^6.0",
"symfony/config": "^5.0|^6.0",
"symfony/dependency-injection": "^5.0|^6.0",
"symfony/event-dispatcher": "^5.0|^6.0",
"symfony/error-handler": "^5.0|^6.0",
"symfony/http-kernel": "^5.0|^6.0",
"symfony/http-foundation": "^5.0|^6.0",
"symfony/yaml": "^5.0|^6.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/config": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/event-dispatcher": "^6.0",
"symfony/error-handler": "^6.0",
"symfony/http-kernel": "^6.0",
"symfony/http-foundation": "^6.0",
"symfony/yaml": "^6.0",
"symfony/deprecation-contracts": "^1.1|^2.0",
"symfony/event-dispatcher-contracts": "^1.1|^2.0",
"symfony/routing": "^5.0|^6.0",
"symfony/finder": "^5.0|^6.0",
"symfony/filesystem": "^5.0|^6.0",
"symfony/routing": "^6.0",
"symfony/finder": "^6.0",
"symfony/filesystem": "^6.0",
"symfony/translation-contracts": "^1.1|^2.0",
"symfony/var-exporter": "^5.0|^6.0",
"symfony/var-dumper": "^5.0|^6.0",
"symfony/var-exporter": "^6.0",
"symfony/var-dumper": "^6.0",
"psr/log": "~1.0",
"friendsofphp/php-cs-fixer": "^3"
},
Expand Down

0 comments on commit a88d5f0

Please sign in to comment.