diff --git a/.php_cs.php b/.php_cs.php index 5e73e4d..589c022 100644 --- a/.php_cs.php +++ b/.php_cs.php @@ -14,6 +14,7 @@ 'no_multiline_whitespace_before_semicolons' => true, 'no_short_echo_tag' => true, 'no_unused_imports' => true, + 'blank_line_after_opening_tag' => true, 'not_operator_with_successor_space' => true, 'no_useless_else' => true, 'ordered_imports' => [ diff --git a/CHANGELOG.md b/CHANGELOG.md index db367d1..66e2fe8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [7.1.1] - 2021-09-09 +### Fixed +- Changed default php-cs-fixer configuration to add blank line after opening tag, according to PSR12 + ## [7.1.0] - 2021-08-30 ### Added - Support for free-form object in response diff --git a/example/gen/src/Request/AddPetRequest.php b/example/gen/src/Request/AddPetRequest.php index 7b3ccad..4da10df 100644 --- a/example/gen/src/Request/AddPetRequest.php +++ b/example/gen/src/Request/AddPetRequest.php @@ -1,4 +1,6 @@ -