Skip to content

Commit

Permalink
Prepare release 0.11.0 (#377)
Browse files Browse the repository at this point in the history
* PHPStan fix

* Prepare for 0.11.0

* cs

* Updated basline
  • Loading branch information
Nyholm authored Jan 7, 2020
1 parent 151f3db commit 7da3663
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 151 deletions.
19 changes: 18 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

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

## 0.11.0

## Added

- GUI updates on the Profiler page.

### Fixed

- Fixed "Unable to edit a missing translation from profiler" by updating SymfonyStorage

### Changed

- Modernized SymfonyProfilerController by stop using `$this->get()` and other bad practises.
- Modernized DownloadCommand
- `StorageService::download()` will return an array of `MessageCatalogue` after local copy is downloaded.
- DownloadCommand will automatically clear cache.

## 0.10.0

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

### Changed

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

### Removed
Expand Down
306 changes: 156 additions & 150 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,151 +1,157 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/DeleteObsoleteCommand.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/DownloadCommand.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/ExtractCommand.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/StatusCommand.php

-
message: "#^Call to an undefined static method Symfony\\\\Component\\\\Intl\\\\Intl\\:\\:getLocaleBundle\\(\\)\\.$#"
count: 1
path: Controller/WebUIController.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder\\:\\:root\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:fixXmlConfig\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:scalarNode\\(\\)\\.$#"
count: 2
path: DependencyInjection/Configuration.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:booleanNode\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php

-
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\PostResponseEvent not found\\.$#"
count: 2
path: EventListener/AutoAddMissingTranslations.php

-
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterResponseEvent not found\\.$#"
count: 2
path: EventListener/EditInPlaceResponseListener.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Service/CacheClearer.php

-
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:\\$translator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Parameter \\$translator of method Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:\\$symfonyTranslator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Parameter \\$symfonyTranslator of method Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/FallbackTranslator.php

-
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/FallbackTranslator.php

-
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Twig/TranslationExtension.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\TranslatorBagInterface\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:transChoice\\(\\)\\.$#"
count: 2
path: Twig/TranslationExtension.php
ignoreErrors:
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/DeleteObsoleteCommand.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/DownloadCommand.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/ExtractCommand.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Console\\\\Application\\:\\:getKernel\\(\\)\\.$#"
count: 1
path: Command/StatusCommand.php

-
message: "#^Call to method getValue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\DataCollector\\\\Data\\.$#"
count: 1
path: Controller/SymfonyProfilerController.php

-
message: "#^Call to an undefined static method Symfony\\\\Component\\\\Intl\\\\Intl\\:\\:getLocaleBundle\\(\\)\\.$#"
count: 1
path: Controller/WebUIController.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder\\:\\:root\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:fixXmlConfig\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:scalarNode\\(\\)\\.$#"
count: 2
path: DependencyInjection/Configuration.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:booleanNode\\(\\)\\.$#"
count: 1
path: DependencyInjection/Configuration.php

-
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\PostResponseEvent not found\\.$#"
count: 2
path: EventListener/AutoAddMissingTranslations.php

-
message: "#^Class Symfony\\\\Component\\\\HttpKernel\\\\Event\\\\FilterResponseEvent not found\\.$#"
count: 2
path: EventListener/EditInPlaceResponseListener.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Service/CacheClearer.php

-
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:\\$translator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Parameter \\$translator of method Translation\\\\Bundle\\\\Translator\\\\EditInPlaceTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/EditInPlaceTranslator.php

-
message: "#^Property Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:\\$symfonyTranslator has unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface as its type\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Parameter \\$symfonyTranslator of method Translation\\\\Bundle\\\\Translator\\\\FallbackTranslator\\:\\:__construct\\(\\) has invalid typehint type Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Call to method trans\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/FallbackTranslator.php

-
message: "#^Call to method transChoice\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 2
path: Translator/FallbackTranslator.php

-
message: "#^Call to method setLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Call to method getLocale\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Call to method getCatalogue\\(\\) on an unknown class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface\\.$#"
count: 1
path: Translator/FallbackTranslator.php

-
message: "#^Class Symfony\\\\Component\\\\Translation\\\\TranslatorInterface not found\\.$#"
count: 1
path: Twig/TranslationExtension.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\TranslatorBagInterface\\|Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:transChoice\\(\\)\\.$#"
count: 2
path: Twig/TranslationExtension.php

0 comments on commit 7da3663

Please sign in to comment.