File tree 3 files changed +12
-5
lines changed
3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change
1
+ # 1.1.0
2
+
3
+ - Use symfony autowire
4
+ - Also read accumulated messages stats from transports
5
+ - Removed task logging middleware
6
+
1
7
# 1.0.6
2
8
3
9
- Simplify enviromment delete command name
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " frosh/tools" ,
3
- "version" : " 1.0.6 " ,
3
+ "version" : " 1.1.0 " ,
4
4
"description" : " Provides some basic things for managing the Shopware Installation" ,
5
5
"type" : " shopware-platform-plugin" ,
6
6
"license" : " MIT" ,
35
35
}
36
36
},
37
37
"require" : {
38
- "shopware/core" : " ~6.5.0 "
38
+ "shopware/core" : " ~6.5.2 "
39
39
},
40
40
"require-dev" : {
41
41
"friendsofphp/php-cs-fixer" : " ~3.0"
Original file line number Diff line number Diff line change 3
3
namespace Frosh \Tools \Controller ;
4
4
5
5
use Shopware \Core \Kernel ;
6
+ use Symfony \Component \DependencyInjection \Attribute \Autowire ;
6
7
use Symfony \Component \HttpFoundation \JsonResponse ;
7
8
use Symfony \Component \HttpFoundation \Request ;
8
9
use Symfony \Component \Routing \Annotation \Route ;
@@ -16,9 +17,9 @@ class ShopwareFilesController
16
17
private bool $ isPlatform ;
17
18
18
19
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
22
23
)
23
24
{
24
25
$ this ->isPlatform = !is_dir ($ this ->projectDir . '/vendor/shopware/core ' ) && is_dir ($ this ->projectDir . '/src/Core ' );
You can’t perform that action at this time.
0 commit comments