From 78de427246b357721b9d70e2b05a203da82f4e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Qu=C3=A9m=C3=A9ner?= Date: Sat, 9 Jun 2018 19:47:57 +0100 Subject: [PATCH 1/2] Enabled native function invocation optimisation --- src/Prooph.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Prooph.php b/src/Prooph.php index 9c72953..8510345 100644 --- a/src/Prooph.php +++ b/src/Prooph.php @@ -58,6 +58,7 @@ public function getRules(): array 'method_separation' => true, 'modernize_types_casting' => true, 'native_function_casing' => true, + 'native_function_invocation' => true, 'new_with_braces' => true, 'no_alias_functions' => true, 'no_blank_lines_after_class_opening' => true, From dae08ba51c29703941abd2e386d151490aa8bc75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Qu=C3=A9m=C3=A9ner?= Date: Sat, 9 Jun 2018 20:01:04 +0100 Subject: [PATCH 2/2] It's 2018! --- src/Prooph.php | 4 ++-- tests/ProophTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Prooph.php b/src/Prooph.php index 8510345..4f23ac3 100644 --- a/src/Prooph.php +++ b/src/Prooph.php @@ -1,8 +1,8 @@ - * (c) 2016-2017 Sascha-Oliver Prolic + * (c) 2016-2018 prooph software GmbH + * (c) 2016-2018 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/ProophTest.php b/tests/ProophTest.php index 289c539..2cdf001 100644 --- a/tests/ProophTest.php +++ b/tests/ProophTest.php @@ -1,8 +1,8 @@ - * (c) 2016-2017 Sascha-Oliver Prolic + * (c) 2016-2018 prooph software GmbH + * (c) 2016-2018 Sascha-Oliver Prolic * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.