48 Commits

Author SHA1 Message Date
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
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
Fabien Potencier
75f6f1271d feature #17484 [FrameworkBundle][DX] Add Levenshtein suggesters to AbstractConfigCommand (kix)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[FrameworkBundle][DX] Add Levenshtein suggesters to AbstractConfigCommand

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

It could be helpful to output the best guesses for bundle names and container extension aliases when one could not be found by the exact query.

Perhaps, I could regroup the logic so that it only looks through bundle names if the `Bundle` suffix is present, but I guess this might narrow the use case scope here.

Commits
-------

3c0b0ae Add Levenshtein suggesters to AbstractConfigCommand
2016-03-02 15:18:11 +01:00
Fabien Potencier
2f5f1edf82 Merge branch '2.7' into 2.8
* 2.7:
  fixed test
  [Request] Ignore invalid IP addresses sent by proxies
  Throw for missing container extensions
  [TwigBridge] add missing unit tests (AppVariable)
  Able to load big xml files with DomCrawler
  fixed typo
  [Form] Fix constraints could be null if not set
  [Finder] Check PHP version before applying a workaround for a PHP bug
  fixed CS
  add defaultNull to version
  sort bundles in config:dump-reference command
  Fixer findings.
  [Translation][Writer] avoid calling setBackup if the dumper is not an instance of FileDumper.
  [FrameworkBundle] Compute the kernel root hash only one time
2016-01-25 10:56:46 +01:00
Stepan Anchugov
5e44e95281 Throw for missing container extensions
This covers cases when a bundle does not have an extension, which
lead to FatalErrorException with ```Call to a member function getAlias() on null```
2016-01-25 10:38:10 +01:00
Fabien Potencier
412809f566 Merge branch '2.7' into 2.8
* 2.7:
  Ability to set empty version strategy in packages
  CLI: use request context to generate absolute URLs
  [SecurityBundle] Optimize dependency injection tests
  Sort bundles in config commands
  [HttpFoundation] Do not overwrite the Authorization header if it is already set
  tag for dumped PHP objects must be a local one
2016-01-24 12:06:16 +01:00
Stepan Anchugov
bdcc77f305 Sort bundles in config commands 2016-01-22 18:33:13 +05:00
Stepan Anchugov
9c5c397cbc Add Levenshtein suggesters to AbstractConfigCommand 2016-01-22 04:04:38 +05:00
Fabien Potencier
1636b41cfe Merge branch '2.7' into 2.8
* 2.7:
  fixed CS
  fixed test
  fixed CS
  Remove default match from AbstractConfigCommand::findExtension
2016-01-21 10:05:51 +01:00
Stepan Anchugov
efed0cbbeb Remove default match from AbstractConfigCommand::findExtension
Previously, findExtension would return the first extension that might
not even match the $name parameter.
2016-01-21 07:10:38 +01:00
Javier Eguiluz
bf22961bea Updated the styles of the config parameters 2015-10-01 15:57:15 +02:00
ogizanagi
140890e598 [FrameworkBundle] Applied new styles to the config:debug & config:dump-reference commands 2015-05-12 23:29:10 +02:00
Christian Flothmann
8c3e1b8c1a [FrameworkBundle] improve usage of Table helper
Use the `Table` helper if present in favor of the deprecated
`TableHelper` class.
2015-04-13 17:21:02 +02:00
Abdellatif Ait boudad
cfcfae03e9 [FrameworkBundle][debug:config] added support for dynamic configurations. 2015-03-22 10:17:36 +00:00
Abdellatif Ait boudad
eee1e1866f [FrameworkBundle][config cmd] initialize extension. 2015-02-05 08:26:16 +01:00
Berny Cantos
c1e08bb177 fix dependency on ExtensionInterface over implementation 2014-12-23 12:45:12 +01:00
Luis Cordova
2ae9039d45 clean up commands from framework bundle 2014-03-12 23:58:17 -05:00
Fabien Potencier
31930c4605 [Console] fixed missing abstract keyword 2014-02-24 17:03:53 +01:00
Tiago Ribeiro
4cad9f43c4 Fixed typo in method name 2014-02-23 16:22:13 +00:00
Grégoire Pineau
06ae3d3d07 [FramworkBundle] Added config:debug command 2014-02-13 15:16:29 +01:00