Skip to content

Commit

Permalink
Rewrite all header docblocks #1173
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Nov 5, 2023
1 parent 60d6ef6 commit ad2d432
Show file tree
Hide file tree
Showing 27 changed files with 0 additions and 189 deletions.
7 changes: 0 additions & 7 deletions src/Enum/PromiseState.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Enum;
Expand Down
7 changes: 0 additions & 7 deletions src/Exception/AggregateException.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Exception;
Expand Down
7 changes: 0 additions & 7 deletions src/Exception/UncaughtException.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Exception;
Expand Down
7 changes: 0 additions & 7 deletions src/Exception/UnsettledException.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Exception;
Expand Down
7 changes: 0 additions & 7 deletions src/ExtendedPromiseInterface.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise;
Expand Down
7 changes: 0 additions & 7 deletions src/Helper/ReturnPromiseInterface.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Helper;
Expand Down
7 changes: 0 additions & 7 deletions src/Promise.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise;
Expand Down
7 changes: 0 additions & 7 deletions src/PromiseInterface.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/DeferredScheduler.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/EventLoopScheduler.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/ImmediateScheduler.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/ScheduleCursor.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/ScheduleRunner.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/SchedulerInterface.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/SwooleScheduler.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/Scheduler/TaskQueue.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Scheduler;
Expand Down
7 changes: 0 additions & 7 deletions src/SettledResult.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise;
Expand Down
7 changes: 0 additions & 7 deletions src/SyncablePromise.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise;
Expand Down
7 changes: 0 additions & 7 deletions src/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

include_once __DIR__ . '/functions.php';
7 changes: 0 additions & 7 deletions src/functions.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise;
Expand Down
7 changes: 0 additions & 7 deletions test/AbstractPromiseTestCase.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Test;
Expand Down
7 changes: 0 additions & 7 deletions test/AsyncPromiseTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Test;
Expand Down
7 changes: 0 additions & 7 deletions test/FunctionsTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Test;
Expand Down
7 changes: 0 additions & 7 deletions test/PromiseTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Test;
Expand Down
7 changes: 0 additions & 7 deletions test/PromiseThenTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

namespace Windwalker\Promise\Test;
Expand Down
7 changes: 0 additions & 7 deletions test/bin/reject.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

use Windwalker\Promise\Scheduler\ImmediateScheduler;
Expand Down
7 changes: 0 additions & 7 deletions test/bin/swoole-promise.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<?php

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) 2023 LYRASOFT.
* @license MIT
*/

declare(strict_types=1);

use Windwalker\Promise\Promise;
Expand Down

0 comments on commit ad2d432

Please sign in to comment.