Skip to content

Commit

Permalink
Declare strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Dec 16, 2022
1 parent f4f0138 commit 92e2253
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion src/Cancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/CancelledException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/Closable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/CompositeCancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/CompositeException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/CompositeLengthException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/DeferredCancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/DeferredFuture.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/ForbidCloning.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/ForbidSerialization.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/Future.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/Future/UnhandledFutureError.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion src/Future/functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/Cancellable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/FutureIterator.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/FutureIteratorQueue.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/FutureState.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/WrappedCancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/Internal/functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Internal;

Expand Down
2 changes: 1 addition & 1 deletion src/NullCancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/SignalCancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/SignalException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/TimeoutCancellation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/TimeoutException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion test/CallbackStub.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion test/Cancellation/CancellationTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Cancellation;

Expand Down
2 changes: 1 addition & 1 deletion test/Cancellation/CompositeCancellationTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Cancellation;

Expand Down
2 changes: 1 addition & 1 deletion test/Cancellation/SignalCancellationTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Cancellation;

Expand Down
2 changes: 1 addition & 1 deletion test/Cancellation/TimeoutCancellationTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Cancellation;

Expand Down
2 changes: 1 addition & 1 deletion test/Future/AwaitAllTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion test/Future/AwaitAnyNTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion test/Future/AwaitAnyTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion test/Future/AwaitFirstTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion test/Future/AwaitTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion test/Future/FutureTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp\Future;

Expand Down
2 changes: 1 addition & 1 deletion test/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down
2 changes: 1 addition & 1 deletion test/WeakClosureTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace Amp;

Expand Down

0 comments on commit 92e2253

Please sign in to comment.