67 Commits

Author SHA1 Message Date
Nicolas Grekas
176cca38c6 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
3d2ae12694 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
9f39bd6765 Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value 2024-01-23 14:51:25 +01:00
Nicolas Grekas
d27d89c588 Add types to public and protected properties 2023-07-27 18:29:09 +02:00
Grégoire Pineau
fb7ade8fab [CS] Remove @inheritdoc PHPDoc 2022-08-25 17:27:04 +02:00
Fabien Potencier
dd3bf10773 Revert "bug #44494 Remove FQCN type hints on properties (fabpot)"
This reverts commit 0a13eba7037c6636be7a35c194d7d2e86d6ea6ba, reversing
changes made to e4cfa82c31ffda491b73e181c8d3d4e0a307eee8.
2021-12-09 13:46:12 +01:00
Fabien Potencier
a871a08baa Remove FQCN type hints on properties 2021-12-08 16:13:44 +01:00
Alexander M. Turek
bf9d0d4969 [FrameworkBundle] Add types to private properties 2021-11-02 11:55:16 +01:00
Robin Chalas
7361c591bd fix tests 2021-09-30 11:43:20 +02:00
Robin Chalas
a97e8c7b9f Merge branch '5.4' into 6.0
* 5.4: (30 commits)
  [HttpKernel] Add support for configuring log level, and status code by exception class
  Add return types to HttpCache createSurrogate and createStore methods
  [Serializer] Fix denormalizing of array with empty body
  Fix framework configuration when messenger uses without console
  [Security] Remove annoying deprecation in `UsageTrackingTokenStorage`
  [Mailer] Improve error message when STARTTLS fails
  [Security] Add alias for FirewallMapInterface to @security.firewall.map
  Bump Symfony version to 5.3.10
  Update VERSION for 5.3.9
  Fix CHANGELOG
  Update CHANGELOG for 5.3.9
  Bump Symfony version to 4.4.33
  Update VERSION for 4.4.32
  Fix CHANGELOG
  Update CHANGELOG for 4.4.32
  [Workflow] Remove dead code in XML schemas
  [Runtime] Fix test for env var names
  Bump Symfony version to 5.3.9
  Update VERSION for 5.3.8
  Update CHANGELOG for 5.3.8
  ...
2021-09-30 11:30:05 +02:00
Alexander Schranz
571457acfc Add return types to HttpCache createSurrogate and createStore methods 2021-09-29 14:28:12 +02:00
Nicolas Grekas
9289cec3b8 Remove needless TypeErrors 2021-09-09 08:54:05 +02:00
Nicolas Grekas
bf6c5d4bcf Merge branch '5.4' into 6.0
* 5.4:
  [Serializer] cs fix
  Cleanup more `@return` annotations
  [Form] Fix phpdoc on FormBuilderInterface
2021-08-17 17:35:52 +02:00
Nicolas Grekas
9f34e5f8d9 Cleanup more @return annotations 2021-08-17 16:20:01 +02:00
Nicolas Grekas
6891913093 Add return types to bundles 2021-08-13 09:31:38 +02:00
Nicolas Grekas
6e1849b890 [FrameworkBundle] add union types 2021-06-30 18:19:31 +02:00
Nicolas Grekas
53a6169fcd [FrameworkBundle] dont access the container to configure http_cache 2021-03-29 10:37:12 +02:00
Christian Flothmann
89583e7d29 enable HTTP method overrides as early as possible with the HTTP cache 2021-03-17 21:40:29 +01:00
Nicolas Grekas
f7a22cd2db [FrameworkBundle] allow enabling the HTTP cache using semantic configuration 2020-06-20 14:01:26 +02:00
Robin Chalas
05293526c6 Merge branch '4.4' into 5.0
* 4.4:
  Avoid stale-if-error if kernel.debug = true, because it hides errors
  [Console] Fix SymfonyQuestionHelper tests sometimes failing on AppVeyor
  [SecurityBundle] Fix collecting traceable listeners info using anonymous: lazy
  [Filesystem][FilesystemCommonTrait] Use a dedicated directory when there are no namespace
  [Workflow] Fix configuration node reference for "initial_marking"
  expand listener in place
  [DI] deferred exceptions in ResolveParameterPlaceHoldersPass
  Do not throw exception on valut generate key
2020-01-10 22:57:37 +01:00
Robin Chalas
d6d905b286 Merge branch '4.3' into 4.4
* 4.3:
  Avoid stale-if-error if kernel.debug = true, because it hides errors
  [Console] Fix SymfonyQuestionHelper tests sometimes failing on AppVeyor
  [Workflow] Fix configuration node reference for "initial_marking"
  expand listener in place
  [DI] deferred exceptions in ResolveParameterPlaceHoldersPass
