28 Commits

Author SHA1 Message Date
Alexander M. Turek
c307b0c1b7 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Alexander M. Turek
a88994416a [HttpKernel] Use CPP 2024-02-06 10:15:06 +01:00
Nicolas Grekas
24671ba111 Merge branch '6.4' into 7.0
* 6.4:
  Fix implicitly-required parameters
  minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
  Fix bad merge
  List CS fix in .git-blame-ignore-revs
  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 16:02:46 +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
710f441eeb Add types to public and protected properties 2023-07-27 18:29:09 +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
Nicolas Grekas
e47a3e656d Add return types - batch 6/n 2021-08-16 17:45:02 +02:00
Nicolas Grekas
22ebd0adf8 [HttpKernel] remove deprecated features 2021-07-04 12:33:14 +02:00
Robin Chalas
9b595b1d11 [HttpKernel] Deprecate single-colon notation for controllers 2020-03-31 21:20:47 +02:00
Fabien Potencier
875414e0a8 Merge branch '4.4' into 5.0
* 4.4:
  Add missing dots at the end of exception messages
  [DI][Form] Fixed test suite (TimeType changes & unresolved merge conflict)
  Fix bad merge
  Add missing dots at the end of exception messages
2020-03-15 15:33:06 +01:00
Fabien Potencier
8e6b70bec5 Add missing dots at the end of exception messages 2020-03-15 15:17:26 +01:00
Nicolas Grekas
b9af81cf79 Merge branch '4.4'
* 4.4:
  [HttpKernel] fixed class having a leading \ in a route controller
  [HttpKernel] trim the leading backslash in the controller init
  Bump minimal requirements
  Use PHPUnit 8.3 on Travis when possible
2019-08-09 14:41:16 +02:00
Fabien Potencier
53e833c8f4 Merge branch '4.3' into 4.4
* 4.3:
  [HttpKernel] fixed class having a leading \ in a route controller
  [HttpKernel] trim the leading backslash in the controller init
2019-08-09 14:17:13 +02:00
Amrouche Hamza
702f87dd30 [HttpKernel] trim the leading backslash in the controller init 2019-08-09 14:15:48 +02:00
Philippe Segatori
6d9ca3d97b [Http-Kernel][5.0] Add type-hints 2019-08-08 17:48:38 +02:00
Amrouche Hamza
9143330a34 [HttpKernel][DX] Improve the error message when not defining the controller as a service but using contruct parameters 2019-07-01 14:02:11 +02:00
Christophe Coevoet
20478920fb Undeprecate the single-colon notation for controllers
This notation is the only way to support controllers as services in the 3.4
LTS version.
This deprecation has only a very small benefit for the Symfony codebase (the
amount of code involved is very small), but has a huge cost for the community
which cannot avoid this deprecation without dropping support for the LTS or
making crazy logic to switch routing files (as they cannot switch things
inline in YAML or XML files).
This deprecation will be delayed until a future 5.x version, when the current
LTS will be 4.4 (which supports the new notation).
2018-11-15 10:34:05 +01:00
Tobias Schultze
5ce757f0fb Deprecate bundle:controller:action and service:method notation 2018-02-21 06:14:04 +01:00
Nicolas Grekas
4f7d82f21b Merge branch '3.4' into 4.0
* 3.4: (37 commits)
  Remove some unused variables and properties
  [appveyor] disable memory limit on composer up
  [HttpFoundation] don't prefix cookies with "Set-Cookie:"
  Remove some unused variables and properties
  Fix debug:form definition
  Remove some unused variables, properties and methods
  fix some edge cases with indented blocks
  [ExpressionLanguage] Fix parse error on 5.3
  [HttpKernel] remove noisy frame in controller stack traces
  [DI] Force root-namespace for function calls in the dumper container
  [DI] Fix circular-aliases message
  register system cache clearer only if it's used
  doc : Namespace prefix must end with a "\"
  [ExpressionLanguage] throw an SyntaxError instead of letting a undefined index notice
  Prevent a loop in aliases within the `findDefinition` method
  [HttpKernel] Disable inlining on PHP 5
  Ensure that inlined services with parameterized class name can be dumped
  [DI] Fix non-string class handling in PhpDumper
  Throw a sensible exception when controller has been removed
  Remove LOCK_EX That Breaks Cache Usage on NFS
  ...
2017-12-08 16:46:13 +01:00
Samuel ROZE
8afc232816 Throw a sensible exception when controller has been removed 2017-12-06 11:59:38 +00:00
Nicolas Grekas
fcca526f07 Merge branch '3.4' into 4.0
* 3.4:
  [DI] Add missing deprecation when fetching private services from ContainerBuilder
  [FrameworkBundle] Rename getDotEnvVars to getDotenvVars
  [DI] Fix false-positive circular exception
  Use a more specific file for detecting the bridge
  [HttpKernel] Fix issue when resetting DumpDataCollector
  bumped Symfony version to 3.4.1
  updated VERSION for 3.4.0
  updated CHANGELOG for 3.4.0
2017-12-01 20:20:47 +01:00
Nicolas Grekas
b2d21ace43 [DI] Add missing deprecation when fetching private services from ContainerBuilder 2017-12-01 16:10:27 +01:00
Nicolas Grekas
efc18fcffb Merge branch '3.4' into 4.0
* 3.4:
  [HttpFoundation] Add Session::isEmpty(), fix MockFileSessionStorage to behave like the native one
  [HttpKernel] Add a better error messages when passing a private or non-tagged controller
  [VarDumper] Dont use empty(), it chokes on eg GMP objects
  [Dotenv] Changed preg_match flags from null to 0
  remove upgrade instructions for kernel.root_dir
  [HttpKernel] Arrays with scalar values passed to ESI fragment renderer throw deprecation notice
  [HttpKernel] add a test for FilterControllerEvents
2017-11-30 16:11:43 +01:00
Amrouche Hamza
16bc366563 [HttpKernel] Add a better error messages when passing a private or non-tagged controller 2017-11-30 15:23:34 +01:00
Nicolas Grekas
94d66ff992 [HttpKernel] Make array vs "::" controller definitions consistent 2017-09-24 15:32:05 +02:00
Maxime Steinhausser
2d49eed0ce [HttpKernel] Add a ContainerControllerResolver (psr-11) 2017-02-28 21:33:09 +01:00