Skip to content

Commit

Permalink
Merge pull request #6086 from Aweptimum/trigger-outside
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jul 7, 2023
2 parents 90469f5 + 5e141d8 commit 1c462ee
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Schema/AbstractSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ protected function doListTables(): array
*/
public function listTableDetails($name)
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5595',
'%s is deprecated. Use introspectTable() instead.',
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/DB2SchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function listTables()
*/
public function listTableDetails($name)
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5595',
'%s is deprecated. Use introspectTable() instead.',
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/MySQLSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function listTables()
*/
public function listTableDetails($name)
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5595',
'%s is deprecated. Use introspectTable() instead.',
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/OracleSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function listTables()
*/
public function listTableDetails($name)
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5595',
'%s is deprecated. Use introspectTable() instead.',
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/PostgreSQLSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function listTables()
*/
public function listTableDetails($name)
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5595',
'%s is deprecated. Use introspectTable() instead.',
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/SQLServerSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function listTables()
*/
public function listTableDetails($name)
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5595',
'%s is deprecated. Use introspectTable() instead.',
Expand Down

0 comments on commit 1c462ee

Please sign in to comment.