Skip to content

Commit 4ed124f

Browse files
committed
Added copyright and license notice to all source files
1 parent a506c92 commit 4ed124f

Some content is hidden

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

54 files changed

+378
-0
lines changed

scripts/publish-client-assets.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
/**
411
* Script to publish client assets from the IconCaptcha package.
512
* This script copies files from the vendor package to a destination directory.

scripts/publish-helpers.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
/**
411
* Will attempt to create a new directory at the given path, if none already exists.
512
* @param string $directory The directory to make.

scripts/publish-server-assets.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
/**
411
* Script to publish server assets from the IconCaptcha package.
512
* This script copies files from the vendor package to a destination directory.

src/Attempts/Attempts.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts;
411

512
use IconCaptcha\Utils;

src/Attempts/AttemptsFactory.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts;
411

512
use IconCaptcha\Attempts\Drivers\Database\PDOAttempts;

src/Attempts/AttemptsInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts;
411

512
interface AttemptsInterface

src/Attempts/Drivers/Database/PDOAttempts.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts\Drivers\Database;
411

512
use IconCaptcha\Attempts\Attempts;

src/Attempts/Drivers/Database/Query/DefaultQuery.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts\Drivers\Database\Query;
411

512
class DefaultQuery implements QueryInterface

src/Attempts/Drivers/Database/Query/QueryInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts\Drivers\Database\Query;
411

512
interface QueryInterface

src/Attempts/Drivers/SessionAttempts.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Attempts\Drivers;
411

512
use IconCaptcha\Attempts\Attempts;

src/Challenge/Challenge.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge;
411

512
use Exception;

src/Challenge/Generators/GD.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Generators;
411

512
use IconCaptcha\Challenge\Image\AbstractImageGenerator;

src/Challenge/Generators/Imagick.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Generators;
411

512
use IconCaptcha\Challenge\Image\AbstractImageGenerator;

src/Challenge/Hooks/GenerationHookInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Hooks;
411

512
use IconCaptcha\Session\SessionInterface;

src/Challenge/Hooks/Hook.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Hooks;
411

512
use IconCaptcha\Session\SessionInterface;

src/Challenge/Hooks/InitHookInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Hooks;
411

512
use IconCaptcha\Session\SessionInterface;

src/Challenge/Hooks/InvalidHookException.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Hooks;
411

512
use Exception;

src/Challenge/Hooks/SelectionHookInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Hooks;
411

512
use IconCaptcha\Session\SessionInterface;

src/Challenge/Image/AbstractImageGenerator.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Image;
411

512
use IconCaptcha\Challenge\Hooks\GenerationHookInterface;

src/Challenge/Image/ImageGeneratorInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge\Image;
411

512
interface ImageGeneratorInterface

src/Challenge/ValidationResult.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge;
411

512
use IconCaptcha\Utils;

src/Challenge/Validator.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Challenge;
411

512
use IconCaptcha\Session\SessionFactory;

src/Cors.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha;
411

512
class Cors

src/Exceptions/FileNotFoundException.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Exceptions;
411

512
use Exception;

src/IconCaptcha.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha;
411

512
use IconCaptcha\Challenge\Challenge;

src/Options.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha;
411

512
use IconCaptcha\Challenge\Generators\GD;

src/Payload.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha;
411

512
use JsonException;

src/Request.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha;
411

512
use IconCaptcha\Challenge\Challenge;

src/Session/Drivers/Database/PDOSession.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Session\Drivers\Database;
411

512
use IconCaptcha\Session\Drivers\Database\Query\QueryInterface;

src/Session/Drivers/Database/Query/DefaultQuery.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* IconCaptcha - Copyright 2023, Fabian Wennink (https://www.fabianwennink.nl)
5+
* Licensed under the MIT license: https://www.fabianwennink.nl/projects/IconCaptcha/license
6+
*
7+
* The above copyright notice and license shall be included in all copies or substantial portions of the software.
8+
*/
9+
310
namespace IconCaptcha\Session\Drivers\Database\Query;
411

512
class DefaultQuery implements QueryInterface

0 commit comments

Comments
 (0)