Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions migration-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ class Foo
}
```

Two rules previously stated only for properties were extended to also apply to constants:

* There MUST NOT be more than one property or constant declared per statement.
* Property or constant names MUST NOT be prefixed with a single underscore.

## [Section 4.6 - Modifier Keywords](https://www.php-fig.org/per/coding-style/#46-modifier-keywords)

At least one of `readonly`, `get`-visibility, and `set`-visibility must be specified. If at least one is specified, the others may be omitted.
Expand Down