merged branch Tobion/profiler-verbose (PR #8131)
This PR was merged into the 2.3 branch.
Discussion
----------
[WebProfiler] remove deprecated verbose option
test pass: yes
bc break: no
Commits
-------
8a4b91b
[WebProfiler] remove deprecated verbose option
This commit is contained in:
commit
3158dad829
@ -36,7 +36,6 @@ class Configuration implements ConfigurationInterface
|
|||||||
|
|
||||||
$rootNode
|
$rootNode
|
||||||
->children()
|
->children()
|
||||||
->booleanNode('verbose')->defaultTrue()->info('DEPRECATED, it is not useful anymore and can be removed safely from your configuration')->end()
|
|
||||||
->booleanNode('toolbar')->defaultFalse()->end()
|
->booleanNode('toolbar')->defaultFalse()->end()
|
||||||
->scalarNode('position')
|
->scalarNode('position')
|
||||||
->defaultValue('bottom')
|
->defaultValue('bottom')
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
<xsd:complexType name="config">
|
<xsd:complexType name="config">
|
||||||
<xsd:attribute name="toolbar" type="xsd:boolean" />
|
<xsd:attribute name="toolbar" type="xsd:boolean" />
|
||||||
<xsd:attribute name="intercept-redirects" type="xsd:boolean" />
|
<xsd:attribute name="intercept-redirects" type="xsd:boolean" />
|
||||||
<xsd:attribute name="verbose" type="xsd:boolean" />
|
|
||||||
<xsd:attribute name="position" type="positions" />
|
<xsd:attribute name="position" type="positions" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
|
|
||||||
|
@ -31,11 +31,11 @@ class ConfigurationTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function getDebugModes()
|
public function getDebugModes()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array(array(), array('intercept_redirects' => false, 'toolbar' => false, 'verbose' => true, 'position' => 'bottom')),
|
array(array(), array('intercept_redirects' => false, 'toolbar' => false, 'position' => 'bottom')),
|
||||||
array(array('intercept_redirects' => true), array('intercept_redirects' => true, 'toolbar' => false, 'verbose' => true, 'position' => 'bottom')),
|
array(array('intercept_redirects' => true), array('intercept_redirects' => true, 'toolbar' => false, 'position' => 'bottom')),
|
||||||
array(array('intercept_redirects' => false), array('intercept_redirects' => false, 'toolbar' => false, 'verbose' => true, 'position' => 'bottom')),
|
array(array('intercept_redirects' => false), array('intercept_redirects' => false, 'toolbar' => false, 'position' => 'bottom')),
|
||||||
array(array('toolbar' => true), array('intercept_redirects' => false, 'toolbar' => true, 'verbose' => true, 'position' => 'bottom')),
|
array(array('toolbar' => true), array('intercept_redirects' => false, 'toolbar' => true, 'position' => 'bottom')),
|
||||||
array(array('verbose' => false, 'position' => 'top'), array('intercept_redirects' => false, 'toolbar' => false, 'verbose' => false, 'position' => 'top')),
|
array(array('position' => 'top'), array('intercept_redirects' => false, 'toolbar' => false, 'position' => 'top')),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user