From e254b0b416b2e204b85b8da055dddfb3b61bc459 Mon Sep 17 00:00:00 2001 From: sztan Date: Thu, 21 Apr 2022 07:28:05 +0200 Subject: [PATCH] add rule 'declare_strict_types' => true --- src/BedrockStreaming.php | 3 +++ src/Php71.php | 2 ++ src/Php72.php | 2 ++ src/Php73.php | 2 ++ src/Php74.php | 2 ++ 5 files changed, 11 insertions(+) diff --git a/src/BedrockStreaming.php b/src/BedrockStreaming.php index 78a3b29..5058176 100644 --- a/src/BedrockStreaming.php +++ b/src/BedrockStreaming.php @@ -1,5 +1,7 @@ [ 'allow_single_line_closure' => true, ], + 'declare_strict_types' => true, 'global_namespace_import' => [ 'import_classes' => false, 'import_constants' => false, diff --git a/src/Php71.php b/src/Php71.php index bfaa3ea..16a556e 100644 --- a/src/Php71.php +++ b/src/Php71.php @@ -1,5 +1,7 @@