# Deprecation Policy - trigger\_error() vs @deprecated

**URL:** <https://discourse.laminas.dev/t/deprecation-policy-trigger-error-vs-deprecated/2435>\
**Category:** Contributors\
**Created:** [August 7, 2021, 2:51am UTC](https://discourse.laminas.dev/t/deprecation-policy-trigger-error-vs-deprecated/2435 "2021-08-07T02:51:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sasezaki](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/sasezaki/32/1085_2.png) [@sasezaki](https://discourse.laminas.dev/u/sasezaki)\
**Post date:** [August 7, 2021, 2:51am UTC](https://discourse.laminas.dev/t/deprecation-policy-trigger-error-vs-deprecated/2435/1 "2021-08-07T02:51:11Z")

</div>

Hi all.

Currently, Is there any policy for deprecation approach like [Deprecation Policy - Doctrine: PHP Open Source Project](https://www.doctrine-project.org/policies/deprecation.html) ?  
I am now trying to implement add deprecation [Remove stream wrapper functionality by mtymek · Pull Request #34 · zendframework/zend-view · GitHub](https://github.com/zendframework/zend-view/pull/34)  
`trigger_error` approach is still valid ?

---

<div class="post-metadata">

**Author:** ![ocramius](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/ocramius/32/23_2.png) [@ocramius](https://discourse.laminas.dev/u/ocramius)\
**Post date:** [August 7, 2021, 11:41am UTC](https://discourse.laminas.dev/t/deprecation-policy-trigger-error-vs-deprecated/2435/2 "2021-08-07T11:41:45Z")

</div>

Overall, trigger\_error() is something I avoid: it changes the runtime semantics of a method, and therefore it is a BC break.
