68 Commits

Author SHA1 Message Date
Dariusz Ruminski
ef7f276afd PHP CS Fixer: enable static_lambda 2025-12-19 09:33:17 +01:00
Alexander M. Turek
4875a8487f Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Wouter de Jong
4694cf6431 [Bridges][Bundles] Convert to native return types 2023-07-03 15:04:15 +02:00
Wouter de Jong
34b8c763ea Add missing return types and enforce return types on all methods 2023-06-30 11:21:22 +02:00
Nicolas Grekas
f777350f71 Merge branch '6.2' into 6.3
* 6.2:
  [FrameworkBundle] Show non-bundle extensions in `debug:config` & `config:dump` list view & completion
2023-06-08 23:38:26 +02:00
Nicolas Grekas
e178e998f3 Merge branch '5.4' into 6.2
* 5.4:
  [FrameworkBundle] Show non-bundle extensions in `debug:config` & `config:dump` list view & completion
2023-06-08 23:38:19 +02:00
HypeMC
d8cb33b931 [FrameworkBundle] Show non-bundle extensions in debug:config & config:dump list view & completion 2023-06-08 21:34:49 +02:00
Wouter de Jong
5974e39096 Add PHP types to private methods and functions 2023-02-13 10:14:48 +01:00
tigitz
b46d202008 Leverage arrow function syntax for closure 2023-01-13 10:22:59 +01:00
Nicolas Grekas
fc05ce3515 Merge branch '5.4' into 6.0
* 5.4:
  Fix merge
2022-05-23 13:44:21 +02:00
Nicolas Grekas
3407eeea1e Fix merge 2022-05-23 13:43:43 +02:00
Nicolas Grekas
46b93855fc Merge branch '5.4' into 6.0
* 5.4:
  Fix merge
  [FrameworkBundle] fix tests
  [FrameworkBundle] fix wiring of annotations.cached_reader
  [SecurityBundle] Remove dead `class_exists` checks
  Fix BC break
  [DependencyInjection] Ignore unused bindings defined by attribute
  [ErrorHandler] update tentative types
2022-05-23 12:32:42 +02:00
Nicolas Grekas
adaa2a15ed Merge branch '4.4' into 5.4
* 4.4:
  [FrameworkBundle] fix tests
  [FrameworkBundle] fix wiring of annotations.cached_reader
  Fix BC break
