Skip to content

Commit

Permalink
[5.2] phpcs comments / use statements (#44194)
Browse files Browse the repository at this point in the history
* move use statement out of phpcs disable

caused by #43265

* move use statement out of phpcs disable

caused by #40129

* remove blank line in phpcs disable

* fix phpcs enable rule

caused by #40343
  • Loading branch information
heelc29 authored Oct 20, 2024
1 parent d51ee07 commit 3804cb3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

namespace Joomla\Component\Content\Administrator\Model;

// phpcs:disable PSR1.Files.SideEffects
use Joomla\Database\QueryInterface;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

Expand Down
1 change: 0 additions & 1 deletion libraries/src/Event/Application/BeforeCompileHeadEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace Joomla\CMS\Event\Application;

// phpcs:disable PSR1.Files.SideEffects

\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Extension/Service/Provider/MVCFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:e_JEXECes.SideEffects
// phpcs:enable PSR1.Files.SideEffects

/**
* Service provider for the service MVC factory.
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Table/Ucm.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

namespace Joomla\CMS\Table;

// phpcs:disable PSR1.Files.SideEffects
use Joomla\Database\DatabaseDriver;
use Joomla\Event\DispatcherInterface;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

Expand Down

0 comments on commit 3804cb3

Please sign in to comment.