Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 30, 2024
2 parents 282a698 + 270c2ee commit 55ff7b7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ parameters:
- stubs/Symfony/Component/Messenger/Envelope.stub
- stubs/Symfony/Component/OptionsResolver/Exception/InvalidOptionsException.stub
- stubs/Symfony/Component/OptionsResolver/Options.stub
- stubs/Symfony/Component/Process/Exception/LogicException.stub
- stubs/Symfony/Component/Process/Process.stub
- stubs/Symfony/Component/PropertyAccess/Exception/AccessException.stub
- stubs/Symfony/Component/PropertyAccess/Exception/ExceptionInterface.stub
Expand Down
8 changes: 8 additions & 0 deletions stubs/Symfony/Component/Process/Exception/LogicException.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Symfony\Component\Process\Exception;

class LogicException extends \Exception
{

}
15 changes: 15 additions & 0 deletions stubs/Symfony/Component/Process/Process.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@

namespace Symfony\Component\Process;

use Symfony\Component\Process\Exception\LogicException;

/**
* @implements \IteratorAggregate<string, string>
*/
class Process implements \IteratorAggregate
{

/**
* @param int $flags
*
* @return \Generator<string, string, mixed, mixed>
*
* @throws LogicException in case the output has been disabled
* @throws LogicException In case the process is not started
*/
public function getIterator(int $flags = 0): \Generator
{

}

}

0 comments on commit 55ff7b7

Please sign in to comment.