48 Commits

Author SHA1 Message Date
Alexander M. Turek
a88994416a [HttpKernel] Use CPP 2024-02-06 10:15:06 +01:00
Nicolas Grekas
ab69bdd211 Merge branch '5.4' into 6.3
* 5.4:
  Fix implicitly-required parameters
  List CS fix in .git-blame-ignore-revs
  Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
  [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2024-01-23 15:35:58 +01:00
Nicolas Grekas
c31bb9215c Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Nicolas Grekas
61e896aca0 Merge branch '6.2' into 6.3
* 6.2: (21 commits)
  Fix tests
  CS fix
  [HttpKernel] Tests for DataCollector
  for #49320
  [Console] Fix computing column width containing multibyte chars
  [Messenger] Fix deprecation layer of RedeliveryStamp
  [Mime] Form field values with integer keys not resolved correctly
  [Messenger] [Redis] Fixed problem where worker stops handling messages on first empty message
  [PHPUnitBridge] Fix PHPUnit 10.1 compatibility
  [VarDumper] Make the server TCP connection sync
  [Messenger] Fix warning message on failed messenger show command
  [Mailer] [Mailjet] Use body MessageID instead of X-MJ-Request-GUID
  [HttpFoundation] Fix BinaryFileResponse
  [Form] fix merge
  [HttpFoundation] Fix memory limit problems in BinaryFileResponse
  [PropertyAccess] Readonly properties must have no PropertyWriteInfo
  [Form] Cast choices value callback result to string
  [Serializer] Unexpected value should throw UnexpectedValueException
  [ErrorHandler] Don't throw deprecations for HttplugClient
  [Serializer] Fix denormalization of object with typed constructor arg (not castable) and with COLLECT_DENORMALIZATION_ERRORS
  ...
2023-04-18 15:59:59 +02:00
Nicolas Grekas
46a84faa01 Merge branch '5.4' into 6.2
* 5.4:
  CS fix
  [HttpKernel] Tests for DataCollector
  for #49320
2023-04-18 15:56:57 +02:00
Gordienko Vladislav
d55efe912b [HttpKernel] Tests for DataCollector 2023-04-18 15:53:04 +02:00
Wouter de Jong
8efef814fc Add void return types 2023-02-13 14:18:23 +01:00
Grégoire Pineau
3b05051d9e [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Alexander M. Turek
4c996585cb Make use of the nullsafe operator 2021-12-13 21:40:50 +01:00
Alexander M. Turek
180f95177c [HttpKernel] Add types to private properties
Signed-off-by: Alexander M. Turek <me@derrabus.de>
2021-09-07 12:43:05 +02:00
Fabien Potencier
5c04ec02cd Merge branch '5.3' into 5.4
* 5.3:
  Revert "bug #42831 [Mime] Update mime types (fabpot)"
  Clean about command description after Environment section was removed
  Fix implicit float to int cast
  [Mime] Update mime types
  [HttpKernel] Fix timeline in profiler
2021-09-03 09:36:02 +02:00
Fabien Potencier
e38d4ee79e Merge branch '4.4' into 5.3
* 4.4:
  Revert "bug #42831 [Mime] Update mime types (fabpot)"
  Fix implicit float to int cast
  [Mime] Update mime types
  [HttpKernel] Fix timeline in profiler
2021-09-03 09:35:37 +02:00
Nicolas de Marqué Fromentin
16caffda56 [HttpKernel] Fix timeline in profiler
Simple fix to #42804
2021-09-01 16:36:38 +02:00
Nicolas Grekas
5531067a19 Add some missing return types to internal/final classes 2021-08-24 21:02:39 +02:00
Nicolas Grekas
1b8585c7d3 Cleanup more @return annotations 2021-08-17 16:20:01 +02:00
Thomas Calvet
8fe5bcc9f4 Fix some \Throwable support remaining issues 2019-11-12 18:18:47 +01:00
Thomas Calvet
75f83183e0 Remove \Throwable support deprecation layer 2019-11-08 10:00:49 +01:00
Thomas Calvet
ea37f120fb Deprecate things that prevent \Throwable from bubbling down 2019-11-05 18:23:20 +01:00
Nicolas Grekas
23fb04a47f [HttpKernel] Fix return type declarations 2019-08-26 09:50:50 +02:00
Tobias Schultze
2bd6eab16f [Stopwatch] fix some phpdocs 2019-07-29 15:17:57 +02:00
Fabien Potencier
fc31f88e8f fixed CS 2019-06-13 12:34:15 +02:00
Lynn
6be2e0fd9c Show more accurate message in profiler when missing stopwatch 2019-04-10 18:17:31 +02:00
Fabien Potencier
f1b8a42c93 switched array() to [] 2019-01-16 10:39:14 +01:00
Christian Flothmann
f20a985e4f implement reset() in DumpDataCollector 2017-10-11 09:28:13 +02:00
Alexander M. Turek
6097c5f79f Reset profiler. 2017-10-05 12:20:28 +02:00
Iltar van der Berg
ecd2098040 No fallback to REQUEST_TIME in TimeDataCollector 2017-01-04 11:32:26 +01:00
Fabien Potencier
a0d678c7b2 Merge branch '2.3' into 2.5
* 2.3:
  Configure firewall's kernel exception listener with configured entry point or a default entry point
  PSR-2 fixes
  [DependencyInjection] make paths relative to __DIR__ in the generated container
  Fixed the syntax of a composer.json file
  Fixed the symfony/config version constraint
  Tweaked the password-compat version constraint
  Docblock fixes
  define constant only if it wasn't defined before
  Fix incorrect spanish translation
  Fixed typos

Conflicts:
	composer.json
	src/Symfony/Bridge/Twig/TwigEngine.php
	src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
	src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php
	src/Symfony/Bundle/FrameworkBundle/composer.json
	src/Symfony/Component/Console/Descriptor/MarkdownDescriptor.php
	src/Symfony/Component/Console/Helper/TableHelper.php
	src/Symfony/Component/Console/Tests/Helper/HelperSetTest.php
	src/Symfony/Component/Debug/ErrorHandler.php
	src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
	src/Symfony/Component/Finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php
	src/Symfony/Component/Form/Tests/Extension/Core/DataMapper/PropertyPathMapperTest.php
	src/Symfony/Component/HttpFoundation/Response.php
	src/Symfony/Component/HttpFoundation/StreamedResponse.php
	src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php
	src/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php
	src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
	src/Symfony/Component/HttpKernel/Fragment/RoutableFragmentRenderer.php
	src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php
	src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php
	src/Symfony/Component/Process/Process.php
	src/Symfony/Component/Process/Tests/AbstractProcessTest.php
	src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php
	src/Symfony/Component/Routing/Tests/Fixtures/validpattern.php
	src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php
	src/Symfony/Component/Security/composer.json
	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
	src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
	src/Symfony/Component/Stopwatch/StopwatchEvent.php
	src/Symfony/Component/Stopwatch/StopwatchPeriod.php
	src/Symfony/Component/Templating/PhpEngine.php
	src/Symfony/Component/Templating/TemplateReference.php
	src/Symfony/Component/Templating/TemplateReferenceInterface.php
	src/Symfony/Component/Translation/TranslatorInterface.php
	src/Symfony/Component/Validator/ConstraintViolation.php
	src/Symfony/Component/Validator/ExecutionContextInterface.php
	src/Symfony/Component/Validator/Mapping/ClassMetadata.php
	src/Symfony/Component/Validator/MetadataFactoryInterface.php
2014-12-02 21:15:53 +01:00
Graham Campbell
8a57ab8dc3 Docblock fixes 2014-11-30 13:33:44 +00:00
Disquedur
600f597b72 Remove aligned '=>' and '=' 2014-10-30 21:17:55 +01:00
Fabien Potencier
64a1e7a008 Merge branch '2.3' into 2.5
* 2.3:
  Remove aligned '=>' and '='
  Break infinite loop while resolving aliases
  [Security][listener] change priority of switchuser
  Improved the phpdoc for security token classes
  bumped Symfony version to 2.3.22
  updated VERSION for 2.3.21
  update CONTRIBUTORS for 2.3.21
  updated CHANGELOG for 2.3.21

Conflicts:
	src/Symfony/Bridge/Propel1/Form/ChoiceList/ModelChoiceList.php
	src/Symfony/Bridge/Propel1/Form/Type/ModelType.php
	src/Symfony/Bridge/Propel1/Logger/PropelLogger.php
	src/Symfony/Bridge/Propel1/Tests/Fixtures/ItemQuery.php
	src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
	src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
	src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php
	src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
	src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LocalizedController.php
	src/Symfony/Bundle/SecurityBundle/Tests/Functional/Bundle/FormLoginBundle/Controller/LoginController.php
	src/Symfony/Component/Console/Descriptor/JsonDescriptor.php
	src/Symfony/Component/Console/Formatter/OutputFormatterStyle.php
	src/Symfony/Component/Console/Helper/ProgressHelper.php
	src/Symfony/Component/Debug/ErrorHandler.php
	src/Symfony/Component/DependencyInjection/Container.php
	src/Symfony/Component/Finder/Shell/Command.php
	src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php
	src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
	src/Symfony/Component/Form/Extension/Core/Type/FormType.php
	src/Symfony/Component/Form/Extension/Core/Type/IntegerType.php
	src/Symfony/Component/Form/Extension/Core/Type/NumberType.php
	src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php
	src/Symfony/Component/HttpFoundation/File/UploadedFile.php
	src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php
	src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php
	src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/HttpKernel/Tests/EventListener/TestSessionListenerTest.php
	src/Symfony/Component/HttpKernel/Tests/HttpCache/TestMultipleHttpKernel.php
	src/Symfony/Component/Intl/NumberFormatter/NumberFormatter.php
	src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php
	src/Symfony/Component/Routing/Route.php
	src/Symfony/Component/Routing/Tests/Loader/AnnotationClassLoaderTest.php
	src/Symfony/Component/Security/Tests/Core/Validator/Constraints/UserPasswordValidatorTest.php
	src/Symfony/Component/Templating/PhpEngine.php
	src/Symfony/Component/Validator/Constraints/ImageValidator.php
	src/Symfony/Component/Validator/Constraints/TypeValidator.php
2014-10-26 08:41:27 +01:00
Disquedur
4257a8644d Remove aligned '=>' and '=' 2014-10-26 08:30:58 +01:00
Fabien Potencier
b783074dd0 Merge branch '2.3' into 2.4
* 2.3:
  fixed types in phpdocs

Conflicts:
	src/Symfony/Bridge/Twig/TwigEngine.php
	src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php
	src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
	src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php
	src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php
	src/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php
	src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php
	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
	src/Symfony/Component/Stopwatch/StopwatchEvent.php
	src/Symfony/Component/Templating/PhpEngine.php
2014-04-16 12:34:31 +02:00
Fabien Potencier
885ec5fb41 fixed types in phpdocs 2014-04-16 12:30:19 +02:00
Fabien Potencier
2b022521ce removed unneeded use statements 2014-01-01 10:02:49 +01:00
Fabien Potencier
a046d757fa Merge branch '2.3' into 2.4
* 2.3:
  removed unneeded use statements
  Prepend Child Bundle paths before the parent
  [Routing] add unit tests for Symfony\Component\Routing\RequestContext class

Conflicts:
	src/Symfony/Component/Form/Extension/Csrf/CsrfExtension.php
	src/Symfony/Component/HttpKernel/DataCollector/TimeDataCollector.php
	src/Symfony/Component/Validator/ConstraintValidatorFactory.php
2014-01-01 09:14:50 +01:00
Fabien Potencier
f004cbf250 removed unneeded use statements 2014-01-01 08:52:14 +01:00
Fabien Potencier
d5604133a7 [HttpKernel] added LateDataCollectorInterface 2013-09-30 10:54:48 +02:00
Fabien Potencier
f31d9f3d62 [HttpKernel] decoupled TraceableEventDispatcher and Profiler 2013-09-30 10:52:26 +02:00
Fabien Potencier
80b417bc2f Merge branch '2.2' into 2.3
* 2.2:
  return 0 if there is no valid data
  [Tests] Tests on php 5.5 should pass
  [Twig] fixed TwigEngine::exists() method when a template contains a syntax error (closes #88546)
2013-07-27 07:01:40 +02:00
Dominik Zogg
7372045631 return 0 if there is no valid data 2013-07-25 19:15:09 +02:00
Fabien Potencier
dae552f1d7 [HttpKernel] fixed failing tests 2013-04-23 11:21:35 +02:00
Henrik Bjørnskov
164dd884b8 Use REQUEST_TIME_FLOAT if available.
This will give a more correct initialization time when using the
DataCollectors without a KernelInterface implementation such as Silex.
2013-02-05 10:58:14 +01:00
Victor Berchet
4f1da7c13a [Stopwatch] Get the "real size" used & minor tweaks 2012-11-11 11:18:42 +01:00
Victor Berchet
6d6f55f6b0 [TimeDataCollector] Do not throw an exception when no events are recorded 2012-07-03 18:15:20 +02:00
Victor Berchet
9f449380aa [Stopwatch] rename the section event to avoid collisions 2012-01-31 08:41:00 +01:00
Victor Berchet
a9808ddf3f [Profiler] Allow profiling the terminate event 2012-01-31 08:40:49 +01:00
Fabien Potencier
82cf669a29 fixed some phpdoc 2012-01-11 15:52:51 +01:00
Fabien Potencier
03a6faf5de added Stopwatch support in debug mode, added a timeline representing the stopwatch events in the web profiler
Enjoy!
2011-10-21 07:45:12 +02:00