[WebProfiler] remove deprecated verbose option
This commit is contained in:
parent
8121dbb770
commit
8a4b91bf71
@ -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