Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust to CS fixer v3.2 rules #900

Merged
merged 5 commits into from
Oct 8, 2021
Merged

Adjust to CS fixer v3.2 rules #900

merged 5 commits into from
Oct 8, 2021

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Oct 5, 2021

also unify CI files with atk4/ui#1675

@@ -1382,7 +1382,7 @@ public function saveAndUnload(array $data = [])
*/
public function withPersistence(Persistence $persistence, $id = null, string $class = null)
{
$class = $class ?? static::class;
$class ??= static::class;
Copy link
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
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