Declare strict types

This commit is contained in:
Aaron Piotrowski 2022-12-17 15:49:26 -06:00
parent 12f64252d6
commit 9e5eec211a
No known key found for this signature in database
GPG Key ID: 5B456E6AABA44A63
81 changed files with 81 additions and 81 deletions

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
// The function returned by this script is run by process.php in a separate process.
// $argc and $argv are available in this process as any other cli PHP script.

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
// The function returned by this script is run by shared-memory-process.php in a separate process.
// $argc and $argv are available in this process as any other cli PHP script.

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Ipc;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Ipc;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Ipc;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Ipc;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Ipc;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\Sync\Channel;
use function Amp\delay;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\Sync\Channel;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\Sync\Channel;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\Sync\Channel;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\Sync\Channel;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\Sync\Channel;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Amp\PHPUnit\TestException;
use Amp\Sync\Channel;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Context\Internal;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Context;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
spl_autoload_register(function (string $className) {
if ($className !== CustomAutoloadClass::class) {

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker\Fixtures;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
namespace Amp\Parallel\Test\Worker;