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

Add license + copyright to all files #2891

Merged
merged 2 commits into from
Jan 14, 2025
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function (PhpCsFixer\Finder $finder, $dir) {
'only_booleans' => true,
'position' => 'end',
],
// 'header_comment' => ['header' => "SPDX-License-Identifier: MIT\nCopyright (c) 2017-2018 Tobias Reich\nCopyright (c) 2018-2025 LycheeOrg", 'comment_type' => 'PHPDoc', 'location' => 'after_open', 'separate' => 'bottom'],
];
$config = new PhpCsFixer\Config();

Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Action.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Factories\AlbumFactory;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Archive.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Contracts\Models\AbstractAlbum;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Create.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Constants\AccessPermissionConstants as APC;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/CreateTagAlbum.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Exceptions\ModelDBException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Delete.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Actions\Photo\Delete as PhotoDelete;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/ListAlbums.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\DTO\AlbumSortingCriterion;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Merge.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Exceptions\Internal\QueryBuilderException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Move.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Exceptions\ModelDBException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/PositionData.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Contracts\Models\AbstractAlbum;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/SetHeader.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Http\Controllers\Gallery\AlbumController;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/SetProtectionPolicy.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Exceptions\Internal\FrameworkException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/SetSmartProtectionPolicy.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\SmartAlbums\BaseSmartAlbum;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Transfer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Models\AccessPermission;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Album/Unlock.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Album;

use App\Constants\AccessPermissionConstants as APC;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Albums/PositionData.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Albums;

use App\Contracts\Exceptions\InternalLycheeException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Albums/Top.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Albums;

use App\Contracts\Exceptions\InternalLycheeException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Db/BaseOptimizer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Db;

use App\Enum\DbDriverType;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Db/OptimizeDb.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Db;

use App\Enum\DbDriverType;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Db/OptimizeTables.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Db;

use App\Enum\DbDriverType;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Configuration.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics;

use App\Exceptions\Internal\QueryBuilderException;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Diagnostics.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics;

class Diagnostics
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Errors.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics;

use App\Actions\Diagnostics\Pipes\Checks\AdminUserExistsCheck;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Info.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics;

use App\Actions\Diagnostics\Pipes\Infos\CountForeignKeyInfo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/AppUrlMatchCheck.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/ConfigSanityCheck.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/DBIntegrityCheck.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/DBSupportCheck.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/ForeignKeyListInfo.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
6 changes: 6 additions & 0 deletions app/Actions/Diagnostics/Pipes/Checks/GDSupportCheck.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?php

/**
* SPDX-License-Identifier: MIT
* Copyright (c) 2017-2018 Tobias Reich
* Copyright (c) 2018-2025 LycheeOrg.
*/

namespace App\Actions\Diagnostics\Pipes\Checks;

use App\Contracts\DiagnosticPipe;
Expand Down
Loading
Loading