Skip to content

Commit 058aad4

Browse files
feat: bump version
1 parent dd077ec commit 058aad4

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG_en-GB.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.1.0
2+
3+
- Use symfony autowire
4+
- Also read accumulated messages stats from transports
5+
- Removed task logging middleware
6+
17
# 1.0.6
28

39
- Simplify enviromment delete command name

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frosh/tools",
3-
"version": "1.0.6",
3+
"version": "1.1.0",
44
"description": "Provides some basic things for managing the Shopware Installation",
55
"type": "shopware-platform-plugin",
66
"license": "MIT",
@@ -35,7 +35,7 @@
3535
}
3636
},
3737
"require": {
38-
"shopware/core": "~6.5.0"
38+
"shopware/core": "~6.5.2"
3939
},
4040
"require-dev": {
4141
"friendsofphp/php-cs-fixer": "~3.0"

src/Controller/ShopwareFilesController.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Frosh\Tools\Controller;
44

55
use Shopware\Core\Kernel;
6+
use Symfony\Component\DependencyInjection\Attribute\Autowire;
67
use Symfony\Component\HttpFoundation\JsonResponse;
78
use Symfony\Component\HttpFoundation\Request;
89
use Symfony\Component\Routing\Annotation\Route;
@@ -16,9 +17,9 @@ class ShopwareFilesController
1617
private bool $isPlatform;
1718

1819
public function __construct(
19-
private readonly string $shopwareVersion,
20-
private readonly string $projectDir,
21-
private readonly array $projectIgnoredFiles
20+
#[Autowire('%kernel.shopware_version%')] private readonly string $shopwareVersion,
21+
#[Autowire('%kernel.project_dir%<')] private readonly string $projectDir,
22+
#[Autowire('%frosh_tools.file_checker.exclude_files%')] private readonly array $projectIgnoredFiles
2223
)
2324
{
2425
$this->isPlatform = !is_dir($this->projectDir . '/vendor/shopware/core') && is_dir($this->projectDir . '/src/Core');

0 commit comments

Comments
 (0)