Skip to content

Adjust to CS fixer v3.2 rules#900

Merged
mvorisek merged 5 commits intodevelopfrom
fix_cs
Oct 8, 2021
Merged

Adjust to CS fixer v3.2 rules#900
mvorisek merged 5 commits intodevelopfrom
fix_cs

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Oct 5, 2021

also unify CI files with atk4/ui#1675

public function withPersistence(Persistence $persistence, $id = null, string $class = null)
{
$class = $class ?? static::class;
$class ??= static::class;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is new syntax, right? Never noticed it before.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shorthand by php, needed for default cs fixer config

@mvorisek mvorisek merged commit 0dc48ea into develop Oct 8, 2021
@mvorisek mvorisek deleted the fix_cs branch October 8, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants