File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+
17# 1.0.6
28
39- Simplify enviromment delete command name
Original file line number Diff line number Diff line change 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" ,
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"
Original file line number Diff line number Diff line change 33namespace Frosh \Tools \Controller ;
44
55use Shopware \Core \Kernel ;
6+ use Symfony \Component \DependencyInjection \Attribute \Autowire ;
67use Symfony \Component \HttpFoundation \JsonResponse ;
78use Symfony \Component \HttpFoundation \Request ;
89use 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 ' );
You can’t perform that action at this time.
0 commit comments