diff --git a/CHANGELOG.md b/CHANGELOG.md index 35964f0..45245e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.0.2 : 2024-08-06 +- Include `declare_strict_types` as true by default + ## 0.0.1 : 2024-05-22 - First working version diff --git a/src/josephscott/phpcsfixer-config.php b/src/josephscott/phpcsfixer-config.php index 46c81c0..cfcc0f4 100644 --- a/src/josephscott/phpcsfixer-config.php +++ b/src/josephscott/phpcsfixer-config.php @@ -62,6 +62,7 @@ class PHPCSFixer_Config { 'declare_equal_normalize' => [ 'space' => 'single', ], + 'declare_strict_types' => true, 'elseif' => true, 'encoding' => true, 'full_opening_tag' => true,