Skip to content

Commit 8f2abca

Browse files
committed
feat(ORC-8134): fix deprecated message
1 parent 2bb7b53 commit 8f2abca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@show-deprecation"
8282
],
8383
"show-deprecation": [
84-
"@php -r \"echo '\\n[DEPRECATED] ORMContext has been removed from this package. Use macpaw/behat-orm-context instead.\\n';\""
84+
"@php -r \"echo '[DEPRECATED] ORMContext has been removed from this package. Use macpaw/behat-orm-context instead.';\""
8585
]
8686
},
8787
"config": {

src/Context/ORMContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class ORMContext implements Context
2020

2121
public function __construct(EntityManagerInterface $manager)
2222
{
23-
@trigger_error(
23+
trigger_error(
2424
'BehatApiContext\ORMContext is deprecated since version 1.4.0 and will be removed in 2.0. '
2525
. 'Please use macpaw/behat-orm-context instead: https://github.com/MacPaw/behat-orm-context',
2626
E_USER_DEPRECATED

0 commit comments

Comments
 (0)