2020-01-10 22:54:01 +01:00
Robin Chalas
1f9b46ba40 Merge branch '3.4' into 4.3
* 3.4:
  Avoid stale-if-error if kernel.debug = true, because it hides errors
  [Console] Fix SymfonyQuestionHelper tests sometimes failing on AppVeyor
  [DI] deferred exceptions in ResolveParameterPlaceHoldersPass
2020-01-10 22:48:14 +01:00
Matthias Pigulla
56596df017 Avoid stale-if-error if kernel.debug = true, because it hides errors 2020-01-10 10:52:55 +00:00
Alexander M. Turek
cbd851e3e5 [FrameworkBundle] Add parameter types from HttpKernel. 2019-08-14 10:52:36 +02:00
Fabien Potencier
e065f55efc removed unneeded phpdocs 2019-08-06 08:19:29 +02:00
Fabien Potencier
445fdbb53f Merge branch '3.4' into 4.1
* 3.4:
  fixed CS
  fixed short array CS in comments
  fixed CS in ExpressionLanguage fixtures
  fixed CS in generated files
  fixed CS on generated container files
  fixed CS on Form PHP templates
  fixed CS on YAML fixtures
  fixed fixtures
  switched array() to []
2019-01-16 19:21:11 +01:00
Fabien Potencier
ce7ef306e9 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
92f6742b16 Merge branch '4.0' into 4.1
* 4.0:
  Alpha-ordering for "use" statements
2018-07-26 11:10:45 +02:00
Nicolas Grekas
f262579e4a Merge branch '3.4' into 4.0
* 3.4:
  Alpha-ordering for "use" statements
2018-07-26 11:08:35 +02:00
Nicolas Grekas
a281fdb702 Merge branch '2.8' into 3.4
* 2.8:
  Alpha-ordering for "use" statements
2018-07-26 11:06:28 +02:00
Nicolas Grekas
f607411732 Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
Grégoire Pineau
361c4ffa83 Revert "[FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da)"
This reverts commit 60730666abf806b2a95e25e0f699b1da672f841a.
2018-04-02 13:58:37 +02:00
Nicolas Grekas
a8e73bb539 Merge branch '3.4' into 4.0
* 3.4: (24 commits)
  moved Twig runtime to proper class
  fixed deprecated messages in tests
  add PHP errors options to XML schema definition
  [HttpCache] Unlink tmp file on error
  Added LB translation for #26327 (Errors sign for people that do not see colors)
  [TwigBridge] Fix rendering of currency by MoneyType
  Import InvalidArgumentException in PdoAdapter
  [DI] Do not suggest writing an implementation when multiple exist
  [Intl] Update ICU data to 61.1
  Use 3rd person verb form in command description
  [Validator] Add Japanese translation
  Support phpdbg SAPI in Debug::enable()
  [HttpKernel] DumpDataCollector: do not flush when a dumper is provided
  [DI] Fix hardcoded cache dir for warmups
  [Routing] fix tests
  [Routing] Fixed the importing of files using glob patterns that match multiple resources
  [Ldap] cast to string when checking empty passwords
  [Validator] sync validator translation id
  [WebProfilerBundle] use the router to resolve file links
  no type errors with invalid submitted data types
  ...
2018-04-02 11:52:41 +02:00
Fabien Potencier
f08458c13d Merge branch '2.8' into 3.4
* 2.8:
  [Intl] Update ICU data to 61.1
  [Validator] Add Japanese translation
  Support phpdbg SAPI in Debug::enable()
  [Ldap] cast to string when checking empty passwords
  [Validator] sync validator translation id
  no type errors with invalid submitted data types
  [FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da)
  [Finder] Fixed leading/trailing / in filename
  allow html5 compatible rendering of forms with null names
  Change datetime input to datetime-local
2018-03-28 20:23:39 +02:00
Grégoire Pineau
70d970a8e6 [FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da) 2018-03-21 10:56:17 +01:00
Nicolas Grekas
c229de8a61 Merge branch '3.4' into 4.0
* 3.4: (32 commits)
  [Form] fix tests and deps
  [Cache] Rely on mock for Doctrine ArrayCache
  [FrameworkBundle] Respect debug mode when warm up annotations
  [Console] Fix docblock of DescriptorInterface::describe
  [Config] Handle nullable node name + fix inheritdocs
  [Security] added userChecker to SimpleAuthenticationProvider
  [Debug] fix test
  Fix typo in test method name
  Fixes #26563 (open_basedir restriction in effect)
  [Debug] Reset previous exception handler ealier to prevent infinite loop
  add hint in Github pull request template
  [Validator] Fix docblock of ClassMetadata#members
  [BrowserKit] Fix cookie path handling when $domain is null
  [DoctrineBridge] Don't rely on ClassMetadataInfo->hasField in DoctrineOrmTypeGuesser anymore
  [BrowserKit] Improves CookieJar::get
  [BrowserKit] Fix Cookie's PHPDoc
  [DomCrawler] Change bad wording in ChoiceFormField::untick
  [DomCrawler] Fix the PHPDoc of ChoiceFormField::setValue
  [DomCrawler] Avoid a useless call to strtolower
  [FrameworkBundle] HttpCache is not longer abstract
  ...