2022-05-23 12:27:45 +02:00
Yonel Ceruto
e06d97dfc4 Fix BC break 2022-05-21 15:38:22 -04:00
Nicolas Grekas
30b6044e9a Merge branch '5.4' into 6.0
* 5.4:
  Fix merge
  [Mime] Throw exception when body in Email attach method is not ok
  [VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
  [Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
  fix merge
  Bootstrap 4 fieldset for row errors
  [Form] Fix same choice loader with different choice values
  [Filesystem] Safeguard (sym)link calls
  Fix dumping extension config without bundle
  [HttpClient] Honor "max_duration" when replacing requests with async decorators
  [HttpClient] Add missing HttpOptions::setMaxDuration()
  [HttpFoundation] [Session] Overwrite invalid session id
2022-05-21 15:33:31 +02:00
Nicolas Grekas
0f68f04466 Merge branch '4.4' into 5.4
* 4.4:
  [Mime] Throw exception when body in Email attach method is not ok
  [VarDumper][VarExporter] Deal with DatePeriod->include_end_date on PHP 8.2
  [Cache] Throw when "redis_sentinel" is used with a non-Predis "class" option
  Bootstrap 4 fieldset for row errors
  Fix dumping extension config without bundle
2022-05-21 12:24:18 +02:00
Yonel Ceruto
5142c8a611 Fix dumping extension config without bundle 2022-05-19 17:43:28 -04:00
Nicolas Grekas
6891913093 Add return types to bundles 2021-08-13 09:31:38 +02:00
Nicolas Grekas
454b8638ef Merge branch '5.4' into 6.0
* 5.4:
  Leverage str_contains/str_starts_with
  Leverage str_ends_with
2021-07-21 14:48:45 +02:00
Nicolas Grekas
4a8f8840cc Merge branch '5.2' into 5.3
* 5.2:
  Leverage str_contains/str_starts_with
  Leverage str_ends_with
2021-07-21 14:40:44 +02:00
Nicolas Grekas
276a57b3c9 Merge branch '4.4' into 5.2
* 4.4:
  Leverage str_contains/str_starts_with
  Leverage str_ends_with
2021-07-21 14:38:00 +02:00
Tobias Schultze
1cc79354b7 Leverage str_ends_with
added the php80 polyfill to requirements when necessary
2021-07-21 13:57:04 +02:00
Nicolas Grekas
21e3fc2c67 Add union types 2021-06-29 11:21:24 +02:00
Nyholm
0700ad9e52 [FrameworkBundle] Add argument KernelInterface to BuildDebugContainerTrait::getContainerBuilder() 2021-04-14 10:59:53 +02:00
Nicolas Grekas
1dd98abdcb Merge branch '4.4' into 5.1
* 4.4:
  Enable "native_constant_invocation" CS rule
  Make AbstractPhpFileCacheWarmer public
2020-09-02 18:23:27 +02:00
Nicolas Grekas
5da40103c3 Enable "native_constant_invocation" CS rule 2020-09-02 18:06:40 +02:00
Guillaume Pédelagrabe
b927de9b4d [FrameworkBundle] Dump kernel extension configuration 2020-03-31 20:59:28 +02:00
Nicolas Grekas
bb35af82f3 Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Fabien Potencier
3da7e76ce7 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
7224570d0c Add missing dots at the end of exception messages 2020-03-15 10:38:08 +01:00
Nicolas Grekas
49f5ad7124 Merge branch '4.4'
* 4.4:
  [Routing] Add a param annotation for $annot.
  [DI] fix docblock
  [Console] fix docblock
  Add missing translations for Armenian locale
  [Process] Added missing return type.
  [Process] Doc block backport.
  Added doc block for Registry::supports().
  [Cache] Fix predis test
  Don't duplicate addresses in Sendgrid Transport
  Remove unnecessary statement
  Fix some docblocks.
  [Messenger] make delay exchange and queues durable like the normal ones by default
  Cancel delayed message if handler fails
  Added tests for #32370
2019-08-19 13:20:07 +02:00
Alexander M. Turek
bceeb3b23e Fix some docblocks. 2019-08-16 02:50:45 +02:00
Alexander M. Turek
45bd0d0d9d [FrameworkBundle] Added type declarations where possible. 2019-07-10 13:37:29 +02:00
Fabien Potencier
c21c0cab81 fixed phpdocs 2019-07-05 06:54:49 +02:00
Tobias Schultze
dcdcf82cc8 [Config] finish adding parameter types 2019-06-30 00:48:28 +02:00
Fabien Potencier
ce7ef306e9 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
e26429262d Merge branch '2.8' into 3.4
* 2.8:
  Fix Clidumper tests
  Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
  Apply fixers
  Disable the native_constant_invocation fixer until it can be scoped
  Update the list of excluded files for the CS fixer
2018-07-26 10:45:46 +02:00
Christophe Coevoet
07bd17b5f9 Enable the fixer enforcing fully-qualified calls for compiler-optimized functions 2018-07-24 12:05:38 +02:00
Yonel Ceruto
ba58562370 Hide short exception trace by default 2018-05-03 19:18:14 -04:00
Roland Franssen
fcda14c5ee [FrameworkBundle] Commands as a service 2017-08-06 12:29:12 +02:00
Fabien Potencier
8f540ba090 Merge branch '2.8' into 3.2
* 2.8:
  [Console] Do not duplicate Helper::strlen() code
  [FrameworkBundle] Adding the extension XML
  [Form] Minor: Fix comment in ChoiceType
  [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice
2017-05-11 09:41:44 -07:00
Fabien Potencier
6646ee119f Merge branch '2.7' into 2.8
* 2.7:
  [Console] Do not duplicate Helper::strlen() code
  [FrameworkBundle] Adding the extension XML
  [Form] Minor: Fix comment in ChoiceType
  [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice
2017-05-11 09:41:12 -07:00
Maxime Steinhausser
3bfdb426ac [FrameworkBundle] AbstractConfigCommand: do not try registering bundles twice 2017-05-08 10:50:08 +02:00
Nicolas Grekas
c08ce2db3f Merge branch '3.0' into 3.1
* 3.0:
  [Console] Application update PHPDoc of add and register methods
  [Config] Extra tests for Config component
  Fixed bugs in names of classes and methods.
  [DoctrineBridge] Fixed php doc
  [FrameworkBundle] Fixed parameters number mismatch declaration
  [BrowserKit] Added test for followRedirect method (POST method)
  Fix the money form type render with Bootstrap3
  [BrowserKit] Uppercase the "GET" method in redirects
  [DomCrawler] Inherit the namespace cache in subcrawlers
  [WebProfilerBundle] Fixed  JSDoc parameter definition
  [HttpFoundation] HttpCache refresh stale responses containing an ETag
2016-07-26 10:04:17 +02:00
Nicolas Grekas
d3097b72fb Merge branch '2.7' into 2.8
* 2.7:
  [Console] Application update PHPDoc of add and register methods
  [Config] Extra tests for Config component
  Fixed bugs in names of classes and methods.
  [DoctrineBridge] Fixed php doc
  [FrameworkBundle] Fixed parameters number mismatch declaration
  [BrowserKit] Added test for followRedirect method (POST method)
  Fix the money form type render with Bootstrap3
  [BrowserKit] Uppercase the "GET" method in redirects
  [WebProfilerBundle] Fixed  JSDoc parameter definition
  [HttpFoundation] HttpCache refresh stale responses containing an ETag

Conflicts:
	src/Symfony/Component/BrowserKit/Tests/ClientTest.php
	src/Symfony/Component/Security/Acl/Resources/bin/generateSql.php
2016-07-26 10:02:44 +02:00
Vyacheslav Pavlov
f2a5c4865b [FrameworkBundle] Fixed parameters number mismatch declaration 2016-07-26 06:37:20 +02:00
Fabien Potencier
c2dcc0d9b8 Merge branch '3.0' into 3.1
* 3.0:
  fixed CS
  fixed CS
  fixed CS
  tweaked default CS fixer config
  [HttpKernel] Dont close the output stream in debug
  move HttpKernel component to require section
  Fixed oci and sqlsrv merge queries when emulation is disabled - fixes #17284
  [Session] fix PDO transaction aborted under PostgreSQL
  [Console] Use InputInterface inherited doc as possible
  Mention generating absolute urls in UPGRADE files and CHANGELOG
  add docblock type elements to support newly added IteratorAggregate::getIterator PhpStorm support
  FormBuilderInterface: fix getForm() return type.
  Fixed typo in PHPDoc
2016-06-21 07:59:09 +02:00
Fabien Potencier
b6e252283b Merge branch '2.7' into 2.8
* 2.7:
  fixed CS
  tweaked default CS fixer config
  [HttpKernel] Dont close the output stream in debug
  move HttpKernel component to require section
  Fixed oci and sqlsrv merge queries when emulation is disabled - fixes #17284
  [Session] fix PDO transaction aborted under PostgreSQL
  [Console] Use InputInterface inherited doc as possible
  add docblock type elements to support newly added IteratorAggregate::getIterator PhpStorm support
  FormBuilderInterface: fix getForm() return type.
  Fixed typo in PHPDoc
2016-06-21 07:36:02 +02:00
Fabien Potencier
4b46b716fe fixed CS 2016-06-20 18:47:20 +02:00
JhonnyL
b152151fac [FrameworkBundle] Use SymfonyStyle in AbstractConfigCommand 2016-04-10 18:33:46 +02:00