File tree 5 files changed +22
-18
lines changed
5 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function getContext(): ?array
43
43
return [
44
44
'uri ' => $ request ->getScheme () . '// ' . $ request ->getHttpHost () . $ request ->getRequestUri (),
45
45
'method ' => $ request ->getMethod (),
46
- 'controller ' => $ request ->getControllerName (),
46
+ 'controllerName ' => $ request ->getControllerName (),
47
47
'identifier ' => spl_object_hash ($ request ),
48
48
];
49
49
}
Original file line number Diff line number Diff line change 51
51
52
52
<service id =" var_dumper.command.server_dump" class =" Symfony\Component\VarDumper\Command\ServerDumpCommand" >
53
53
<argument type =" service" id =" var_dumper.dump_server" />
54
- <argument type =" collection" >
55
- <argument type =" service" key =" cli" >
56
- <service class =" Symfony\Component\VarDumper\Command\Descriptor\CliDescriptor" >
57
- <argument type =" service" id =" var_dumper.cli_dumper" />
58
- </service >
59
- </argument >
60
- <argument type =" service" key =" html" >
61
- <service class =" Symfony\Component\VarDumper\Command\Descriptor\HtmlDescriptor" >
62
- <argument type =" service" id =" var_dumper.html_dumper" />
63
- </service >
64
- </argument >
65
- </argument >
66
- <call method =" setName" >
67
- <argument type =" string" >server:dump</argument >
68
- </call >
69
54
<tag name =" console.command" command =" server:dump" />
70
55
</service >
71
56
Original file line number Diff line number Diff line change 5
5
use Enlight \Event \SubscriberInterface ;
6
6
use Enlight_Event_EventArgs ;
7
7
use Symfony \Component \VarDumper \Cloner \VarCloner ;
8
+ use Symfony \Component \VarDumper \Dumper \ServerDumper ;
8
9
use Symfony \Component \VarDumper \VarDumper ;
9
10
10
11
/**
@@ -39,6 +40,8 @@ public function initVarDumper(Enlight_Event_EventArgs $args): void
39
40
40
41
$ cloner = new VarCloner ();
41
42
$ cloner ->setMaxItems (-1 );
43
+
44
+ /** @var ServerDumper $serverDumper */
42
45
$ serverDumper = $ args ->get ('subject ' )->get ('var_dumper.server_dumper ' );
43
46
44
47
VarDumper::setHandler (function ($ var ) use ($ cloner , $ serverDumper ) {
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ mkdir -p FroshProfiler
16
16
git archive ${commit} | tar -x -C FroshProfiler
17
17
composer install --no-dev -n -o -d FroshProfiler
18
18
( find ./FroshProfiler -type d -name " .git" && find ./FroshProfiler -name " .gitignore" && find ./FroshProfiler -name " .gitmodules" ) | xargs rm -r
19
- rm -r ./FroshProfiler/vendor/shyim /var-dumper/Tests/
19
+ rm -r ./FroshProfiler/vendor/symfony /var-dumper/Tests
20
20
zip -x " *build.sh*" -x " *.MD" -r FroshProfiler-${commit} .zip FroshProfiler
Original file line number Diff line number Diff line change 3
3
xsi : noNamespaceSchemaLocation =" ../../../engine/Shopware/Components/Plugin/schema/plugin.xsd" >
4
4
<label lang =" de" >Profiler</label >
5
5
<label lang =" en" >Profiler</label >
6
- <version >1.4.1 </version >
6
+ <version >1.4.2 </version >
7
7
<copyright >Friends of Shopware</copyright >
8
8
<license >MIT</license >
9
9
<link >https://friendsofshopware.github.io/</link >
10
10
<author >Friends of Shopware</author >
11
11
<compatibility minVersion =" 5.6.0" />
12
+ <changelog version =" 1.4.2" >
13
+ <changes lang =" en" >
14
+ <![CDATA[
15
+ <ul>
16
+ <li>Fixed Symfony Var-Dump Server</li>
17
+ </ul>
18
+ ]]>
19
+ </changes >
20
+ <changes lang =" de" >
21
+ <![CDATA[
22
+ <ul>
23
+ <li>Symfony VarDump Server behoben</li>
24
+ </ul>
25
+ ]]>
26
+ </changes >
27
+ </changelog >
12
28
<changelog version =" 1.4.1" >
13
29
<changes lang =" en" >
14
30
<![CDATA[
You can’t perform that action at this time.
0 commit comments