Skip to content

Commit 7da3663

Browse files
authored
Prepare release 0.11.0 (#377)
* PHPStan fix * Prepare for 0.11.0 * cs * Updated basline
1 parent 151f3db commit 7da3663

File tree

2 files changed

+174
-151
lines changed

2 files changed

+174
-151
lines changed

Changelog.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
44

5+
## 0.11.0
6+
7+
## Added
8+
9+
- GUI updates on the Profiler page.
10+
11+
### Fixed
12+
13+
- Fixed "Unable to edit a missing translation from profiler" by updating SymfonyStorage
14+
15+
### Changed
16+
17+
- Modernized SymfonyProfilerController by stop using `$this->get()` and other bad practises.
18+
- Modernized DownloadCommand
19+
- `StorageService::download()` will return an array of `MessageCatalogue` after local copy is downloaded.
20+
- DownloadCommand will automatically clear cache.
21+
522
## 0.10.0
623

724
## Added
@@ -12,7 +29,7 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
1229

1330
### Changed
1431

15-
- Use class names as service ids. Old service ids will still be available as aliases.
32+
- Use class names as service ids. Old service ids will still be available as aliases.
1633
- Renamed all `*.yml` files to `*.yaml`.
1734

1835
### Removed

phpstan-baseline.neon

Lines changed: 156 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -1,151 +1,157 @@
11
parameters:
2-
ignoreErrors:
3-
-
4-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
5-
count: 1
6-
path: Command/DeleteObsoleteCommand.php
7-
8-
-
9-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
10-
count: 1
11-
path: Command/DownloadCommand.php
12-
13-
-
14-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
15-
count: 1
16-
path: Command/ExtractCommand.php
17-
18-
-
19-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
20-
count: 1
21-
path: Command/StatusCommand.php
22-
23-
-
24-
message: "#^Call to an undefined static method Symfony\\\\Component\\\\Intl\\\\Intl\\:\\:getLocaleBundle\\(\\)\\.$#"
25-
count: 1
26-
path: Controller/WebUIController.php
27-
28-
-
29-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder\\:\\:root\\(\\)\\.$#"
30-
count: 1
31-
path: DependencyInjection/Configuration.php
32-
33-
-
34-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:fixXmlConfig\\(\\)\\.$#"
35-
count: 1
36-
path: DependencyInjection/Configuration.php
37-
38-
-
39-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:scalarNode\\(\\)\\.$#"
40-
count: 2
41-
path: DependencyInjection/Configuration.php
42-
43-
-
44-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:booleanNode\\(\\)\\.$#"
45-
count: 1
46-
path: DependencyInjection/Configuration.php
47-
48-
-
49-
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\PostResponseEvent not found\\.$#"
50-
count: 2
51-
path: EventListener/AutoAddMissingTranslations.php
52-
53-
-
54-
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterResponseEvent not found\\.$#"
55-
count: 2
56-
path: EventListener/EditInPlaceResponseListener.php
57-
58-
-
59-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
60-
count: 1
61-
path: Service/CacheClearer.php
62-
63-
-
64-
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:\\$translator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
65-
count: 1
66-
path: Translator/EditInPlaceTranslator.php
67-
68-
-
69-
message: "#^Parameter \\$translator of method Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
70-
count: 1
71-
path: Translator/EditInPlaceTranslator.php
72-
73-
-
74-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
75-
count: 1
76-
path: Translator/EditInPlaceTranslator.php
77-
78-
-
79-
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
80-
count: 1
81-
path: Translator/EditInPlaceTranslator.php
82-
83-
-
84-
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
85-
count: 2
86-
path: Translator/EditInPlaceTranslator.php
87-
88-
-
89-
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
90-
count: 2
91-
path: Translator/EditInPlaceTranslator.php
92-
93-
-
94-
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
95-
count: 1
96-
path: Translator/EditInPlaceTranslator.php
97-
98-
-
99-
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
100-
count: 1
101-
path: Translator/EditInPlaceTranslator.php
102-
103-
-
104-
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:\\$symfonyTranslator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
105-
count: 1
106-
path: Translator/FallbackTranslator.php
107-
108-
-
109-
message: "#^Parameter \\$symfonyTranslator of method Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
110-
count: 1
111-
path: Translator/FallbackTranslator.php
112-
113-
-
114-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
115-
count: 1
116-
path: Translator/FallbackTranslator.php
117-
118-
-
119-
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
120-
count: 2
121-
path: Translator/FallbackTranslator.php
122-
123-
-
124-
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
125-
count: 2
126-
path: Translator/FallbackTranslator.php
127-
128-
-
129-
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
130-
count: 1
131-
path: Translator/FallbackTranslator.php
132-
133-
-
134-
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
135-
count: 1
136-
path: Translator/FallbackTranslator.php
137-
138-
-
139-
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
140-
count: 1
141-
path: Translator/FallbackTranslator.php
142-
143-
-
144-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
145-
count: 1
146-
path: Twig/TranslationExtension.php
147-
148-
-
149-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\TranslatorBagInterface\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:transChoice\\(\\)\\.$#"
150-
count: 2
151-
path: Twig/TranslationExtension.php
2+
ignoreErrors:
3+
-
4+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
5+
count: 1
6+
path: Command/DeleteObsoleteCommand.php
7+
8+
-
9+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
10+
count: 1
11+
path: Command/DownloadCommand.php
12+
13+
-
14+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
15+
count: 1
16+
path: Command/ExtractCommand.php
17+
18+
-
19+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
20+
count: 1
21+
path: Command/StatusCommand.php
22+
23+
-
24+
message: "#^Call to method getValue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\DataCollector\\\\Data\\.$#"
25+
count: 1
26+
path: Controller/SymfonyProfilerController.php
27+
28+
-
29+
message: "#^Call to an undefined static method Symfony\\\\Component\\\\Intl\\\\Intl\\:\\:getLocaleBundle\\(\\)\\.$#"
30+
count: 1
31+
path: Controller/WebUIController.php
32+
33+
-
34+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder\\:\\:root\\(\\)\\.$#"
35+
count: 1
36+
path: DependencyInjection/Configuration.php
37+
38+
-
39+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:fixXmlConfig\\(\\)\\.$#"
40+
count: 1
41+
path: DependencyInjection/Configuration.php
42+
43+
-
44+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:scalarNode\\(\\)\\.$#"
45+
count: 2
46+
path: DependencyInjection/Configuration.php
47+
48+
-
49+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:booleanNode\\(\\)\\.$#"
50+
count: 1
51+
path: DependencyInjection/Configuration.php
52+
53+
-
54+
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\PostResponseEvent not found\\.$#"
55+
count: 2
56+
path: EventListener/AutoAddMissingTranslations.php
57+
58+
-
59+
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterResponseEvent not found\\.$#"
60+
count: 2
61+
path: EventListener/EditInPlaceResponseListener.php
62+
63+
-
64+
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
65+
count: 1
66+
path: Service/CacheClearer.php
67+
68+
-
69+
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:\\$translator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
70+
count: 1
71+
path: Translator/EditInPlaceTranslator.php
72+
73+
-
74+
message: "#^Parameter \\$translator of method Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
75+
count: 1
76+
path: Translator/EditInPlaceTranslator.php
77+
78+
-
79+
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
80+
count: 1
81+
path: Translator/EditInPlaceTranslator.php
82+
83+
-
84+
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
85+
count: 1
86+
path: Translator/EditInPlaceTranslator.php
87+
88+
-
89+
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
90+
count: 2
91+
path: Translator/EditInPlaceTranslator.php
92+
93+
-
94+
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
95+
count: 2
96+
path: Translator/EditInPlaceTranslator.php
97+
98+
-
99+
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
100+
count: 1
101+
path: Translator/EditInPlaceTranslator.php
102+
103+
-
104+
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
105+
count: 1
106+
path: Translator/EditInPlaceTranslator.php
107+
108+
-
109+
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:\\$symfonyTranslator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
110+
count: 1
111+
path: Translator/FallbackTranslator.php
112+
113+
-
114+
message: "#^Parameter \\$symfonyTranslator of method Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
115+
count: 1
116+
path: Translator/FallbackTranslator.php
117+
118+
-
119+
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
120+
count: 1
121+
path: Translator/FallbackTranslator.php
122+
123+
-
124+
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
125+
count: 2
126+
path: Translator/FallbackTranslator.php
127+
128+
-
129+
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
130+
count: 2
131+
path: Translator/FallbackTranslator.php
132+
133+
-
134+
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
135+
count: 1
136+
path: Translator/FallbackTranslator.php
137+
138+
-
139+
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
140+
count: 1
141+
path: Translator/FallbackTranslator.php
142+
143+
-
144+
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
145+
count: 1
146+
path: Translator/FallbackTranslator.php
147+
148+
-
149+
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
150+
count: 1
151+
path: Twig/TranslationExtension.php
152+
153+
-
154+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\TranslatorBagInterface\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:transChoice\\(\\)\\.$#"
155+
count: 2
156+
path: Twig/TranslationExtension.php
157+

0 commit comments

Comments
 (0)