- 06 Apr, 2022 1 commit
-
-
Sergey Latyshkov authored
-
- 18 Nov, 2021 1 commit
-
-
Fabien Potencier authored
-
- 17 Nov, 2021 3 commits
-
-
Nicolas Grekas authored
* 5.4: (22 commits) fix cs Update validators.lv.xlf Fix API gateway service name Improve recommendation message for "composer req" Fix CS in composer.json [DependencyInjection] fix preloading Update validators.uz.xlf AddMake ExpressionVoter Cacheable Add framework config for DBAL cache adapter [ExpressionLanguage] Fix LexerTest number types [Process] intersect with getenv() to populate default envs Improve CI script a bit Fix deprecation message placeholders [Cache] Fix calculate ttl in couchbase sdk 3.0 Fix Loco Provider [Cache] fix dbindex Redis Fix typos in a test message [Cache] fix releasing not acquired locks [DependencyInjection] fix creating 2nd container instances Never rely on dynamic properties ...
-
Nicolas Grekas authored
* 5.3: fix cs Update validators.lv.xlf Fix API gateway service name Fix CS in composer.json Update validators.uz.xlf [ExpressionLanguage] Fix LexerTest number types [Process] intersect with getenv() to populate default envs Improve CI script a bit Fix Loco Provider [Cache] fix dbindex Redis Fix typos in a test message Never rely on dynamic properties
-
Nicolas Grekas authored
* 4.4: fix cs Update validators.lv.xlf Update validators.uz.xlf [ExpressionLanguage] Fix LexerTest number types [Process] intersect with getenv() to populate default envs Improve CI script a bit [Cache] fix dbindex Redis Never rely on dynamic properties
-
- 15 Nov, 2021 1 commit
-
-
Nicolas Grekas authored
-
- 14 Nov, 2021 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 12 Nov, 2021 1 commit
-
-
Nicolas Grekas authored
* 5.4: Fix tests on PHP 8.1 [Cache] Fix memory leak [Config] Add missing use statement in generated config builder classes [DependencyInjection] fix inlining when non-shared services are involved [FrameworkBundle] fix deprecation message [DoctrineBridge] add support for the JSON type [PHPUnitBridge] Fix Uncaught ValueError [HttpClient] Implement ResetInterface for all http clients [HttpKernel] allow ignoring kernel.reset methods that don't exist [FrameworkBundle] fix registering late resettable services [Validator] Missing translations for Greek (el) translate for japanese 101,102,103 Use symfony-*-bridge instead of symfony-bridge for component bridges Fix Loco Provider [HttpClient] Curl http client has to reinit curl multi handle on reset [SecurityBundle] Fix compat with symfony/security-core:^6 (ter) [Validator] Add Swedish translation for issue #43737
-
- 09 Nov, 2021 1 commit
-
-
Nicolas Grekas authored
-
- 05 Nov, 2021 7 commits
-
-
Fabien Potencier authored
This PR was merged into the 6.0 branch. Discussion ---------- [HttpKernel] Make sure FileLinkFormatter can be serialized | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A We currently get a `TypeError` when serializing a `FileLinkFormatter`. This PR should help. Commits ------- 8a9b3c7db7 Make sure FileLinkFormatter can be serialized
-
Alexander M. Turek authored
Signed-off-by:
Alexander M. Turek <me@derrabus.de>
-
Alexander M. Turek authored
Signed-off-by:
Alexander M. Turek <me@derrabus.de>
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 04 Nov, 2021 3 commits
-
-
Alexander M. Turek authored
* 5.4: (27 commits) feat: add completion for DebugAutowiring search argument [Routing] Add support for aliasing routes [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait` Fix CS [Console] Open CompleteCommand for custom outputs [Intl] Update the ICU data to 70.1 [Messenger] Add completion for failed messages commands. Fix tests Fixing missing full_stack variable that's needed by toolbar.html.twig [PropertyInfo] Bump phpstan/phpdoc-parser [Security] Backport type fixes [VarExporter] escape unicode chars involved in directionality [Framework] Add completion to debug:container [Messenger] Add completion to command messenger:consume [Intl] Update the ICU data to 70.1 Fix more generic types Default access_decision_manager.strategy option with merge. Fix typos Update validators.ca.xlf Add missing Validator translations for Estonian ... Signed-off-by:
Alexander M. Turek <me@derrabus.de>
-
Fabien Potencier authored
This PR was merged into the 5.4 branch. Discussion ---------- Fix more generic types | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Some changes I wanted to push to #42471, but then it got merged already.
😇 Commits ------- c54d61e9af Fix more generic types -
Fabien Potencier authored
* 5.3: Fix tests [VarExporter] escape unicode chars involved in directionality [Intl] Update the ICU data to 70.1 Fix typos Update validators.ca.xlf Add missing Validator translations for Estonian Fix `Request::getUserInfo()` return type [VarDumper] Make dumping DateInterval instances timezone-independent Add missing validators translation in Brazillian Portuguese I heard you like some Finnish translations #43432 fix typo and improve TH translation Added missing translations for Thai (th) [Messenger] Use `TransportMessageIdStamp` in `InMemoryTransport` allows retrying
-
- 03 Nov, 2021 5 commits
-
-
Jérémy Derussé authored
* 4.4: [VarExporter] escape unicode chars involved in directionality [Intl] Update the ICU data to 70.1 Fix typos Update validators.ca.xlf Add missing Validator translations for Estonian Fix `Request::getUserInfo()` return type [VarDumper] Make dumping DateInterval instances timezone-independent Add missing validators translation in Brazillian Portuguese I heard you like some Finnish translations #43432 fix typo and improve TH translation Added missing translations for Thai (th) [Messenger] Use `TransportMessageIdStamp` in `InMemoryTransport` allows retrying
-
Alexander M. Turek authored
* 5.4: [Console] Restore psr/log >= 3.0 conflict [Security] Make the abstract Voter class implement CacheableVoterInterface Add generic types to traversable implementations [Security] Fix TypeError message [Security] Fix deprecation layer [FrameworkBundle] Add completion for workflow:dump Fix cancel button Fix misleading error on missing provider with authenticator manager Don't limit retries of toolbar loading
-
Alexander M. Turek authored
Signed-off-by:
Alexander M. Turek <me@derrabus.de>
-
Alexander M. Turek authored
-
Antoine Makdessi authored
-
- 30 Oct, 2021 6 commits
-
-
Alexander M. Turek authored
* 5.4: [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter [FrameworkBundle] Trigger deprecations on stderr instead of using trigger_deprecation call Add PhpStanExtractor [Messenger] allow processing messages in batches [Console] Fix backslash escaping in bash completion Add missing validators translation add suggestions for debug:firewall, debug:form, debug:messenger, debug:router [SecurityBundle] Deprecate not configuring explicitly a provider for custom_authenticators when there is more than one registered provider [Inflector] Fix inflector for "zombies" [Config] Add some cache on SelfCheckingResourceChecker fix AJAX request unit spacing fix ErrorExcception in CacheWarmerAggregate Prevent FormLoginAuthenticator from responding to requests that should be handled by JsonLoginAuthenticator Fix wait duration for fixed window policy Add exact command used to trigger invocation to the completion debug log [Translation] correctly handle intl domains with TargetOperation Allow using param as connection atribute in `*.event_subscriber` and `*.event_listener` tags
-
Fabien Potencier authored
feature #43138 [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter (dunglas) This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | todo The Symfony Profiler is a convenient development tool, however, in some cases, it has a huge overhead. I used Blackfire to benchmark a development environment on a real-world project and noticed that the average response time was reduced by 30% just by disabling the profiler. This PR adds a new configuration option allowing to enable and disable the profiler on a per request basis using a query parameter, a form field (for `POST` requests), or a request attribute. This PR allows keeping the benefit of this tool while improving the developer experience. To enable it: ```yaml framework: profiler: collect: false # Disable collection by default collect_parameter: profile # Enable it if the parameter is set ``` Note: it's also possible to enable the collection by default and to disable it using the parameter Then, to have the profiler, the user just has to add `?profile=1` to any URL. Commits ------- eecff075fe [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter
-
Kévin Dunglas authored
-
Fabien Potencier authored
* 5.3: Add missing validators translation [Inflector] Fix inflector for "zombies" fix ErrorExcception in CacheWarmerAggregate [Translation] correctly handle intl domains with TargetOperation
-
Fabien Potencier authored
* 4.4: Add missing validators translation [Inflector] Fix inflector for "zombies" fix ErrorExcception in CacheWarmerAggregate [Translation] correctly handle intl domains with TargetOperation
-
Fabien Potencier authored
This PR was merged into the 4.4 branch. Discussion ---------- [HttpKernel] fix ErrorException in CacheWarmerAggregate | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | I ran into an `ErrorException` reloading after some changes. I suppose this triggered a cache warmup call. This didn't go as expected, because `$previousLogs = unserialize(file_get_contents($this->deprecationLogsFilepath));` set `$previousLogs` to `false` instead of the expected array. I think it makes sense to only call `array_merge` if `$previousLogs` was successfully instantiated as an array. My IDE also pointed out that `$collectedLogs` was possible undefined, so moving its declaration outside of the if block resolved that. Stacktrace: ``` ErrorException: Warning: array_merge(): Expected parameter 1 to be an array, bool given at /srv/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:106 at Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp('/srv/var/cache/local') (/srv/vendor/symfony/http-kernel/Kernel.php:584) at Symfony\Component\HttpKernel\Kernel->initializeContainer() (/srv/vendor/symfony/http-kernel/Kernel.php:786) at Symfony\Component\HttpKernel\Kernel->preBoot() (/srv/vendor/symfony/http-kernel/Kernel.php:187) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (/srv/public/index.php:44) ``` Commits ------- 2eaa19f46f fix ErrorExcception in CacheWarmerAggregate
-
- 29 Oct, 2021 5 commits
-
-
arend authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 27 Oct, 2021 4 commits
-
-
Christian Flothmann authored
-
Nicolas Grekas authored
* 5.4: [DependencyInjection] Add `SubscribedService` attribute, deprecate current `ServiceSubscriberTrait` usage Use try/finally to restore error handlers Allow serializer default context configuration
-
Alexander M. Turek authored
This PR was merged into the 5.4 branch. Discussion ---------- Use try/finally to restore error handlers | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A This PR attempts to make some code dealing with temporary error handlers a bit more robust by making sure the old error handler is always restored. A forgotten error handler is pretty hard to debug, so I'd like our code to be a it more defensive here. Commits ------- 057716c6a2 Use try/finally to restore error handlers
-
Alexander M. Turek authored
Signed-off-by:
Alexander M. Turek <me@derrabus.de>
-