From ac4704357aa3aec13dbe7b8f468c4bd9033045d3 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sat, 23 Jan 2016 02:58:54 +0100 Subject: [PATCH] #272 - scalar type hints, return type hints, strict types --- UPGRADE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index fb444fb81..37e1291b9 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -8,6 +8,12 @@ This is a list of backwards compatibility (BC) breaks introduced in ProxyManager * PHP `~7.0` is now required to use ProxyManager * HHVM compatibility is not guaranteed, as HHVM is not yet PHP 7 compliant + * All classes and interfaces now use [strict scalar type hints](http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration). + If you extended or implemented anything from the `ProxyManager\` namespace, you probably need to change + that code to adapt it to the new signature. + * All classes and interfaces now use [return type declarations](http://php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration). + If you extended or implemented anything from the `ProxyManager\` namespace, you probably need to change + that code to adapt it to the new signature. * ProxyManager will no longer write proxies to disk by default: the [`EvaluatingGeneratorStrategy`](src/GeneratorStrategy/EvaluatingGeneratorStrategy.php) is used instead. If you still want ProxyManager to write files to disk, please refer to the [tuning for production docs](docs/tuning-for-production.md)