Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a bc layer that triggers e_user_deprecated errors
- Loading branch information
1 parent
289c7bd
commit ac15c99
Showing
14 changed files
with
273 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\Blameable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class BlameableListener extends BlameableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use BlameableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\Geocodable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class GeocodableListener extends GeocodableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use GeocodableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\Loggable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class LoggableListener extends LoggableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use LoggableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\Sluggable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class SluggableListener extends SluggableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use SluggableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\SoftDeletable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class SoftDeletableListener extends SoftDeletableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use SoftDeletableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\Timestampable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class TimestampableListener extends TimestampableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use TimestampableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the KnpDoctrineBehaviors package. | ||
* | ||
* (c) KnpLabs <http://knplabs.com/> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Knp\DoctrineBehaviors\ORM\Translatable; | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
final class TranslatableListener extends TranslatableSubscriber | ||
{ | ||
public function __construct() | ||
{ | ||
trigger_error('use TranslatableSubscriber instead.', E_USER_DEPRECATED); | ||
call_user_func_array(array('parent', '__construct'), func_get_args()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters