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
24 changes: 24 additions & 0 deletions migration-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,30 @@ class Example
}
```

## [Section 4.10 - Interface and abstract properties](https://www.php-fig.org/per/coding-style/#410-interface-and-abstract-properties)

This is a new section about interface and abstract properties, as per the link above. Examples follow:

```php
abstract class Example {
abstract public string $name {
get => ucfirst($this->name);
set;
}
}
```

```php
interface Example
{
public string $readable { get; }

public string $writeable { set; }

public string $both { get; set; }
}
```

## [Section 5.2 - Switch, Case, and Match](https://www.php-fig.org/per/coding-style/#52-switch-case-match)

When breaking a series of boolean operators across multiple lines, the operator MUST be at the beginning of each line, not the end of each line.
Expand Down