├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE.md ├── Makefile ├── README.md ├── composer.json ├── composer.lock ├── phpcs.xml ├── phpunit.xml.dist ├── src ├── CallbackRun.php ├── Display │ ├── Lines.php │ ├── Table.php │ ├── TagsTrait.php │ └── TinyProgressBar.php ├── Event │ ├── DispatcherInterface.php │ ├── EventDispatcherTrait.php │ ├── PoolRunEvent.php │ ├── PriorityChangedEvent.php │ └── RunEvent.php ├── Exceptions │ └── NotRunningException.php ├── Monitor │ └── PoolLogger.php ├── OutputterInterface.php ├── Pool.php ├── PoolInterface.php ├── PrioritisedInterface.php ├── PrioritisedTrait.php ├── PriorityPool.php ├── ProcessRun.php ├── RunInterface.php └── RunningStateTrait.php └── tests ├── example ├── lines.php └── table.php ├── src ├── BufferDiffOutput.php ├── BufferedLogger.php ├── EventDispatcherFake.php └── TestCase.php └── unit ├── CallbackRunTest.php ├── Display ├── LinesTest.php ├── TableTest.php └── TinyProgressBarTest.php ├── Event └── EventDispatcherTest.php ├── Monitor └── PoolLoggerTest.php ├── PoolMaxSimultaneousTest.php ├── PoolTest.php ├── PriorityPoolTest.php └── ProcessRunTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | /tests/report/ 3 | .idea 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/composer.lock -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/phpcs.xml -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/CallbackRun.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/CallbackRun.php -------------------------------------------------------------------------------- /src/Display/Lines.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Display/Lines.php -------------------------------------------------------------------------------- /src/Display/Table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Display/Table.php -------------------------------------------------------------------------------- /src/Display/TagsTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Display/TagsTrait.php -------------------------------------------------------------------------------- /src/Display/TinyProgressBar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Display/TinyProgressBar.php -------------------------------------------------------------------------------- /src/Event/DispatcherInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Event/DispatcherInterface.php -------------------------------------------------------------------------------- /src/Event/EventDispatcherTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Event/EventDispatcherTrait.php -------------------------------------------------------------------------------- /src/Event/PoolRunEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Event/PoolRunEvent.php -------------------------------------------------------------------------------- /src/Event/PriorityChangedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Event/PriorityChangedEvent.php -------------------------------------------------------------------------------- /src/Event/RunEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Event/RunEvent.php -------------------------------------------------------------------------------- /src/Exceptions/NotRunningException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Exceptions/NotRunningException.php -------------------------------------------------------------------------------- /src/Monitor/PoolLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Monitor/PoolLogger.php -------------------------------------------------------------------------------- /src/OutputterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/OutputterInterface.php -------------------------------------------------------------------------------- /src/Pool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/Pool.php -------------------------------------------------------------------------------- /src/PoolInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/PoolInterface.php -------------------------------------------------------------------------------- /src/PrioritisedInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/PrioritisedInterface.php -------------------------------------------------------------------------------- /src/PrioritisedTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/PrioritisedTrait.php -------------------------------------------------------------------------------- /src/PriorityPool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/PriorityPool.php -------------------------------------------------------------------------------- /src/ProcessRun.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/ProcessRun.php -------------------------------------------------------------------------------- /src/RunInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/RunInterface.php -------------------------------------------------------------------------------- /src/RunningStateTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/src/RunningStateTrait.php -------------------------------------------------------------------------------- /tests/example/lines.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/example/lines.php -------------------------------------------------------------------------------- /tests/example/table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/example/table.php -------------------------------------------------------------------------------- /tests/src/BufferDiffOutput.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/src/BufferDiffOutput.php -------------------------------------------------------------------------------- /tests/src/BufferedLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/src/BufferedLogger.php -------------------------------------------------------------------------------- /tests/src/EventDispatcherFake.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/src/EventDispatcherFake.php -------------------------------------------------------------------------------- /tests/src/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/src/TestCase.php -------------------------------------------------------------------------------- /tests/unit/CallbackRunTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/CallbackRunTest.php -------------------------------------------------------------------------------- /tests/unit/Display/LinesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/Display/LinesTest.php -------------------------------------------------------------------------------- /tests/unit/Display/TableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/Display/TableTest.php -------------------------------------------------------------------------------- /tests/unit/Display/TinyProgressBarTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/Display/TinyProgressBarTest.php -------------------------------------------------------------------------------- /tests/unit/Event/EventDispatcherTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/Event/EventDispatcherTest.php -------------------------------------------------------------------------------- /tests/unit/Monitor/PoolLoggerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/Monitor/PoolLoggerTest.php -------------------------------------------------------------------------------- /tests/unit/PoolMaxSimultaneousTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/PoolMaxSimultaneousTest.php -------------------------------------------------------------------------------- /tests/unit/PoolTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/PoolTest.php -------------------------------------------------------------------------------- /tests/unit/PriorityPoolTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/PriorityPoolTest.php -------------------------------------------------------------------------------- /tests/unit/ProcessRunTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graze/parallel-process/HEAD/tests/unit/ProcessRunTest.php --------------------------------------------------------------------------------