Skip to content

Commit 9a3ef94

Browse files
[Coding Style] Enable rule PSR12.Files.FileHeader + unify file headers (#22132)
* [Coding Style] Enable rule PSR12.Files.FileHeader * Apply CS * Replace Piwik with Matomo in file headers * Unify file headers (position, no. of lines, https links) * Rebuild dist files * Apply CS * Fix system test that relies on line numbers in a file that had the file header updated --------- Co-authored-by: Stefan Giehl <[email protected]>
1 parent 6274865 commit 9a3ef94

File tree

3,408 files changed

+13246
-10825
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,408 files changed

+13246
-10825
lines changed

core/API/ApiRenderer.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API;
1011

1112
use Exception;

core/API/CORSHandler.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API;
1011

1112
use Piwik\Common;

core/API/DataTableGenericFilter.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API;
1011

1112
use Exception;

core/API/DataTableManipulator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API;
1011

1112
use Exception;

core/API/DataTableManipulator/Flattener.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API\DataTableManipulator;
1011

1112
use Piwik\API\DataTableManipulator;

core/API/DataTableManipulator/LabelFilter.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API\DataTableManipulator;
1011

1112
use Piwik\API\DataTableManipulator;

core/API/DataTableManipulator/ReportTotalsCalculator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API\DataTableManipulator;
1011

1112
use Piwik\API\DataTableManipulator;

core/API/DataTablePostProcessor.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
78
*/
89

910
namespace Piwik\API;

core/API/DocumentationGenerator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7-
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
88
*/
9+
910
namespace Piwik\API;
1011

1112
use Exception;

core/API/Inconsistencies.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2+
23
/**
34
* Matomo - free/libre analytics platform
45
*
5-
* @link https://matomo.org
6-
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
78
*/
9+
810
namespace Piwik\API;
911

1012
/**

0 commit comments

Comments
 (0)