Fabien Potencier
041cb7b103
made types consistent with those defined in Hack
2014-04-16 10:04:32 +02:00
Fabien Potencier
4a0382b58a
fixed CS
2014-03-27 21:36:23 +01:00
Inal DJAFAR
6aa1050793
Add parameter descriptors
2014-03-27 12:26:27 +01:00
Fabien Potencier
e0de9586aa
Merge branch '2.4'
...
* 2.4:
Check headers sent before sending PHP response
Fix issue symfony/symfony#10345 '[FrameworkBundle][Console] container:debug --parameter="" not working anymore'
Fixed ACE domain checks on UrlValidator (#10031 )
handle array root element
2014-03-26 19:07:49 +01:00
Andrew Moore
b278aa4b02
Fix issue symfony/symfony#10345 '[FrameworkBundle][Console] container:debug --parameter="" not working anymore'
2014-03-26 18:53:45 +01:00
Grégoire Pineau
34f4ef5297
[FrameworkBundle][Console] Load command from DIC after command from bundles.
...
It's better to load a command from DIC after other one. Because it
allow easy override of default (symfony/assetic/doctrine) command.
The end user could do:
# config.yml
services:
assetic.command.dump:
class: SensioLabs\Shim\Assetic\DumpCommand
tags:
- { name: console.command }
2014-02-13 15:09:55 +01:00
Luis Cordova
9d89f1e16a
avoid tables to have apparently long blank line breaks and be too far appart for long nested array params
2013-12-27 22:07:27 +01:00
Joseph Bielawski
4c74ea62be
[FrameworkBundle] Add missing license headers
2013-12-24 12:39:30 +01:00
Alexander Volochnev
8edc855754
[FrameworkBundle] Added extra details in XMLDescriptor to improve container description
2013-12-18 10:01:49 +01:00
Alexander Volochnev
34d0b1dab3
[FrameworkBundle] Fixed bug in XMLDescriptor
2013-12-15 18:04:04 +01:00
Fabien Potencier
23f12faa53
fixed CS
2013-10-30 09:33:58 +01:00
Grégoire Pineau
cabb1fa8bb
[FrameworkBundle] Adds the possibility to register Commands via the DIC
2013-10-04 16:09:28 +02:00
Fabien Potencier
96fb922e67
bug #9197 [FrameworkBundle] updated XML route description (jfsimon)
...
This PR was merged into the master branch.
Discussion
----------
[FrameworkBundle] updated XML route description
This PR turns
```xml
<route name="route_1" path="/hello/{name}" class="Symfony\Component\Routing\Route" path_regex="#^/hello(?:/(?P<name>[a-z]+))?$#s">
```
into
```xml
<route name="route_1" class="Symfony\Component\Routing\Route">
<path regex="#^/hello(?:/(?P<name>[a-z]+))?$#s">/hello/{name}</path>
```
in XML routing description.
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | yes
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #7887
| License | MIT
| Doc PR | n/a
Commits
-------
7b99ede
[FrameworkBundle] updated XML route description
2013-10-02 16:57:54 +02:00
Fabien Potencier
fe5961a6cd
[FrameworkBundle] moved router:debug and container:debug to use the compact layout
2013-10-02 16:43:14 +02:00
Fabien Potencier
bd16157e98
[FrameworkBundle] changed JSON descriptors to be more readable on PHP 5.4+
2013-10-02 16:42:10 +02:00
Fabien Potencier
1d210f86a6
[FrameworkBundle] changed the router:debug to use the shortcut notation for the controller
2013-10-02 16:42:09 +02:00
Fabien Potencier
d997dfa556
[FrameworkBundle] fixed container:debug and router:debug commands
2013-10-02 16:42:09 +02:00
Jean-François Simon
7b99ede0dc
[FrameworkBundle] updated XML route description
2013-10-02 09:30:07 +02:00
Jean-François Simon
22f9bc887e
[FrameworkBundle] adds routing/container descriptors
2013-10-01 16:13:13 +02:00
Fabien Potencier
7eaaec1468
[FrameworkBundle] made code more generic
2013-08-09 14:53:54 +02:00
Fabien Potencier
1bd45b371e
[FrameworkBundle] fixed regression where the command might have the wrong container if the application is reused several times
2013-07-29 19:40:51 +02:00
Fabien Potencier
d849d5d134
Merge branch '2.2' into 2.3
...
* 2.2:
Throw exception if value is passed to VALUE_NONE input, long syntax
fixed date type format pattern regex
[FrameworkBundle] tweaked previous merge (refs #8242 )
do not re-register commands each time a Console\Application is run
[Process] moved env check to the Process class (refs #8227 )
fix issue where $_ENV contains array vals
[DomCrawler] Fix handling file:// without a host
[Form] corrected interface bind() method defined against in deprecation notice
[Finder] Fix SplFileInfo::getContents isn't working with ssh2 protocol
Conflicts:
src/Symfony/Component/Console/Tests/Input/ArgvInputTest.php
src/Symfony/Component/DomCrawler/Link.php
src/Symfony/Component/Form/Form.php
2013-06-13 09:51:49 +02:00
Fabien Potencier
24a07fbab8
[FrameworkBundle] tweaked previous merge (refs #8242 )
2013-06-13 09:07:59 +02:00
Tom Maguire
842f3fa3d2
do not re-register commands each time a Console\Application is run
2013-06-13 09:04:38 +02:00
Tobias Schultze
e93fc7a2c0
[FrameworkBundle] set the dispatcher in the console application
...
So events are really dispatched using the FrameworkBundle console application
2013-05-28 21:38:03 +02:00
Brian Debuire
e2ef708f1a
Options small typo
2013-02-28 23:03:28 +01:00
Fabien Potencier
c5346610f3
Merge branch '2.0'
...
* 2.0:
Fixes incorrect class used in src/Symfony/Bundle/FrameworkBundle/Console/Application.php
[FrameworkBundle] added test for fix broken command registration
corrected phpdoc
2012-08-03 14:44:30 +02:00
smokeybear87
55a0b347a0
Fixes incorrect class used in src/Symfony/Bundle/FrameworkBundle/Console/Application.php
...
Issue must be related to commit 7a5f614240
(merged 2.0), specifically this file src/Symfony/Bundle/FrameworkBundle/Console/Application.php, lines 86-88.
Presumably to do "instanceof Bundle" correct class has to be imported at the top of the file:
instead of
use Symfony\Component\HttpKernel\Bundle;
this should be
use Symfony\Component\HttpKernel\Bundle\Bundle;
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Console/Application.php
2012-08-03 13:33:57 +02:00
Bart van den Burg
79c547f09c
[FrameworkBundle] added test for fix broken command registration
2012-08-03 13:33:31 +02:00
Fabien Potencier
7a5f614240
merged 2.0
2012-08-03 11:11:11 +02:00
Henrik Bjørnskov
0b78fdffa4
Only call registerCommand on bundles that is an instance of Bundle
...
Fixes GH-5133
2012-08-01 11:35:03 +02:00
Dariusz Górecki
e9b4c584c0
[Console] Enable process isolantion in Shell
...
Bug fix: no
BC break: no
Feature addition: yes
Symfony2 test pass: yes
Fixes the following tickets: #2848 #2847
Todo: -
See tickets for reference, need help with testing, because I don't know how to test this :)
2012-02-02 10:09:00 +01:00
Xavier HAUSHERR
4d1e352a74
To avoid having 2 different default values for env.
2011-11-20 12:56:56 +01:00
Fabien Potencier
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Fabien Potencier
d0e31b8ca6
changed Application to have nice error messages when something bad happens early on the CLI
2011-05-02 18:35:38 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Kris Wallsmith
88acb017e3
[FrameworkBundle] changed console --debug option to --no-debug so commands will run in debug mode by default, as suggested in the SE's console:
...
$debug = !$input->hasParameterOption(array('--no-debug', ''));
2011-03-11 07:02:03 -08:00
Fabien Potencier
b940cc6f40
moved most protected to private in the Console component
2011-03-11 12:53:42 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Fabien Potencier
9f30e42c16
added --debug/-d and --env/-d to console
2011-02-07 03:03:02 +01:00
Fabien Potencier
36dcce40eb
changed method signature to use the new KernelInterface
2011-01-25 17:20:20 +01:00
Fabien Potencier
09aeb78634
removed Kernel::isBooted() method
2011-01-23 13:17:50 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Francis Besset
c64f331de5
[Console] Symfony 2 or Symfony2 ?
2010-12-11 22:06:47 +01:00
Ryan Weaver
7efb4630b8
[Command] Changing the InputOption::PARAMETER_* constants to InputOption::VALUE_* to more accurately reflect that these constants refer to the value or lack of value assigned to a particular option (e.g. --verbose or --em=doctrine).
...
To keep language consistent, three methods were changed in InputOption:
* `InputOption::acceptParameter()` -> `InputOption::acceptValue()`
* `InputOption::isParameterRequired()` -> InputOption::isValueRequired()`
* `InputOption::isParameterOptional()` -> `InputOption::isValueOptional()`
The InputDefinition::asXml() method was also modified to update the `accept_value` and `is_value_required` attributes.
2010-11-27 19:56:27 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
69b538b632
[FrameworkBundle] removed the app:init command
2010-09-23 19:10:40 +02:00
Fabien Potencier
d657adbfa2
removed Symfony\Framework
...
Things have been moved to Symfony\Component\HttpKernel
and Symfony\Bundle\FrameworkBundle
The kernel configuration namespace was removed and merged
with the main web configuration namespace (kernel:config => web:config,
kernel:test => web:test, and kernel:session => web:session):
Before:
<kernel:config charset="UTF-8" error_handler="null" />
<web:config csrf-secret="xxxxxxxxxx">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
After:
<web:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
Renamed classes:
Symfony\{Framework => Bundle\FrameworkBundle}\Cache\Cache
Symfony\{Framework => Bundle\FrameworkBundle}\Client
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcher
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcherTraceableInterface
Symfony\{Framework => Bundle\FrameworkBundle}\EventDispatcher
Symfony\{Framework => Component\HttpFoundation}\UniversalClassLoader
Symfony\{Framework => Component\HttpKernel}\Bundle\Bundle
Symfony\{Framework => Component\HttpKernel}\Bundle\BundleInterface
Symfony\{Framework => Component\HttpKernel}\ClassCollectionLoader
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorException
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorHandler
Symfony\{Bundle\FrameworkBundle => Component\HttpKernel}\Debug\ExceptionListener
Symfony\{Framework => Component\HttpKernel}\Kernel
2010-09-17 12:58:24 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00
Fabien Potencier
ee2ff39eaf
removed @package and @subpackage annotations
2010-08-01 23:06:28 +02:00
Fabien Potencier
256a71298c
fixed phpdoc
2010-07-09 10:28:08 +02:00
Fabien Potencier
da9f36ca86
renamed Symfony\Foundation to Symfony\Framework
...
In existing applications, you need to updated the autoload.php file, the
XXXKernel file and all XXXBundle classes.
2010-07-09 10:25:54 +02:00
Fabien Potencier
15d439809c
renamed Symfony\Bundle\FoundationBundle to Symfony\Bundle\FrameworkBundle
2010-07-09 10:25:52 +02:00