59 Commits

Author SHA1 Message Date
Fabien Potencier
65b3fedb4c Remove FQCN type hints on properties 2021-12-08 16:13:44 +01:00
Alexander M. Turek
f11a960989 [FrameworkBundle] Add types to private properties 2021-11-02 11:55:16 +01:00
Robin Chalas
721af07e51 fix tests 2021-09-30 11:43:20 +02:00
Robin Chalas
3886b30349 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
b9f47ac459 Add return types to HttpCache createSurrogate and createStore methods 2021-09-29 14:28:12 +02:00
Nicolas Grekas
3896e5ff16 Remove needless TypeErrors 2021-09-09 08:54:05 +02:00
Nicolas Grekas
0e1a432d5c 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
60942b6667 Cleanup more @return annotations 2021-08-17 16:20:01 +02:00
Nicolas Grekas
b8d12f2a77 Add return types to bundles 2021-08-13 09:31:38 +02:00
Nicolas Grekas
81ffa23f34 [FrameworkBundle] add union types 2021-06-30 18:19:31 +02:00
Nicolas Grekas
e626863831 [FrameworkBundle] dont access the container to configure http_cache 2021-03-29 10:37:12 +02:00
Christian Flothmann
97ee0e3f47 enable HTTP method overrides as early as possible with the HTTP cache 2021-03-17 21:40:29 +01:00
Nicolas Grekas
96dd239075 [FrameworkBundle] allow enabling the HTTP cache using semantic configuration 2020-06-20 14:01:26 +02:00
Robin Chalas
c5eecee02a 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
3b2b7c8522 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
aa5daeed7e 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
833e7b11b7 Avoid stale-if-error if kernel.debug = true, because it hides errors 2020-01-10 10:52:55 +00:00
Alexander M. Turek
8d4e4f5fbe [FrameworkBundle] Add parameter types from HttpKernel. 2019-08-14 10:52:36 +02:00
Fabien Potencier
5a327a243a removed unneeded phpdocs 2019-08-06 08:19:29 +02:00
Fabien Potencier
52e30b44d7 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
e6fb3dadb8 switched array() to [] 2019-01-16 10:39:14 +01:00
Nicolas Grekas
4fea3071b8 Merge branch '4.0' into 4.1
* 4.0:
  Alpha-ordering for "use" statements
2018-07-26 11:10:45 +02:00
Nicolas Grekas
436304f08d Merge branch '3.4' into 4.0
* 3.4:
  Alpha-ordering for "use" statements
2018-07-26 11:08:35 +02:00
Nicolas Grekas
74a24c17dd Merge branch '2.8' into 3.4
* 2.8:
  Alpha-ordering for "use" statements
2018-07-26 11:06:28 +02:00
Nicolas Grekas
98812f5a8e Alpha-ordering for "use" statements 2018-07-26 11:03:18 +02:00
Grégoire Pineau
3921d800cc Revert "[FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da)"
This reverts commit 60730666abf806b2a95e25e0f699b1da672f841a.
2018-04-02 13:58:37 +02:00
Nicolas Grekas
04ec312767 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
beab5a531d 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
2fc31d9e49 [FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da) 2018-03-21 10:56:17 +01:00
Nicolas Grekas
228f5e783f 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
c85fa25e5e 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
b77745c3ec [FrameworkBundle] HttpCache is not longer abstract 2018-03-15 10:35:06 +01:00
Fabien Potencier
47193ac66c 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
97bf13652d SCA: get rid of repetitive calls 2018-01-23 12:06:14 +01:00
Romain Neutron
19dd2933af [2.7][DX] Use constant message contextualisation for deprecations 2017-12-20 15:36:51 +01:00
Nicolas Grekas
7220eb0eb9 Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
Nicolas Grekas
33b433c9b4 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
f18b6ac93b removed useless PHPDoc 2017-09-30 07:00:23 -07:00
Nicolas Grekas
bf1e041154 remove useless comment 2017-07-18 13:58:52 +02:00
Roland Franssen
b9377ca307 [FrameworkBundle] Dont set pre-defined esi/ssi services 2017-06-14 13:16:32 -07:00
reecefowell
8972ac7c50 Silence invasive deprecation warnings, opt-in for warnings 2015-06-08 10:37:21 +01:00
Fabien Potencier
78c4720fe2 added deprecation notice for HttpCache::createEsi() 2015-02-04 16:19:16 +01:00
Hugo Hamon
bd3a87aae0 Normalized @deprecated annotations. 2015-01-05 16:02:26 +01:00
FlorianLB
db0bb921ff [FrameworkBundle] remove deprecated method 'createEsi' 2014-11-29 12:03:50 +01:00
Sebastian Krebs
4ca901ed40 SSI support 2014-06-18 11:11:19 +02:00
Fabien Potencier
8245a6675e made phpdoc types consistent with those defined in Hack 2014-04-15 07:41:45 +02:00
Adel
2d515e3105 Fix typo change String to string 2012-07-06 19:52:14 +03:00
Fabien Potencier
c16cca50fc [FrameworkBundle] fixed name collision 2012-04-13 09:04:04 +02:00
Fabien Potencier
978e459ae9 [FrameworkBundle] made the Esi and Store instances configurable in HttpCache base class 2012-04-13 07:23:33 +02:00
Eriksen Costa
9aadb7f0c6 fixed CS (missing or misplaced license blocks) 2012-04-02 00:52:14 -03:00