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

[Coding Style] Enable rule PSR12.Files.FileHeader + unify file headers #22132

Merged
merged 8 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 4 additions & 3 deletions core/API/ApiRenderer.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/API/CORSHandler.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Piwik\Common;
Expand Down
7 changes: 4 additions & 3 deletions core/API/DataTableGenericFilter.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/API/DataTableManipulator.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/API/DataTableManipulator/Flattener.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API\DataTableManipulator;

use Piwik\API\DataTableManipulator;
Expand Down
7 changes: 4 additions & 3 deletions core/API/DataTableManipulator/LabelFilter.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API\DataTableManipulator;

use Piwik\API\DataTableManipulator;
Expand Down
7 changes: 4 additions & 3 deletions core/API/DataTableManipulator/ReportTotalsCalculator.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API\DataTableManipulator;

use Piwik\API\DataTableManipulator;
Expand Down
5 changes: 3 additions & 2 deletions core/API/DataTablePostProcessor.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;
Expand Down
7 changes: 4 additions & 3 deletions core/API/DocumentationGenerator.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Exception;
Expand Down
6 changes: 4 additions & 2 deletions core/API/Inconsistencies.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

/**
Expand Down
6 changes: 3 additions & 3 deletions core/API/NoDefaultValue.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;
Expand Down
6 changes: 3 additions & 3 deletions core/API/Proxy.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;
Expand Down
7 changes: 4 additions & 3 deletions core/API/Request.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/API/ResponseBuilder.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\API;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/Access.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/Access/CapabilitiesProvider.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access;

use Exception;
Expand Down
7 changes: 4 additions & 3 deletions core/Access/Capability.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access;

abstract class Capability
Expand Down
7 changes: 4 additions & 3 deletions core/Access/Role.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access;

abstract class Role
Expand Down
7 changes: 4 additions & 3 deletions core/Access/Role/Admin.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access\Role;

use Piwik\Access\Role;
Expand Down
7 changes: 4 additions & 3 deletions core/Access/Role/View.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access\Role;

use Piwik\Access\Role;
Expand Down
7 changes: 4 additions & 3 deletions core/Access/Role/Write.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access\Role;

use Piwik\Access\Role;
Expand Down
7 changes: 4 additions & 3 deletions core/Access/RolesProvider.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Access;

use Piwik\Access\Role\Admin;
Expand Down
5 changes: 3 additions & 2 deletions core/Application/Environment.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Application;
Expand Down
5 changes: 3 additions & 2 deletions core/Application/EnvironmentManipulator.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Application;
Expand Down
5 changes: 3 additions & 2 deletions core/Application/Kernel/EnvironmentValidator.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Application\Kernel;
Expand Down
5 changes: 3 additions & 2 deletions core/Application/Kernel/GlobalSettingsProvider.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/

namespace Piwik\Application\Kernel;
Expand Down
Loading
Loading