Improve deprecation wording

People that are starting a new project will immediately know what this
is about, but people upgrading doctrine might get a lot of these and
should have a better clue regarding what this is about.
parent cb08c4dd
......@@ -121,8 +121,8 @@ class Column extends AbstractAsset
if ( ! method_exists($this, $method)) {
// next major: throw an exception
@trigger_error(sprintf(
'The "%s" option is not supported,'.
' setting it is deprecated and will cause an error in 3.0',
'The "%s" column option is not supported,'.
' setting it is deprecated and will cause an error in Doctrine 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 error in 3.0
* @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine 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