Skip to content

Commit

Permalink
[Coding Style] Enable rule Squiz.WhiteSpace.ScopeKeywordSpacing.Incor…
Browse files Browse the repository at this point in the history
…rect (#21656)

* Enable rule Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect

* autofix cs
  • Loading branch information
sgiehl authored Dec 7, 2023
1 parent d81f28b commit 1ae6df0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose" />
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore" />
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace.Indent" />
<exclude name="Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect" />
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine" />
</rule>

Expand Down
2 changes: 1 addition & 1 deletion plugins/Actions/Segment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class Segment extends \Piwik\Plugin\Segment
{
protected function init()
protected function init()
{
$this->setCategory('General_Actions');
$this->setSqlFilter('\\Piwik\\Tracker\\TableLogAction::getIdActionFromSegment');
Expand Down
2 changes: 1 addition & 1 deletion plugins/CoreHome/Segment.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class Segment extends \Piwik\Plugin\Segment
{
protected function init()
protected function init()
{
$this->setCategory('General_Visit');
}
Expand Down

0 comments on commit 1ae6df0

Please sign in to comment.