djoos / Symfony-coding-standard

Development repository for the Symfony coding standard
MIT License
401 stars 102 forks source link

check for the presence of a scope closer #173

Closed wickedOne closed 5 years ago

wickedOne commented 5 years ago

fixes throwing an exception when inline control structures are used this should be taken care of by the Generic.ControlStructures.InlineControlStructure sniff so we can safely return

fixes #170

mmoll commented 5 years ago

@wickedOne Could you add a test?

Edit: Same here, it's already covered.

djoos commented 5 years ago

Thanks for your contribution @wickedOne and @mmoll for the review!