diff --git a/migration-2.0.md b/migration-2.0.md index 2b14f0d..8f3ed55 100644 --- a/migration-2.0.md +++ b/migration-2.0.md @@ -40,6 +40,15 @@ function beep( } ``` +## [Section 4 - Classes, Properties, and Methods](https://www.php-fig.org/per/coding-style/#4-classes-properties-and-methods) + +A new rule was added stating that if a class contains no additional declarations, then the body of the class SHOULD be abbreviated as `{}` and placed on the same line as the previous symbol, separated by a space. + +```php +