2018-03-19 23:35:49 +01:00
Nicolas Grekas
1da6ac6a64 Merge branch '2.8' into 3.4
* 2.8: (29 commits)
  [Console] Fix docblock of DescriptorInterface::describe
  [Config] Handle nullable node name + fix inheritdocs
  [Security] added userChecker to SimpleAuthenticationProvider
  [Debug] fix test
  Fix typo in test method name
  Fixes #26563 (open_basedir restriction in effect)
  [Debug] Reset previous exception handler ealier to prevent infinite loop
  add hint in Github pull request template
  [Validator] Fix docblock of ClassMetadata#members
  [BrowserKit] Fix cookie path handling when $domain is null
  [DoctrineBridge] Don't rely on ClassMetadataInfo->hasField in DoctrineOrmTypeGuesser anymore
  [BrowserKit] Improves CookieJar::get
  [BrowserKit] Fix Cookie's PHPDoc
  [DomCrawler] Change bad wording in ChoiceFormField::untick
  [DomCrawler] Fix the PHPDoc of ChoiceFormField::setValue
  [DomCrawler] Avoid a useless call to strtolower
  [FrameworkBundle] HttpCache is not longer abstract
  Php Inspections (EA Ultimate): address some of one-time used local variables
  [Intl] Load locale aliases to support alias fallbacks
  [CssSelector] Fix CSS identifiers parsing - they can start with dash
  ...
2018-03-19 23:32:39 +01:00
Grégoire Pineau
3aa31fdb06 [FrameworkBundle] HttpCache is not longer abstract 2018-03-15 10:35:06 +01:00
Fabien Potencier
8c8b8fae00 minor #25898 [minor] SCA: reduce repetitive method calls (sequential and in loop) (kalessil)
This PR was merged into the 2.7 branch.

Discussion
----------

[minor] SCA: reduce repetitive method calls (sequential and in loop)

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

609372252f SCA: get rid of repetitive calls
2018-01-23 20:05:41 +01:00
Vladimir Reznichenko
2f3246fae2 SCA: get rid of repetitive calls 2018-01-23 12:06:14 +01:00
Romain Neutron
a16814bfac [2.7][DX] Use constant message contextualisation for deprecations 2017-12-20 15:36:51 +01:00
Nicolas Grekas
4336665c1b Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
Nicolas Grekas
1c9ad51cf1 Merge branch '2.8' into 3.3
* 2.8: (22 commits)
  Tests and fix for issue in array model data in EntityType field with multiple=true
  [Form] Fixed PercentToLocalizedStringTransformer to accept both comma and dot as decimal separator, if possible
  removed useless PHPDoc
  [Form] Fix FormInterface::submit() annotation
  PdoSessionHandler: fix advisory lock for pgsql when session.sid_bits_per_character > 4
  HttpCache does not consider ESI resources in HEAD requests
  Fix translation for "This field was not expected"
  [Routing] Enhance Route(Collection) docblocks
  Added improvement for accuracy in MoneyToLocalizedStringTransformer.
  Removed unused private property
  Use correct verb form in the pull request template
  Use PHP_MAXPATHLEN in Filesystem.
  Added null as explicit return type (?TokenInterface)
  [FrameworkBundle] Fix Routing\DelegatingLoader
  Render all line breaks according to the exception message
  [Form] Fix phpdoc
  [DI] remove confusing code
  [Form] Fixed GroupSequence with "constraints" option
  [Validator] Clarify UUID validator behavior
  [Filesystem] Fixed makePathRelative
  ...
2017-10-02 08:42:24 +02:00
Oskar Stark
e8cd5edd54 removed useless PHPDoc 2017-09-30 07:00:23 -07:00
Nicolas Grekas
3825c07028 remove useless comment 2017-07-18 13:58:52 +02:00
Roland Franssen
9a86cde107 [FrameworkBundle] Dont set pre-defined esi/ssi services 2017-06-14 13:16:32 -07:00
reecefowell
5f66b99e87 Silence invasive deprecation warnings, opt-in for warnings 2015-06-08 10:37:21 +01:00
Fabien Potencier
47beb343ac added deprecation notice for HttpCache::createEsi() 2015-02-04 16:19:16 +01:00
Hugo Hamon
24e651d25e Normalized @deprecated annotations. 2015-01-05 16:02:26 +01:00
FlorianLB
42817f4ed9 [FrameworkBundle] remove deprecated method 'createEsi' 2014-11-29 12:03:50 +01:00