Skip to content

Enable phpstan bleading edge and strict rules#362

Merged
mvorisek merged 6 commits intodevelopfrom
minor_cs_fixer
Aug 27, 2022
Merged

Enable phpstan bleading edge and strict rules#362
mvorisek merged 6 commits intodevelopfrom
minor_cs_fixer

Conversation

@mvorisek
Copy link
Copy Markdown
Member

No description provided.

@mvorisek mvorisek marked this pull request as ready for review August 26, 2022 17:14
$element->shortName = $name;
if (TraitUtil::hasTrackableTrait($this) && TraitUtil::hasNameTrait($this) && TraitUtil::hasNameTrait($element)) {
$element->name = $this->_shorten((string) $this->name, $element->shortName, $element->name);
$element->name = $this->_shorten($this->name ?: '', $element->shortName, $element->name); // @phpstan-ignore-line
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.

(?<!\w)name'?[^,]+false is needed for atk4/ui

@mvorisek mvorisek marked this pull request as draft August 27, 2022 07:49
@mvorisek mvorisek force-pushed the minor_cs_fixer branch 3 times, most recently from bcfa908 to d43ac63 Compare August 27, 2022 19:19
@mvorisek mvorisek marked this pull request as ready for review August 27, 2022 19:20
@mvorisek mvorisek force-pushed the minor_cs_fixer branch 2 times, most recently from 0d4e539 to 4aefe38 Compare August 27, 2022 19:30
@mvorisek mvorisek merged commit 3d80f2a into develop Aug 27, 2022
@mvorisek mvorisek deleted the minor_cs_fixer branch August 27, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant