diff --git a/docs/bin/generate-docs.sh b/docs/bin/generate-docs.sh old mode 100644 new mode 100755 diff --git a/docs/bin/install-dependencies.sh b/docs/bin/install-dependencies.sh old mode 100644 new mode 100755 diff --git a/docs/en/index.rst b/docs/en/index.rst index 5f9c64d9a51..90d0f8159d2 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -30,6 +30,7 @@ Contents: reference/portability reference/caching reference/known-vendor-issues + reference/upgrading Indices and tables ================== diff --git a/docs/en/reference/upgrading.rst b/docs/en/reference/upgrading.rst new file mode 100644 index 00000000000..1fff13472e0 --- /dev/null +++ b/docs/en/reference/upgrading.rst @@ -0,0 +1,51 @@ +Upgrading +========= + +New versions of Doctrine come with an upgrade guide named UPGRADE.md. +This guide documents BC-breaks and deprecations. + +Deprecations +------------ + +Deprecations are signaled by emitting a silenced ``E_USER_DEPRECATED`` +error, like this: + +.. code-block:: php + +