Unverified Commit e8209e08 authored by Grégoire Paris's avatar Grégoire Paris Committed by Grégoire Paris

Use abstract wording

People do not need to know that this will be implemented as an
exception.
parent 9213360f
......@@ -122,7 +122,7 @@ class Column extends AbstractAsset
// next major: throw an exception
@trigger_error(sprintf(
'The "%s" option is not supported,'.
' setting it is deprecated and will cause an exception in 3.0',
' setting it is deprecated and will cause an error in 3.0',
$name
), E_USER_DEPRECATED);
......
......@@ -58,7 +58,7 @@ class ColumnTest extends \PHPUnit\Framework\TestCase
/**
* @group legacy
* @expectedDeprecation The "unknown_option" option is not supported, setting it is deprecated and will cause an exception in 3.0
* @expectedDeprecation The "unknown_option" option is not supported, setting it is deprecated and will cause an error in 3.0
*/
public function testSettingUnknownOptionIsStillSupported() : void
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment