Skip to content

Commit

Permalink
[CS] Remove @inheritdoc PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Aug 25, 2022
1 parent 18036fe commit 00db88f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 42 deletions.
6 changes: 0 additions & 6 deletions PhpProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,11 @@ public function __construct(string $script, string $cwd = null, array $env = nul
parent::__construct($php, $cwd, $env, $script, $timeout);
}

/**
* {@inheritdoc}
*/
public static function fromShellCommandline(string $command, string $cwd = null, array $env = null, mixed $input = null, ?float $timeout = 60): static
{
throw new LogicException(sprintf('The "%s()" method cannot be called when using "%s".', __METHOD__, self::class));
}

/**
* {@inheritdoc}
*/
public function start(callable $callback = null, array $env = [])
{
if (null === $this->getCommandLine()) {
Expand Down
3 changes: 0 additions & 3 deletions Pipes/AbstractPipes.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ public function __construct(mixed $input)
}
}

/**
* {@inheritdoc}
*/
public function close()
{
foreach ($this->pipes as $pipe) {
Expand Down
15 changes: 0 additions & 15 deletions Pipes/UnixPipes.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ public function __destruct()
$this->close();
}

/**
* {@inheritdoc}
*/
public function getDescriptors(): array
{
if (!$this->haveReadSupport) {
Expand Down Expand Up @@ -88,17 +85,11 @@ public function getDescriptors(): array
];
}

/**
* {@inheritdoc}
*/
public function getFiles(): array
{
return [];
}

/**
* {@inheritdoc}
*/
public function readAndWrite(bool $blocking, bool $close = false): array
{
$this->unblock();
Expand Down Expand Up @@ -145,17 +136,11 @@ public function readAndWrite(bool $blocking, bool $close = false): array
return $read;
}

/**
* {@inheritdoc}
*/
public function haveReadSupport(): bool
{
return $this->haveReadSupport;
}

/**
* {@inheritdoc}
*/
public function areOpen(): bool
{
return (bool) $this->pipes;
Expand Down
18 changes: 0 additions & 18 deletions Pipes/WindowsPipes.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ public function __destruct()
$this->close();
}

/**
* {@inheritdoc}
*/
public function getDescriptors(): array
{
if (!$this->haveReadSupport) {
Expand All @@ -128,17 +125,11 @@ public function getDescriptors(): array
];
}

/**
* {@inheritdoc}
*/
public function getFiles(): array
{
return $this->files;
}

/**
* {@inheritdoc}
*/
public function readAndWrite(bool $blocking, bool $close = false): array
{
$this->unblock();
Expand Down Expand Up @@ -171,25 +162,16 @@ public function readAndWrite(bool $blocking, bool $close = false): array
return $read;
}

/**
* {@inheritdoc}
*/
public function haveReadSupport(): bool
{
return $this->haveReadSupport;
}

/**
* {@inheritdoc}
*/
public function areOpen(): bool
{
return $this->pipes && $this->fileHandles;
}

/**
* {@inheritdoc}
*/
public function close()
{
parent::close();
Expand Down

0 comments on commit 00db88f

Please sign in to comment.