diff --git a/.dockerignore b/.dockerignore index 16a92636..b96ab754 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,6 +7,6 @@ couscous.yml .dockerignore Dockerfile .phpunit.result.cache -php-profiler.log +reli.log vendor lsp diff --git a/README.md b/README.md index 4cca0789..654ef32c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Coverage Status](https://coveralls.io/repos/github/reliforp/reli-prof/badge.svg?branch=0.6.x)](https://coveralls.io/github/reliforp/reli-prof?branch=0.6.x) ![Psalm coverage](https://shepherd.dev/github/reliforp/reli-prof/coverage.svg?) -Reli is a sampling profiler (or a VM state inspector) written in PHP. It can read information about running PHP script from outside of the process. It's a stand alone CLI tool, so target programs don't need any modifications. The former name of this tool was sj-i/php-profiler (We are in the process of changing the name right now). +Reli is a sampling profiler (or a VM state inspector) written in PHP. It can read information about running PHP script from outside of the process. It's a stand alone CLI tool, so target programs don't need any modifications. The former name of this tool was sj-i/php-profiler. ## What can I use this for? - Detecting and visualizing bottlenecks in PHP scripts @@ -233,11 +233,11 @@ $ ./reli i:trace -- php -r "fgets(STDIN);" ```bash $ sudo php ./reli i:trace -p 2182685 0 time_nanosleep :-1 -1 PhpProfiler\Lib\Loop\LoopMiddleware\NanoSleepMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php:33 -2 PhpProfiler\Lib\Loop\LoopMiddleware\KeyboardCancelMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php:39 -3 PhpProfiler\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php:37 -4 PhpProfiler\Lib\Loop\Loop::invoke /home/sji/work/reli/src/Lib/Loop/Loop.php:26 -5 PhpProfiler\Command\Inspector\GetTraceCommand::execute /home/sji/work/reli/src/Command/Inspector/GetTraceCommand.php:133 +1 Reli\Lib\Loop\LoopMiddleware\NanoSleepMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php:33 +2 Reli\Lib\Loop\LoopMiddleware\KeyboardCancelMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php:39 +3 Reli\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php:37 +4 Reli\Lib\Loop\Loop::invoke /home/sji/work/reli/src/Lib/Loop/Loop.php:26 +5 Reli\Command\Inspector\GetTraceCommand::execute /home/sji/work/reli/src/Command/Inspector/GetTraceCommand.php:133 6 Symfony\Component\Console\Command\Command::run /home/sji/work/reli/vendor/symfony/console/Command/Command.php:291 7 Symfony\Component\Console\Application::doRunCommand /home/sji/work/reli/vendor/symfony/console/Application.php:979 8 Symfony\Component\Console\Application::doRun /home/sji/work/reli/vendor/symfony/console/Application.php:299 @@ -245,11 +245,11 @@ $ sudo php ./reli i:trace -p 2182685 10
/home/sji/work/reli/reli:45 0 time_nanosleep :-1 -1 PhpProfiler\Lib\Loop\LoopMiddleware\NanoSleepMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php:33 -2 PhpProfiler\Lib\Loop\LoopMiddleware\KeyboardCancelMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php:39 -3 PhpProfiler\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php:37 -4 PhpProfiler\Lib\Loop\Loop::invoke /home/sji/work/reli/src/Lib/Loop/Loop.php:26 -5 PhpProfiler\Command\Inspector\GetTraceCommand::execute /home/sji/work/reli/src/Command/Inspector/GetTraceCommand.php:133 +1 Reli\Lib\Loop\LoopMiddleware\NanoSleepMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php:33 +2 Reli\Lib\Loop\LoopMiddleware\KeyboardCancelMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php:39 +3 Reli\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware::invoke /home/sji/work/reli/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php:37 +4 Reli\Lib\Loop\Loop::invoke /home/sji/work/reli/src/Lib/Loop/Loop.php:26 +5 Reli\Command\Inspector\GetTraceCommand::execute /home/sji/work/reli/src/Command/Inspector/GetTraceCommand.php:133 6 Symfony\Component\Console\Command\Command::run /home/sji/work/reli/vendor/symfony/console/Command/Command.php:291 7 Symfony\Component\Console\Application::doRunCommand /home/sji/work/reli/vendor/symfony/console/Application.php:979 8 Symfony\Component\Console\Application::doRun /home/sji/work/reli/vendor/symfony/console/Application.php:299 diff --git a/composer.json b/composer.json index d345b4ca..c0a1ac94 100644 --- a/composer.json +++ b/composer.json @@ -45,12 +45,12 @@ "autoload": { "files": ["src/Lib/Defer/defer.php"], "psr-4": { - "PhpProfiler\\": "src" + "Reli\\": "src" } }, "autoload-dev": { "psr-4": { - "PhpProfiler\\": "tests" + "Reli\\": "tests" } }, "bin": [ diff --git a/config/config.php b/config/config.php index 34aab724..7857ea02 100644 --- a/config/config.php +++ b/config/config.php @@ -1,7 +1,7 @@ * @@ -16,7 +16,7 @@ return [ 'log' => [ 'path' => [ - 'default' => 'php-profiler.log', + 'default' => 'reli.log', ], 'level' => LogLevel::INFO, ], diff --git a/config/di.php b/config/di.php index 7054844f..eaf190e7 100644 --- a/config/di.php +++ b/config/di.php @@ -1,7 +1,7 @@ * @@ -16,29 +16,29 @@ use Monolog\Handler\StreamHandler; use Monolog\Logger; use Noodlehaus\Config; -use PhpProfiler\Inspector\Daemon\Reader\Worker\PhpReaderTraceLoop; -use PhpProfiler\Inspector\Daemon\Reader\Worker\PhpReaderTraceLoopInterface; -use PhpProfiler\Inspector\Output\TraceFormatter\Templated\TemplatePathResolver; -use PhpProfiler\Inspector\Output\TraceFormatter\Templated\TemplatePathResolverInterface; -use PhpProfiler\Lib\Amphp\ContextCreator; -use PhpProfiler\Lib\Amphp\ContextCreatorInterface; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; -use PhpProfiler\Lib\Elf\SymbolResolver\SymbolResolverCreatorInterface; -use PhpProfiler\Lib\File\FileReaderInterface; -use PhpProfiler\Lib\File\NativeFileReader; -use PhpProfiler\Lib\Libc\Sys\Ptrace\Ptrace; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceX64; -use PhpProfiler\Lib\Log\StateCollector\CallerStateCollector; -use PhpProfiler\Lib\Log\StateCollector\GroupedStateCollector; -use PhpProfiler\Lib\Log\StateCollector\ProcessStateCollector; -use PhpProfiler\Lib\Log\StateCollector\StateCollector; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReader; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Process\Search\ProcessSearcher; -use PhpProfiler\Lib\Process\Search\ProcessSearcherInterface; +use Reli\Inspector\Daemon\Reader\Worker\PhpReaderTraceLoop; +use Reli\Inspector\Daemon\Reader\Worker\PhpReaderTraceLoopInterface; +use Reli\Inspector\Output\TraceFormatter\Templated\TemplatePathResolver; +use Reli\Inspector\Output\TraceFormatter\Templated\TemplatePathResolverInterface; +use Reli\Lib\Amphp\ContextCreator; +use Reli\Lib\Amphp\ContextCreatorInterface; +use Reli\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; +use Reli\Lib\Elf\SymbolResolver\SymbolResolverCreatorInterface; +use Reli\Lib\File\FileReaderInterface; +use Reli\Lib\File\NativeFileReader; +use Reli\Lib\Libc\Sys\Ptrace\Ptrace; +use Reli\Lib\Libc\Sys\Ptrace\PtraceX64; +use Reli\Lib\Log\StateCollector\CallerStateCollector; +use Reli\Lib\Log\StateCollector\GroupedStateCollector; +use Reli\Lib\Log\StateCollector\ProcessStateCollector; +use Reli\Lib\Log\StateCollector\StateCollector; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\Process\MemoryReader\MemoryReader; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\Search\ProcessSearcher; +use Reli\Lib\Process\Search\ProcessSearcherInterface; use Psr\Log\LoggerInterface; use function DI\autowire; diff --git a/phpcs.xml b/phpcs.xml index 49c5d83e..1ebf5fa2 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,5 +1,5 @@ - - php-profiler conventions + + reli conventions \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist index d21fbc73..9999f974 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -15,7 +15,7 @@ - + tests diff --git a/reli b/reli index b3d9e060..e05cc1e7 100755 --- a/reli +++ b/reli @@ -2,7 +2,7 @@ * @@ -13,11 +13,11 @@ declare(strict_types=1); use DI\ContainerBuilder; -use PhpProfiler\Command\CommandEnumerator; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\ReliProfiler; +use Reli\Command\CommandEnumerator; +use Reli\Lib\Log\Log; +use Reli\ReliProfiler; use Psr\Log\LoggerInterface; -use PhpProfiler\Lib\Log\StateCollector\StateCollector; +use Reli\Lib\Log\StateCollector\StateCollector; use Symfony\Component\Console\Application; use Symfony\Component\Console\Command\Command; diff --git a/resources/templates/compat.php b/resources/templates/compat.php index 81478a59..32caf46a 100644 --- a/resources/templates/compat.php +++ b/resources/templates/compat.php @@ -1,7 +1,7 @@ * @@ -11,8 +11,8 @@ declare(strict_types=1); -use PhpProfiler\Inspector\Output\TraceFormatter\Compat\CompatCallTraceFormatter; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Output\TraceFormatter\Compat\CompatCallTraceFormatter; +use Reli\Lib\PhpProcessReader\CallTrace; /** @var CallTrace $call_trace */ diff --git a/resources/templates/json_lines.php b/resources/templates/json_lines.php index 6fdafc2e..3bcfb918 100644 --- a/resources/templates/json_lines.php +++ b/resources/templates/json_lines.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; /** @var CallTrace $call_trace */ ?> diff --git a/resources/templates/phpspy.php b/resources/templates/phpspy.php index 4565c3e5..641919ac 100644 --- a/resources/templates/phpspy.php +++ b/resources/templates/phpspy.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; /** @var CallTrace $call_trace */ ?> call_frames as $depth => $frame): ?> diff --git a/resources/templates/phpspy_with_opcode.php b/resources/templates/phpspy_with_opcode.php index f970a7a9..a6a19fa8 100644 --- a/resources/templates/phpspy_with_opcode.php +++ b/resources/templates/phpspy_with_opcode.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; /** @var CallTrace $call_trace */ $depth_offset = 0; ?> diff --git a/src/Command/CommandEnumerator.php b/src/Command/CommandEnumerator.php index 1f2a5e60..cade4ae1 100644 --- a/src/Command/CommandEnumerator.php +++ b/src/Command/CommandEnumerator.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command; +namespace Reli\Command; use FilesystemIterator; use IteratorAggregate; @@ -33,7 +33,7 @@ public function getIterator() foreach ($this->command_files_iterator as $command_file_info) { $class_name = $command_file_info->getBasename('.php'); $namespace = $command_file_info->getPathInfo()->getFilename(); - $result = "PhpProfiler\\Command\\{$namespace}\\$class_name"; + $result = "Reli\\Command\\{$namespace}\\$class_name"; assert(is_subclass_of($result, Command::class)); yield $result; } diff --git a/src/Command/Converter/FlameGraphCommand.php b/src/Command/Converter/FlameGraphCommand.php index 0b8c9a6e..a1a349c4 100644 --- a/src/Command/Converter/FlameGraphCommand.php +++ b/src/Command/Converter/FlameGraphCommand.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command\Converter; +namespace Reli\Command\Converter; use Noodlehaus\Config; use PhpCast\Cast; diff --git a/src/Command/Converter/SpeedscopeCommand.php b/src/Command/Converter/SpeedscopeCommand.php index 8bc1dbc1..aabcd4c5 100644 --- a/src/Command/Converter/SpeedscopeCommand.php +++ b/src/Command/Converter/SpeedscopeCommand.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Command\Converter; +namespace Reli\Command\Converter; use PhpCast\Cast; -use PhpProfiler\Lib\PhpInternals\Opcodes\OpcodeV80; -use PhpProfiler\Lib\PhpInternals\Types\Zend\Opline; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpInternals\Opcodes\OpcodeV80; +use Reli\Lib\PhpInternals\Types\Zend\Opline; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Command/Inspector/DaemonCommand.php b/src/Command/Inspector/DaemonCommand.php index c8074cd5..6de247c7 100644 --- a/src/Command/Inspector/DaemonCommand.php +++ b/src/Command/Inspector/DaemonCommand.php @@ -1,7 +1,7 @@ * @@ -11,23 +11,23 @@ declare(strict_types=1); -namespace PhpProfiler\Command\Inspector; +namespace Reli\Command\Inspector; use Amp\Loop; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Dispatcher\DispatchTable; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Dispatcher\WorkerPool; -use PhpProfiler\Inspector\Daemon\Reader\Context\PhpReaderContextCreator; -use PhpProfiler\Inspector\Daemon\Searcher\Context\PhpSearcherContextCreator; -use PhpProfiler\Inspector\Output\TraceOutput\TraceOutputFactory; -use PhpProfiler\Inspector\Settings\DaemonSettings\DaemonSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\OutputSettings\OutputSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettingsFromConsoleInput; -use PhpProfiler\Lib\Console\EchoBackCanceller; -use PhpProfiler\Lib\Log\Log; +use Reli\Inspector\Daemon\Dispatcher\DispatchTable; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Dispatcher\WorkerPool; +use Reli\Inspector\Daemon\Reader\Context\PhpReaderContextCreator; +use Reli\Inspector\Daemon\Searcher\Context\PhpSearcherContextCreator; +use Reli\Inspector\Output\TraceOutput\TraceOutputFactory; +use Reli\Inspector\Settings\DaemonSettings\DaemonSettingsFromConsoleInput; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettingsFromConsoleInput; +use Reli\Inspector\Settings\OutputSettings\OutputSettingsFromConsoleInput; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettingsFromConsoleInput; +use Reli\Lib\Console\EchoBackCanceller; +use Reli\Lib\Log\Log; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Command/Inspector/GetEgAddressCommand.php b/src/Command/Inspector/GetEgAddressCommand.php index 7430ccbe..91651927 100644 --- a/src/Command/Inspector/GetEgAddressCommand.php +++ b/src/Command/Inspector/GetEgAddressCommand.php @@ -1,7 +1,7 @@ * @@ -11,18 +11,18 @@ declare(strict_types=1); -namespace PhpProfiler\Command\Inspector; +namespace Reli\Command\Inspector; -use PhpProfiler\Inspector\RetryingLoopProvider; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TargetProcessSettings\TargetProcessSettingsFromConsoleInput; -use PhpProfiler\Inspector\TargetProcess\TargetProcessResolver; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\Tls\TlsFinderException; -use PhpProfiler\Lib\PhpProcessReader\PhpGlobalsFinder; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderException; +use Reli\Inspector\RetryingLoopProvider; +use Reli\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; +use Reli\Inspector\Settings\TargetProcessSettings\TargetProcessSettingsFromConsoleInput; +use Reli\Inspector\TargetProcess\TargetProcessResolver; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\Tls\TlsFinderException; +use Reli\Lib\PhpProcessReader\PhpGlobalsFinder; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\Elf\Process\ProcessSymbolReaderException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Command/Inspector/GetTraceCommand.php b/src/Command/Inspector/GetTraceCommand.php index c20ff803..2663c99f 100644 --- a/src/Command/Inspector/GetTraceCommand.php +++ b/src/Command/Inspector/GetTraceCommand.php @@ -1,7 +1,7 @@ * @@ -11,32 +11,32 @@ declare(strict_types=1); -namespace PhpProfiler\Command\Inspector; +namespace Reli\Command\Inspector; -use PhpProfiler\Inspector\Output\TraceOutput\TraceOutputFactory; -use PhpProfiler\Inspector\RetryingLoopProvider; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; -use PhpProfiler\Inspector\Settings\OutputSettings\OutputSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TargetProcessSettings\TargetProcessSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettingsFromConsoleInput; -use PhpProfiler\Inspector\TargetProcess\TargetProcessResolver; -use PhpProfiler\Inspector\TraceLoopProvider; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderException; -use PhpProfiler\Lib\Elf\Tls\TlsFinderException; -use PhpProfiler\Lib\PhpProcessReader\PhpGlobalsFinder; -use PhpProfiler\Lib\PhpProcessReader\PhpVersionDetector; -use PhpProfiler\Lib\PhpProcessReader\TraceCache; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; -use PhpProfiler\Lib\PhpProcessReader\PhpMemoryReader\CallTraceReader; -use PhpProfiler\Lib\Process\ProcessStopper\ProcessStopper; +use Reli\Inspector\Output\TraceOutput\TraceOutputFactory; +use Reli\Inspector\RetryingLoopProvider; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettingsFromConsoleInput; +use Reli\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\OutputSettings\OutputSettingsFromConsoleInput; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; +use Reli\Inspector\Settings\TargetProcessSettings\TargetProcessSettingsFromConsoleInput; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettingsFromConsoleInput; +use Reli\Inspector\TargetProcess\TargetProcessResolver; +use Reli\Inspector\TraceLoopProvider; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\Process\ProcessSymbolReaderException; +use Reli\Lib\Elf\Tls\TlsFinderException; +use Reli\Lib\PhpProcessReader\PhpGlobalsFinder; +use Reli\Lib\PhpProcessReader\PhpVersionDetector; +use Reli\Lib\PhpProcessReader\TraceCache; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\PhpProcessReader\PhpMemoryReader\CallTraceReader; +use Reli\Lib\Process\ProcessStopper\ProcessStopper; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use function PhpProfiler\Lib\Defer\defer; +use function Reli\Lib\Defer\defer; final class GetTraceCommand extends Command { diff --git a/src/Command/Inspector/TopLikeCommand.php b/src/Command/Inspector/TopLikeCommand.php index a5aff821..31a7fe0f 100644 --- a/src/Command/Inspector/TopLikeCommand.php +++ b/src/Command/Inspector/TopLikeCommand.php @@ -11,24 +11,24 @@ declare(strict_types=1); -namespace PhpProfiler\Command\Inspector; +namespace Reli\Command\Inspector; use Amp\Loop; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Dispatcher\DispatchTable; -use PhpProfiler\Inspector\Daemon\Dispatcher\WorkerPool; -use PhpProfiler\Inspector\Daemon\Reader\Context\PhpReaderContextCreator; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Context\PhpSearcherContextCreator; -use PhpProfiler\Inspector\Output\TopLike\TopLikeFormatter; -use PhpProfiler\Inspector\Output\TopLike\TopLikeFormatterFactory; -use PhpProfiler\Inspector\Settings\DaemonSettings\DaemonSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettingsFromConsoleInput; -use PhpProfiler\Lib\Console\EchoBackCanceller; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Daemon\Dispatcher\DispatchTable; +use Reli\Inspector\Daemon\Dispatcher\WorkerPool; +use Reli\Inspector\Daemon\Reader\Context\PhpReaderContextCreator; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Searcher\Context\PhpSearcherContextCreator; +use Reli\Inspector\Output\TopLike\TopLikeFormatter; +use Reli\Inspector\Output\TopLike\TopLikeFormatterFactory; +use Reli\Inspector\Settings\DaemonSettings\DaemonSettingsFromConsoleInput; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettingsFromConsoleInput; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettingsFromConsoleInput; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettingsFromConsoleInput; +use Reli\Lib\Console\EchoBackCanceller; +use Reli\Lib\Log\Log; +use Reli\Lib\PhpProcessReader\CallTrace; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Inspector/Daemon/Dispatcher/DispatchTable.php b/src/Inspector/Daemon/Dispatcher/DispatchTable.php index 0e4c575e..401d572c 100644 --- a/src/Inspector/Daemon/Dispatcher/DispatchTable.php +++ b/src/Inspector/Daemon/Dispatcher/DispatchTable.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; use function is_null; diff --git a/src/Inspector/Daemon/Dispatcher/TargetProcessDescriptor.php b/src/Inspector/Daemon/Dispatcher/TargetProcessDescriptor.php index 48e89a1a..70d93732 100644 --- a/src/Inspector/Daemon/Dispatcher/TargetProcessDescriptor.php +++ b/src/Inspector/Daemon/Dispatcher/TargetProcessDescriptor.php @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReader; final class TargetProcessDescriptor { diff --git a/src/Inspector/Daemon/Dispatcher/TargetProcessList.php b/src/Inspector/Daemon/Dispatcher/TargetProcessList.php index 81b17019..fe58af8f 100644 --- a/src/Inspector/Daemon/Dispatcher/TargetProcessList.php +++ b/src/Inspector/Daemon/Dispatcher/TargetProcessList.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; use function array_rand; use function array_udiff; diff --git a/src/Inspector/Daemon/Dispatcher/TargetProcessListInterface.php b/src/Inspector/Daemon/Dispatcher/TargetProcessListInterface.php index 1b15ea32..d7dbb6d3 100644 --- a/src/Inspector/Daemon/Dispatcher/TargetProcessListInterface.php +++ b/src/Inspector/Daemon/Dispatcher/TargetProcessListInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; interface TargetProcessListInterface { diff --git a/src/Inspector/Daemon/Dispatcher/WorkerPool.php b/src/Inspector/Daemon/Dispatcher/WorkerPool.php index 25502c5f..8b8ceeb3 100644 --- a/src/Inspector/Daemon/Dispatcher/WorkerPool.php +++ b/src/Inspector/Daemon/Dispatcher/WorkerPool.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Reader\Context\PhpReaderContextCreatorInterface; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Inspector\Daemon\Reader\Context\PhpReaderContextCreatorInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; use function array_fill; use function array_keys; diff --git a/src/Inspector/Daemon/Dispatcher/WorkerPoolInterface.php b/src/Inspector/Daemon/Dispatcher/WorkerPoolInterface.php index 40b25b92..464f0359 100644 --- a/src/Inspector/Daemon/Dispatcher/WorkerPoolInterface.php +++ b/src/Inspector/Daemon/Dispatcher/WorkerPoolInterface.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; interface WorkerPoolInterface { diff --git a/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreator.php b/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreator.php index 74d64e16..33a186af 100644 --- a/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreator.php +++ b/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreator.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Context; +namespace Reli\Inspector\Daemon\Reader\Context; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderController; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerProtocol; -use PhpProfiler\Inspector\Daemon\Reader\Worker\PhpReaderWorkerProtocol; -use PhpProfiler\Inspector\Daemon\Reader\Worker\PhpReaderEntryPoint; -use PhpProfiler\Lib\Amphp\ContextCreatorInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderController; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerProtocol; +use Reli\Inspector\Daemon\Reader\Worker\PhpReaderWorkerProtocol; +use Reli\Inspector\Daemon\Reader\Worker\PhpReaderEntryPoint; +use Reli\Lib\Amphp\ContextCreatorInterface; final class PhpReaderContextCreator implements PhpReaderContextCreatorInterface { diff --git a/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorInterface.php b/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorInterface.php index fe32ea46..3be6ccf7 100644 --- a/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorInterface.php +++ b/src/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorInterface.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Context; +namespace Reli\Inspector\Daemon\Reader\Context; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; interface PhpReaderContextCreatorInterface { diff --git a/src/Inspector/Daemon/Reader/Controller/PhpReaderController.php b/src/Inspector/Daemon/Reader/Controller/PhpReaderController.php index c87b00b2..da45f8a3 100644 --- a/src/Inspector/Daemon/Reader/Controller/PhpReaderController.php +++ b/src/Inspector/Daemon/Reader/Controller/PhpReaderController.php @@ -1,7 +1,7 @@ * @@ -11,18 +11,18 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Controller; +namespace Reli\Inspector\Daemon\Reader\Controller; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\PhpReaderControllerProtocolInterface; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; -use PhpProfiler\Lib\Amphp\ContextInterface; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Inspector\Daemon\Reader\Protocol\PhpReaderControllerProtocolInterface; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Lib\Amphp\ContextInterface; final class PhpReaderController implements PhpReaderControllerInterface { diff --git a/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerInterface.php b/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerInterface.php index 3b2786c8..8b9792af 100644 --- a/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerInterface.php +++ b/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerInterface.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Controller; +namespace Reli\Inspector\Daemon\Reader\Controller; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; interface PhpReaderControllerInterface { diff --git a/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerProtocol.php b/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerProtocol.php index 5dd7c12c..c6efa6f2 100644 --- a/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerProtocol.php +++ b/src/Inspector/Daemon/Reader/Controller/PhpReaderControllerProtocol.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Controller; +namespace Reli\Inspector\Daemon\Reader\Controller; use Amp\Parallel\Sync\Channel; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\PhpReaderControllerProtocolInterface; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Reader\Protocol\PhpReaderControllerProtocolInterface; final class PhpReaderControllerProtocol implements PhpReaderControllerProtocolInterface { diff --git a/src/Inspector/Daemon/Reader/Protocol/Message/AttachMessage.php b/src/Inspector/Daemon/Reader/Protocol/Message/AttachMessage.php index 00728180..d2313f39 100644 --- a/src/Inspector/Daemon/Reader/Protocol/Message/AttachMessage.php +++ b/src/Inspector/Daemon/Reader/Protocol/Message/AttachMessage.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Protocol\Message; +namespace Reli\Inspector\Daemon\Reader\Protocol\Message; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; final class AttachMessage { diff --git a/src/Inspector/Daemon/Reader/Protocol/Message/DetachWorkerMessage.php b/src/Inspector/Daemon/Reader/Protocol/Message/DetachWorkerMessage.php index 2b61fdb8..99b1da07 100644 --- a/src/Inspector/Daemon/Reader/Protocol/Message/DetachWorkerMessage.php +++ b/src/Inspector/Daemon/Reader/Protocol/Message/DetachWorkerMessage.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Protocol\Message; +namespace Reli\Inspector\Daemon\Reader\Protocol\Message; final class DetachWorkerMessage { diff --git a/src/Inspector/Daemon/Reader/Protocol/Message/SetSettingsMessage.php b/src/Inspector/Daemon/Reader/Protocol/Message/SetSettingsMessage.php index 06ed7d86..0c3467ba 100644 --- a/src/Inspector/Daemon/Reader/Protocol/Message/SetSettingsMessage.php +++ b/src/Inspector/Daemon/Reader/Protocol/Message/SetSettingsMessage.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Protocol\Message; +namespace Reli\Inspector\Daemon\Reader\Protocol\Message; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; final class SetSettingsMessage { diff --git a/src/Inspector/Daemon/Reader/Protocol/Message/TraceMessage.php b/src/Inspector/Daemon/Reader/Protocol/Message/TraceMessage.php index 3c82862b..2f0bef9c 100644 --- a/src/Inspector/Daemon/Reader/Protocol/Message/TraceMessage.php +++ b/src/Inspector/Daemon/Reader/Protocol/Message/TraceMessage.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Protocol\Message; +namespace Reli\Inspector\Daemon\Reader\Protocol\Message; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; final class TraceMessage { diff --git a/src/Inspector/Daemon/Reader/Protocol/PhpReaderControllerProtocolInterface.php b/src/Inspector/Daemon/Reader/Protocol/PhpReaderControllerProtocolInterface.php index 3e220dc0..dcf931d8 100644 --- a/src/Inspector/Daemon/Reader/Protocol/PhpReaderControllerProtocolInterface.php +++ b/src/Inspector/Daemon/Reader/Protocol/PhpReaderControllerProtocolInterface.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Protocol; +namespace Reli\Inspector\Daemon\Reader\Protocol; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Lib\Amphp\MessageProtocolInterface; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Lib\Amphp\MessageProtocolInterface; interface PhpReaderControllerProtocolInterface extends MessageProtocolInterface { diff --git a/src/Inspector/Daemon/Reader/Protocol/PhpReaderWorkerProtocolInterface.php b/src/Inspector/Daemon/Reader/Protocol/PhpReaderWorkerProtocolInterface.php index bf332063..eea6a0c8 100644 --- a/src/Inspector/Daemon/Reader/Protocol/PhpReaderWorkerProtocolInterface.php +++ b/src/Inspector/Daemon/Reader/Protocol/PhpReaderWorkerProtocolInterface.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Protocol; +namespace Reli\Inspector\Daemon\Reader\Protocol; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Lib\Amphp\MessageProtocolInterface; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Lib\Amphp\MessageProtocolInterface; interface PhpReaderWorkerProtocolInterface extends MessageProtocolInterface { diff --git a/src/Inspector/Daemon/Reader/Worker/PhpReaderEntryPoint.php b/src/Inspector/Daemon/Reader/Worker/PhpReaderEntryPoint.php index c7aac8db..c0bbd6c0 100644 --- a/src/Inspector/Daemon/Reader/Worker/PhpReaderEntryPoint.php +++ b/src/Inspector/Daemon/Reader/Worker/PhpReaderEntryPoint.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Worker; +namespace Reli\Inspector\Daemon\Reader\Worker; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\PhpReaderWorkerProtocolInterface; -use PhpProfiler\Lib\Amphp\WorkerEntryPointInterface; -use PhpProfiler\Lib\Log\Log; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Inspector\Daemon\Reader\Protocol\PhpReaderWorkerProtocolInterface; +use Reli\Lib\Amphp\WorkerEntryPointInterface; +use Reli\Lib\Log\Log; final class PhpReaderEntryPoint implements WorkerEntryPointInterface { diff --git a/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoop.php b/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoop.php index b63004be..abbe6875 100644 --- a/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoop.php +++ b/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoop.php @@ -1,7 +1,7 @@ * @@ -11,19 +11,19 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Worker; +namespace Reli\Inspector\Daemon\Reader\Worker; use Generator; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; -use PhpProfiler\Lib\PhpProcessReader\PhpMemoryReader\CallTraceReader; -use PhpProfiler\Lib\PhpProcessReader\TraceCache; -use PhpProfiler\Lib\Process\ProcessStopper\ProcessStopper; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Lib\PhpProcessReader\PhpMemoryReader\CallTraceReader; +use Reli\Lib\PhpProcessReader\TraceCache; +use Reli\Lib\Process\ProcessStopper\ProcessStopper; use function is_null; -use function PhpProfiler\Lib\Defer\defer; +use function Reli\Lib\Defer\defer; final class PhpReaderTraceLoop implements PhpReaderTraceLoopInterface { @@ -36,10 +36,10 @@ public function __construct( /** * @return Generator - * @throws \PhpProfiler\Lib\Elf\Parser\ElfParserException - * @throws \PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderException - * @throws \PhpProfiler\Lib\Elf\Tls\TlsFinderException - * @throws \PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException + * @throws \Reli\Lib\Elf\Parser\ElfParserException + * @throws \Reli\Lib\Elf\Process\ProcessSymbolReaderException + * @throws \Reli\Lib\Elf\Tls\TlsFinderException + * @throws \Reli\Lib\Process\MemoryReader\MemoryReaderException */ public function run( TraceLoopSettings $loop_settings, diff --git a/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoopInterface.php b/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoopInterface.php index 6c0d2cf9..1cb60ae5 100644 --- a/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoopInterface.php +++ b/src/Inspector/Daemon/Reader/Worker/PhpReaderTraceLoopInterface.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Worker; +namespace Reli\Inspector\Daemon\Reader\Worker; use Generator; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; interface PhpReaderTraceLoopInterface { diff --git a/src/Inspector/Daemon/Reader/Worker/PhpReaderWorkerProtocol.php b/src/Inspector/Daemon/Reader/Worker/PhpReaderWorkerProtocol.php index 35d06f9b..f232d310 100644 --- a/src/Inspector/Daemon/Reader/Worker/PhpReaderWorkerProtocol.php +++ b/src/Inspector/Daemon/Reader/Worker/PhpReaderWorkerProtocol.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Worker; +namespace Reli\Inspector\Daemon\Reader\Worker; use Amp\Parallel\Sync\Channel; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\PhpReaderWorkerProtocolInterface; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Reader\Protocol\PhpReaderWorkerProtocolInterface; final class PhpReaderWorkerProtocol implements PhpReaderWorkerProtocolInterface { diff --git a/src/Inspector/Daemon/Reader/Worker/ReaderLoopProvider.php b/src/Inspector/Daemon/Reader/Worker/ReaderLoopProvider.php index bebdc837..3fa37b3a 100644 --- a/src/Inspector/Daemon/Reader/Worker/ReaderLoopProvider.php +++ b/src/Inspector/Daemon/Reader/Worker/ReaderLoopProvider.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Worker; +namespace Reli\Inspector\Daemon\Reader\Worker; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; -use PhpProfiler\Lib\Loop\AsyncLoop; -use PhpProfiler\Lib\Loop\AsyncLoopBuilder; -use PhpProfiler\Lib\Loop\AsyncLoopMiddleware\CallableMiddlewareAsync; -use PhpProfiler\Lib\Loop\AsyncLoopMiddleware\NanoSleepMiddlewareAsync; -use PhpProfiler\Lib\Loop\AsyncLoopMiddleware\RetryOnExceptionMiddlewareAsync; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Lib\Loop\AsyncLoop; +use Reli\Lib\Loop\AsyncLoopBuilder; +use Reli\Lib\Loop\AsyncLoopMiddleware\CallableMiddlewareAsync; +use Reli\Lib\Loop\AsyncLoopMiddleware\NanoSleepMiddlewareAsync; +use Reli\Lib\Loop\AsyncLoopMiddleware\RetryOnExceptionMiddlewareAsync; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; final class ReaderLoopProvider { diff --git a/src/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreator.php b/src/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreator.php index 61259408..f80ea9d9 100644 --- a/src/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreator.php +++ b/src/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreator.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Context; +namespace Reli\Inspector\Daemon\Searcher\Context; -use PhpProfiler\Inspector\Daemon\Searcher\Controller\PhpSearcherController; -use PhpProfiler\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerInterface; -use PhpProfiler\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerProtocol; -use PhpProfiler\Inspector\Daemon\Searcher\Worker\PhpSearcherWorkerProtocol; -use PhpProfiler\Inspector\Daemon\Searcher\Worker\PhpSearcherEntryPoint; -use PhpProfiler\Lib\Amphp\ContextCreatorInterface; +use Reli\Inspector\Daemon\Searcher\Controller\PhpSearcherController; +use Reli\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerInterface; +use Reli\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerProtocol; +use Reli\Inspector\Daemon\Searcher\Worker\PhpSearcherWorkerProtocol; +use Reli\Inspector\Daemon\Searcher\Worker\PhpSearcherEntryPoint; +use Reli\Lib\Amphp\ContextCreatorInterface; final class PhpSearcherContextCreator { diff --git a/src/Inspector/Daemon/Searcher/Controller/PhpSearcherController.php b/src/Inspector/Daemon/Searcher/Controller/PhpSearcherController.php index ced32dc4..dad2dcd2 100644 --- a/src/Inspector/Daemon/Searcher/Controller/PhpSearcherController.php +++ b/src/Inspector/Daemon/Searcher/Controller/PhpSearcherController.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Controller; +namespace Reli\Inspector\Daemon\Searcher\Controller; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\PhpSearcherControllerProtocolInterface; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\Amphp\ContextInterface; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\PhpSearcherControllerProtocolInterface; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\Amphp\ContextInterface; final class PhpSearcherController implements PhpSearcherControllerInterface { diff --git a/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerInterface.php b/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerInterface.php index a90e244e..d9cf733e 100644 --- a/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerInterface.php +++ b/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerInterface.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Controller; +namespace Reli\Inspector\Daemon\Searcher\Controller; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; interface PhpSearcherControllerInterface { diff --git a/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerProtocol.php b/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerProtocol.php index 780ca1ca..68963d60 100644 --- a/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerProtocol.php +++ b/src/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerProtocol.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Controller; +namespace Reli\Inspector\Daemon\Searcher\Controller; use Amp\Parallel\Sync\Channel; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\PhpSearcherControllerProtocolInterface; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\PhpSearcherControllerProtocolInterface; final class PhpSearcherControllerProtocol implements PhpSearcherControllerProtocolInterface { diff --git a/src/Inspector/Daemon/Searcher/Protocol/Message/TargetPhpSettingsMessage.php b/src/Inspector/Daemon/Searcher/Protocol/Message/TargetPhpSettingsMessage.php index 66efe00f..7059d9f3 100644 --- a/src/Inspector/Daemon/Searcher/Protocol/Message/TargetPhpSettingsMessage.php +++ b/src/Inspector/Daemon/Searcher/Protocol/Message/TargetPhpSettingsMessage.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message; +namespace Reli\Inspector\Daemon\Searcher\Protocol\Message; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\PhpInternals\ZendTypeReader; final class TargetPhpSettingsMessage { diff --git a/src/Inspector/Daemon/Searcher/Protocol/Message/UpdateTargetProcessMessage.php b/src/Inspector/Daemon/Searcher/Protocol/Message/UpdateTargetProcessMessage.php index 930a4555..9c3c92da 100644 --- a/src/Inspector/Daemon/Searcher/Protocol/Message/UpdateTargetProcessMessage.php +++ b/src/Inspector/Daemon/Searcher/Protocol/Message/UpdateTargetProcessMessage.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message; +namespace Reli\Inspector\Daemon\Searcher\Protocol\Message; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessList; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessList; final class UpdateTargetProcessMessage { diff --git a/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherControllerProtocolInterface.php b/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherControllerProtocolInterface.php index e64a8566..2b863f92 100644 --- a/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherControllerProtocolInterface.php +++ b/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherControllerProtocolInterface.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Protocol; +namespace Reli\Inspector\Daemon\Searcher\Protocol; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Lib\Amphp\MessageProtocolInterface; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Lib\Amphp\MessageProtocolInterface; interface PhpSearcherControllerProtocolInterface extends MessageProtocolInterface { diff --git a/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherWorkerProtocolInterface.php b/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherWorkerProtocolInterface.php index fd98ffe0..2ad6dc20 100644 --- a/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherWorkerProtocolInterface.php +++ b/src/Inspector/Daemon/Searcher/Protocol/PhpSearcherWorkerProtocolInterface.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Protocol; +namespace Reli\Inspector\Daemon\Searcher\Protocol; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Lib\Amphp\MessageProtocolInterface; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Lib\Amphp\MessageProtocolInterface; interface PhpSearcherWorkerProtocolInterface extends MessageProtocolInterface { diff --git a/src/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPoint.php b/src/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPoint.php index ef75d486..495d7a0d 100644 --- a/src/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPoint.php +++ b/src/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPoint.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessList; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\PhpSearcherWorkerProtocolInterface; -use PhpProfiler\Lib\Amphp\WorkerEntryPointInterface; -use PhpProfiler\Lib\Process\Search\ProcessSearcherInterface; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessList; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\PhpSearcherWorkerProtocolInterface; +use Reli\Lib\Amphp\WorkerEntryPointInterface; +use Reli\Lib\Process\Search\ProcessSearcherInterface; use function sleep; diff --git a/src/Inspector/Daemon/Searcher/Worker/PhpSearcherWorkerProtocol.php b/src/Inspector/Daemon/Searcher/Worker/PhpSearcherWorkerProtocol.php index 7a984e0f..e40f6512 100644 --- a/src/Inspector/Daemon/Searcher/Worker/PhpSearcherWorkerProtocol.php +++ b/src/Inspector/Daemon/Searcher/Worker/PhpSearcherWorkerProtocol.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; use Amp\Parallel\Sync\Channel; use Amp\Promise; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\PhpSearcherWorkerProtocolInterface; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\PhpSearcherWorkerProtocolInterface; final class PhpSearcherWorkerProtocol implements PhpSearcherWorkerProtocolInterface { diff --git a/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCache.php b/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCache.php index 3ef4e23e..1535fcfd 100644 --- a/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCache.php +++ b/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCache.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; final class ProcessDescriptorCache { diff --git a/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetriever.php b/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetriever.php index 50e72039..a142ea60 100644 --- a/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetriever.php +++ b/src/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetriever.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\PhpProcessReader\PhpGlobalsFinder; -use PhpProfiler\Lib\PhpProcessReader\PhpVersionDetector; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\Log\Log; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpProcessReader\PhpGlobalsFinder; +use Reli\Lib\PhpProcessReader\PhpVersionDetector; +use Reli\Lib\Process\ProcessSpecifier; class ProcessDescriptorRetriever { diff --git a/src/Inspector/Output/OutputChannel/ConsoleOutputChannel.php b/src/Inspector/Output/OutputChannel/ConsoleOutputChannel.php index 8569fb18..53d079d7 100644 --- a/src/Inspector/Output/OutputChannel/ConsoleOutputChannel.php +++ b/src/Inspector/Output/OutputChannel/ConsoleOutputChannel.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\OutputChannel; +namespace Reli\Inspector\Output\OutputChannel; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Inspector/Output/OutputChannel/OutputChannel.php b/src/Inspector/Output/OutputChannel/OutputChannel.php index 91684f21..84d5b602 100644 --- a/src/Inspector/Output/OutputChannel/OutputChannel.php +++ b/src/Inspector/Output/OutputChannel/OutputChannel.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\OutputChannel; +namespace Reli\Inspector\Output\OutputChannel; interface OutputChannel { diff --git a/src/Inspector/Output/TopLike/FunctionEntry.php b/src/Inspector/Output/TopLike/FunctionEntry.php index 374ce90c..f8041503 100644 --- a/src/Inspector/Output/TopLike/FunctionEntry.php +++ b/src/Inspector/Output/TopLike/FunctionEntry.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; final class FunctionEntry { diff --git a/src/Inspector/Output/TopLike/Outputter.php b/src/Inspector/Output/TopLike/Outputter.php index c60a3887..239c25a2 100644 --- a/src/Inspector/Output/TopLike/Outputter.php +++ b/src/Inspector/Output/TopLike/Outputter.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; interface Outputter { diff --git a/src/Inspector/Output/TopLike/Stat.php b/src/Inspector/Output/TopLike/Stat.php index fb4b1f78..abbc6171 100644 --- a/src/Inspector/Output/TopLike/Stat.php +++ b/src/Inspector/Output/TopLike/Stat.php @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; final class Stat { diff --git a/src/Inspector/Output/TopLike/TopLikeFormatter.php b/src/Inspector/Output/TopLike/TopLikeFormatter.php index b040717f..b6a850b1 100644 --- a/src/Inspector/Output/TopLike/TopLikeFormatter.php +++ b/src/Inspector/Output/TopLike/TopLikeFormatter.php @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; -use PhpProfiler\Lib\DateTime\Clock; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\DateTime\Clock; +use Reli\Lib\PhpProcessReader\CallTrace; final class TopLikeFormatter { diff --git a/src/Inspector/Output/TopLike/TopLikeFormatterFactory.php b/src/Inspector/Output/TopLike/TopLikeFormatterFactory.php index cf09e0be..5c4a611e 100644 --- a/src/Inspector/Output/TopLike/TopLikeFormatterFactory.php +++ b/src/Inspector/Output/TopLike/TopLikeFormatterFactory.php @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; -use PhpProfiler\Lib\DateTime\OnDemandClock; +use Reli\Lib\DateTime\OnDemandClock; use Symfony\Component\Console\Output\ConsoleOutputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Terminal; diff --git a/src/Inspector/Output/TopLike/TopLikeOutputter.php b/src/Inspector/Output/TopLike/TopLikeOutputter.php index 466f5dd7..4b4b4f9c 100644 --- a/src/Inspector/Output/TopLike/TopLikeOutputter.php +++ b/src/Inspector/Output/TopLike/TopLikeOutputter.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Helper\TableCell; diff --git a/src/Inspector/Output/TraceFormatter/CallTraceFormatter.php b/src/Inspector/Output/TraceFormatter/CallTraceFormatter.php index 54cdf260..a81d099e 100644 --- a/src/Inspector/Output/TraceFormatter/CallTraceFormatter.php +++ b/src/Inspector/Output/TraceFormatter/CallTraceFormatter.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter; +namespace Reli\Inspector\Output\TraceFormatter; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; interface CallTraceFormatter { diff --git a/src/Inspector/Output/TraceFormatter/Compat/CompatCallFrameFormatter.php b/src/Inspector/Output/TraceFormatter/Compat/CompatCallFrameFormatter.php index ffee2de2..b99d26dd 100644 --- a/src/Inspector/Output/TraceFormatter/Compat/CompatCallFrameFormatter.php +++ b/src/Inspector/Output/TraceFormatter/Compat/CompatCallFrameFormatter.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Compat; +namespace Reli\Inspector\Output\TraceFormatter\Compat; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallFrame; use function is_null; diff --git a/src/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatter.php b/src/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatter.php index f6255fd2..a8b72563 100644 --- a/src/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatter.php +++ b/src/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatter.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Compat; +namespace Reli\Inspector\Output\TraceFormatter\Compat; -use PhpProfiler\Inspector\Output\TraceFormatter\CallTraceFormatter; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Output\TraceFormatter\CallTraceFormatter; +use Reli\Lib\PhpProcessReader\CallTrace; use function join; diff --git a/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolver.php b/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolver.php index 7b319476..382457f3 100644 --- a/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolver.php +++ b/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolver.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; use Noodlehaus\Config; diff --git a/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverInterface.php b/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverInterface.php index 65208b2b..d7187d6b 100644 --- a/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverInterface.php +++ b/src/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; interface TemplatePathResolverInterface { diff --git a/src/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatter.php b/src/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatter.php index 428fa01a..4492aee4 100644 --- a/src/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatter.php +++ b/src/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatter.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; -use PhpProfiler\Inspector\Output\TraceFormatter\CallTraceFormatter; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Output\TraceFormatter\CallTraceFormatter; +use Reli\Lib\PhpProcessReader\CallTrace; use function assert; use function is_string; diff --git a/src/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactory.php b/src/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactory.php index 55d20f8f..d9f4815f 100644 --- a/src/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactory.php +++ b/src/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactory.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; -use PhpProfiler\Inspector\Output\TraceFormatter\CallTraceFormatter; -use PhpProfiler\Inspector\Settings\OutputSettings\OutputSettings; +use Reli\Inspector\Output\TraceFormatter\CallTraceFormatter; +use Reli\Inspector\Settings\OutputSettings\OutputSettings; class TraceFormatterFactory { diff --git a/src/Inspector/Output/TraceOutput/FormattedTraceOutput.php b/src/Inspector/Output/TraceOutput/FormattedTraceOutput.php index 607c6477..953f9017 100644 --- a/src/Inspector/Output/TraceOutput/FormattedTraceOutput.php +++ b/src/Inspector/Output/TraceOutput/FormattedTraceOutput.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceOutput; +namespace Reli\Inspector\Output\TraceOutput; -use PhpProfiler\Inspector\Output\OutputChannel\OutputChannel; -use PhpProfiler\Inspector\Output\TraceFormatter\CallTraceFormatter; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Output\OutputChannel\OutputChannel; +use Reli\Inspector\Output\TraceFormatter\CallTraceFormatter; +use Reli\Lib\PhpProcessReader\CallTrace; final class FormattedTraceOutput implements TraceOutput { diff --git a/src/Inspector/Output/TraceOutput/TraceOutput.php b/src/Inspector/Output/TraceOutput/TraceOutput.php index d181618a..7cced82d 100644 --- a/src/Inspector/Output/TraceOutput/TraceOutput.php +++ b/src/Inspector/Output/TraceOutput/TraceOutput.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceOutput; +namespace Reli\Inspector\Output\TraceOutput; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; interface TraceOutput { diff --git a/src/Inspector/Output/TraceOutput/TraceOutputFactory.php b/src/Inspector/Output/TraceOutput/TraceOutputFactory.php index fbdbfc55..a726c6e9 100644 --- a/src/Inspector/Output/TraceOutput/TraceOutputFactory.php +++ b/src/Inspector/Output/TraceOutput/TraceOutputFactory.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceOutput; +namespace Reli\Inspector\Output\TraceOutput; -use PhpProfiler\Inspector\Output\OutputChannel\ConsoleOutputChannel; -use PhpProfiler\Inspector\Output\TraceFormatter\Templated\TraceFormatterFactory; -use PhpProfiler\Inspector\Settings\OutputSettings\OutputSettings; +use Reli\Inspector\Output\OutputChannel\ConsoleOutputChannel; +use Reli\Inspector\Output\TraceFormatter\Templated\TraceFormatterFactory; +use Reli\Inspector\Settings\OutputSettings\OutputSettings; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\StreamOutput; diff --git a/src/Inspector/RetryingLoopProvider.php b/src/Inspector/RetryingLoopProvider.php index 15ec0ed8..accedc70 100644 --- a/src/Inspector/RetryingLoopProvider.php +++ b/src/Inspector/RetryingLoopProvider.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector; +namespace Reli\Inspector; -use PhpProfiler\Lib\Loop\LoopBuilder; -use PhpProfiler\Lib\Loop\LoopMiddleware\CallableMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddleware\NanoSleepMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware; +use Reli\Lib\Loop\LoopBuilder; +use Reli\Lib\Loop\LoopMiddleware\CallableMiddleware; +use Reli\Lib\Loop\LoopMiddleware\NanoSleepMiddleware; +use Reli\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware; class RetryingLoopProvider { diff --git a/src/Inspector/Settings/DaemonSettings/DaemonSettings.php b/src/Inspector/Settings/DaemonSettings/DaemonSettings.php index 317cf1b6..78f4898c 100644 --- a/src/Inspector/Settings/DaemonSettings/DaemonSettings.php +++ b/src/Inspector/Settings/DaemonSettings/DaemonSettings.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\DaemonSettings; +namespace Reli\Inspector\Settings\DaemonSettings; final class DaemonSettings { diff --git a/src/Inspector/Settings/DaemonSettings/DaemonSettingsException.php b/src/Inspector/Settings/DaemonSettings/DaemonSettingsException.php index dfb66c72..7a91e3c0 100644 --- a/src/Inspector/Settings/DaemonSettings/DaemonSettingsException.php +++ b/src/Inspector/Settings/DaemonSettings/DaemonSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\DaemonSettings; +namespace Reli\Inspector\Settings\DaemonSettings; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; final class DaemonSettingsException extends InspectorSettingsException { diff --git a/src/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInput.php b/src/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInput.php index dd9b8c4e..17965e4d 100644 --- a/src/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInput.php +++ b/src/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInput.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\DaemonSettings; +namespace Reli\Inspector\Settings\DaemonSettings; use PhpCast\NullableCast; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/src/Inspector/Settings/GetTraceSettings/GetTraceSettings.php b/src/Inspector/Settings/GetTraceSettings/GetTraceSettings.php index f0e27fa1..96466bc3 100644 --- a/src/Inspector/Settings/GetTraceSettings/GetTraceSettings.php +++ b/src/Inspector/Settings/GetTraceSettings/GetTraceSettings.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\GetTraceSettings; +namespace Reli\Inspector\Settings\GetTraceSettings; final class GetTraceSettings { diff --git a/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsException.php b/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsException.php index 3adbbe47..fb30e8be 100644 --- a/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsException.php +++ b/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\GetTraceSettings; +namespace Reli\Inspector\Settings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; final class GetTraceSettingsException extends InspectorSettingsException { diff --git a/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInput.php b/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInput.php index f96b4184..60529310 100644 --- a/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInput.php +++ b/src/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInput.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\GetTraceSettings; +namespace Reli\Inspector\Settings\GetTraceSettings; use PhpCast\NullableCast; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/src/Inspector/Settings/InspectorSettingsException.php b/src/Inspector/Settings/InspectorSettingsException.php index 354b7343..fec4f1dc 100644 --- a/src/Inspector/Settings/InspectorSettingsException.php +++ b/src/Inspector/Settings/InspectorSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings; +namespace Reli\Inspector\Settings; use LogicException; use Throwable; diff --git a/src/Inspector/Settings/OutputSettings/OutputSettings.php b/src/Inspector/Settings/OutputSettings/OutputSettings.php index acfe3973..0234ddf5 100644 --- a/src/Inspector/Settings/OutputSettings/OutputSettings.php +++ b/src/Inspector/Settings/OutputSettings/OutputSettings.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\OutputSettings; +namespace Reli\Inspector\Settings\OutputSettings; /** * @immutable diff --git a/src/Inspector/Settings/OutputSettings/OutputSettingsException.php b/src/Inspector/Settings/OutputSettings/OutputSettingsException.php index ccba0a96..df03ca84 100644 --- a/src/Inspector/Settings/OutputSettings/OutputSettingsException.php +++ b/src/Inspector/Settings/OutputSettings/OutputSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\OutputSettings; +namespace Reli\Inspector\Settings\OutputSettings; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; class OutputSettingsException extends InspectorSettingsException { diff --git a/src/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInput.php b/src/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInput.php index 1475efb6..cb98a008 100644 --- a/src/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInput.php +++ b/src/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInput.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\OutputSettings; +namespace Reli\Inspector\Settings\OutputSettings; use Noodlehaus\Config; use PhpCast\NullableCast; diff --git a/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettings.php b/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettings.php index f97f6a49..817bb40d 100644 --- a/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettings.php +++ b/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettings.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetPhpSettings; +namespace Reli\Inspector\Settings\TargetPhpSettings; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReader; /** * @psalm-type VersionDecided=value-of diff --git a/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsException.php b/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsException.php index 4bb1fda8..bd3212cc 100644 --- a/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsException.php +++ b/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetPhpSettings; +namespace Reli\Inspector\Settings\TargetPhpSettings; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; final class TargetPhpSettingsException extends InspectorSettingsException { diff --git a/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInput.php b/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInput.php index f43f4e37..8ef6755a 100644 --- a/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInput.php +++ b/src/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInput.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetPhpSettings; +namespace Reli\Inspector\Settings\TargetPhpSettings; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReader; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettings.php b/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettings.php index dd072854..4eb53e9b 100644 --- a/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettings.php +++ b/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettings.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetProcessSettings; +namespace Reli\Inspector\Settings\TargetProcessSettings; final class TargetProcessSettings { diff --git a/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsException.php b/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsException.php index 5d57fdc4..3cfe4c7b 100644 --- a/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsException.php +++ b/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetProcessSettings; +namespace Reli\Inspector\Settings\TargetProcessSettings; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; final class TargetProcessSettingsException extends InspectorSettingsException { diff --git a/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInput.php b/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInput.php index 45c90946..3610f58d 100644 --- a/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInput.php +++ b/src/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInput.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetProcessSettings; +namespace Reli\Inspector\Settings\TargetProcessSettings; use PhpCast\NullableCast; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; diff --git a/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettings.php b/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettings.php index 094898be..85e4b2bf 100644 --- a/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettings.php +++ b/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettings.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TraceLoopSettings; +namespace Reli\Inspector\Settings\TraceLoopSettings; final class TraceLoopSettings { diff --git a/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsException.php b/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsException.php index c59456fe..8a6d1ad3 100644 --- a/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsException.php +++ b/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsException.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TraceLoopSettings; +namespace Reli\Inspector\Settings\TraceLoopSettings; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; final class TraceLoopSettingsException extends InspectorSettingsException { diff --git a/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInput.php b/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInput.php index b37ca174..9ec78294 100644 --- a/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInput.php +++ b/src/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInput.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TraceLoopSettings; +namespace Reli\Inspector\Settings\TraceLoopSettings; use PhpCast\NullableCast; -use PhpProfiler\Inspector\Settings\InspectorSettingsException; +use Reli\Inspector\Settings\InspectorSettingsException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/src/Inspector/TargetProcess/TargetProcessResolver.php b/src/Inspector/TargetProcess/TargetProcessResolver.php index 7ca58b57..344b9209 100644 --- a/src/Inspector/TargetProcess/TargetProcessResolver.php +++ b/src/Inspector/TargetProcess/TargetProcessResolver.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\TargetProcess; +namespace Reli\Inspector\TargetProcess; -use PhpProfiler\Inspector\Settings\TargetProcessSettings\TargetProcessSettings; -use PhpProfiler\Lib\Process\Exec\TraceeExecutor; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Settings\TargetProcessSettings\TargetProcessSettings; +use Reli\Lib\Process\Exec\TraceeExecutor; +use Reli\Lib\Process\ProcessSpecifier; class TargetProcessResolver { diff --git a/src/Inspector/TargetProcess/TragetProcessResolverException.php b/src/Inspector/TargetProcess/TragetProcessResolverException.php index 0932f042..14a29ea7 100644 --- a/src/Inspector/TargetProcess/TragetProcessResolverException.php +++ b/src/Inspector/TargetProcess/TragetProcessResolverException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\TargetProcess; +namespace Reli\Inspector\TargetProcess; class TragetProcessResolverException extends \Exception { diff --git a/src/Inspector/TraceLoopProvider.php b/src/Inspector/TraceLoopProvider.php index 745eedd1..cc285152 100644 --- a/src/Inspector/TraceLoopProvider.php +++ b/src/Inspector/TraceLoopProvider.php @@ -1,7 +1,7 @@ * @@ -11,17 +11,17 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector; +namespace Reli\Inspector; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; -use PhpProfiler\Lib\Console\EchoBackCanceller; -use PhpProfiler\Lib\Loop\Loop; -use PhpProfiler\Lib\Loop\LoopBuilder; -use PhpProfiler\Lib\Loop\LoopMiddleware\CallableMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddleware\KeyboardCancelMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddleware\NanoSleepMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Lib\Console\EchoBackCanceller; +use Reli\Lib\Loop\Loop; +use Reli\Lib\Loop\LoopBuilder; +use Reli\Lib\Loop\LoopMiddleware\CallableMiddleware; +use Reli\Lib\Loop\LoopMiddleware\KeyboardCancelMiddleware; +use Reli\Lib\Loop\LoopMiddleware\NanoSleepMiddleware; +use Reli\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; final class TraceLoopProvider { diff --git a/src/Lib/Amphp/Context.php b/src/Lib/Amphp/Context.php index 105e273a..8fc7df76 100644 --- a/src/Lib/Amphp/Context.php +++ b/src/Lib/Amphp/Context.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; use Amp\Parallel\Context\Context as AmphpContext; use Amp\Promise; diff --git a/src/Lib/Amphp/ContextCreator.php b/src/Lib/Amphp/ContextCreator.php index 361e8cfb..9f2c8e43 100644 --- a/src/Lib/Amphp/ContextCreator.php +++ b/src/Lib/Amphp/ContextCreator.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; use function Amp\Parallel\Context\create; diff --git a/src/Lib/Amphp/ContextCreatorInterface.php b/src/Lib/Amphp/ContextCreatorInterface.php index 2bd05db5..d588a449 100644 --- a/src/Lib/Amphp/ContextCreatorInterface.php +++ b/src/Lib/Amphp/ContextCreatorInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; interface ContextCreatorInterface { diff --git a/src/Lib/Amphp/ContextInterface.php b/src/Lib/Amphp/ContextInterface.php index 516f85ae..11ea1ab1 100644 --- a/src/Lib/Amphp/ContextInterface.php +++ b/src/Lib/Amphp/ContextInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; use Amp\Promise; diff --git a/src/Lib/Amphp/MessageProtocolInterface.php b/src/Lib/Amphp/MessageProtocolInterface.php index ecbcd728..0cb2ae00 100644 --- a/src/Lib/Amphp/MessageProtocolInterface.php +++ b/src/Lib/Amphp/MessageProtocolInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; use Amp\Parallel\Sync\Channel; diff --git a/src/Lib/Amphp/WorkerEntryPointInterface.php b/src/Lib/Amphp/WorkerEntryPointInterface.php index 012ce33a..4ffb5392 100644 --- a/src/Lib/Amphp/WorkerEntryPointInterface.php +++ b/src/Lib/Amphp/WorkerEntryPointInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; interface WorkerEntryPointInterface { diff --git a/src/Lib/Amphp/worker-entry.php b/src/Lib/Amphp/worker-entry.php index 5a3573f4..27dad5a2 100644 --- a/src/Lib/Amphp/worker-entry.php +++ b/src/Lib/Amphp/worker-entry.php @@ -1,7 +1,7 @@ * @@ -13,10 +13,10 @@ use Amp\Parallel\Sync\Channel; use DI\ContainerBuilder; -use PhpProfiler\Lib\Amphp\WorkerEntryPointInterface; -use PhpProfiler\Lib\Amphp\MessageProtocolInterface; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\Lib\Log\StateCollector\StateCollector; +use Reli\Lib\Amphp\WorkerEntryPointInterface; +use Reli\Lib\Amphp\MessageProtocolInterface; +use Reli\Lib\Log\Log; +use Reli\Lib\Log\StateCollector\StateCollector; use Psr\Log\LoggerInterface; return function (Channel $channel) use ($argv): \Generator { diff --git a/src/Lib/ByteStream/ByteReaderDisableWriteAccessTrait.php b/src/Lib/ByteStream/ByteReaderDisableWriteAccessTrait.php index dd251196..ecac1400 100644 --- a/src/Lib/ByteStream/ByteReaderDisableWriteAccessTrait.php +++ b/src/Lib/ByteStream/ByteReaderDisableWriteAccessTrait.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use LogicException; diff --git a/src/Lib/ByteStream/ByteReaderInterface.php b/src/Lib/ByteStream/ByteReaderInterface.php index f0ae1b89..d4f1a630 100644 --- a/src/Lib/ByteStream/ByteReaderInterface.php +++ b/src/Lib/ByteStream/ByteReaderInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use ArrayAccess; use LogicException; diff --git a/src/Lib/ByteStream/CDataByteReader.php b/src/Lib/ByteStream/CDataByteReader.php index bc13a858..1daf2fb8 100644 --- a/src/Lib/ByteStream/CDataByteReader.php +++ b/src/Lib/ByteStream/CDataByteReader.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use FFI\CArray; use FFI\CData; diff --git a/src/Lib/ByteStream/IntegerByteSequence/IntegerByteSequenceReader.php b/src/Lib/ByteStream/IntegerByteSequence/IntegerByteSequenceReader.php index 810c274a..449daa19 100644 --- a/src/Lib/ByteStream/IntegerByteSequence/IntegerByteSequenceReader.php +++ b/src/Lib/ByteStream/IntegerByteSequence/IntegerByteSequenceReader.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream\IntegerByteSequence; +namespace Reli\Lib\ByteStream\IntegerByteSequence; -use PhpProfiler\Lib\ByteStream\ByteReaderInterface; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\ByteStream\ByteReaderInterface; +use Reli\Lib\Integer\UInt64; interface IntegerByteSequenceReader { diff --git a/src/Lib/ByteStream/IntegerByteSequence/LittleEndianReader.php b/src/Lib/ByteStream/IntegerByteSequence/LittleEndianReader.php index 46cbc5a1..890658f4 100644 --- a/src/Lib/ByteStream/IntegerByteSequence/LittleEndianReader.php +++ b/src/Lib/ByteStream/IntegerByteSequence/LittleEndianReader.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream\IntegerByteSequence; +namespace Reli\Lib\ByteStream\IntegerByteSequence; -use PhpProfiler\Lib\ByteStream\ByteReaderInterface; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\ByteStream\ByteReaderInterface; +use Reli\Lib\Integer\UInt64; final class LittleEndianReader implements IntegerByteSequenceReader { diff --git a/src/Lib/ByteStream/ProcessMemoryByteReader.php b/src/Lib/ByteStream/ProcessMemoryByteReader.php index 1604c8fc..ca74e4f0 100644 --- a/src/Lib/ByteStream/ProcessMemoryByteReader.php +++ b/src/Lib/ByteStream/ProcessMemoryByteReader.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use OutOfBoundsException; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; use function chr; use function max; diff --git a/src/Lib/ByteStream/StringByteReader.php b/src/Lib/ByteStream/StringByteReader.php index 655750da..480f0d9c 100644 --- a/src/Lib/ByteStream/StringByteReader.php +++ b/src/Lib/ByteStream/StringByteReader.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use function ord; use function substr; diff --git a/src/Lib/ByteStream/UnrelocatedProcessMemoryByteReader.php b/src/Lib/ByteStream/UnrelocatedProcessMemoryByteReader.php index 938e11e4..ea7b72d3 100644 --- a/src/Lib/ByteStream/UnrelocatedProcessMemoryByteReader.php +++ b/src/Lib/ByteStream/UnrelocatedProcessMemoryByteReader.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; final class UnrelocatedProcessMemoryByteReader implements ByteReaderInterface { diff --git a/src/Lib/Console/EchoBackCanceller.php b/src/Lib/Console/EchoBackCanceller.php index 8fc50781..f77edb14 100644 --- a/src/Lib/Console/EchoBackCanceller.php +++ b/src/Lib/Console/EchoBackCanceller.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Console; +namespace Reli\Lib\Console; use function exec; diff --git a/src/Lib/DateTime/Clock.php b/src/Lib/DateTime/Clock.php index 884ac7fe..37adc5e3 100644 --- a/src/Lib/DateTime/Clock.php +++ b/src/Lib/DateTime/Clock.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\DateTime; +namespace Reli\Lib\DateTime; interface Clock { diff --git a/src/Lib/DateTime/FixedClock.php b/src/Lib/DateTime/FixedClock.php index 994c34c7..415c2265 100644 --- a/src/Lib/DateTime/FixedClock.php +++ b/src/Lib/DateTime/FixedClock.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\DateTime; +namespace Reli\Lib\DateTime; final class FixedClock implements Clock { diff --git a/src/Lib/DateTime/OnDemandClock.php b/src/Lib/DateTime/OnDemandClock.php index 6df5b342..9c8bb071 100644 --- a/src/Lib/DateTime/OnDemandClock.php +++ b/src/Lib/DateTime/OnDemandClock.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\DateTime; +namespace Reli\Lib\DateTime; final class OnDemandClock implements Clock { diff --git a/src/Lib/Defer/ScopeGuard.php b/src/Lib/Defer/ScopeGuard.php index f4f8cec3..aa80c303 100644 --- a/src/Lib/Defer/ScopeGuard.php +++ b/src/Lib/Defer/ScopeGuard.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Defer; +namespace Reli\Lib\Defer; final class ScopeGuard { diff --git a/src/Lib/Defer/defer.php b/src/Lib/Defer/defer.php index 2a7c04ef..54fe5b12 100644 --- a/src/Lib/Defer/defer.php +++ b/src/Lib/Defer/defer.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Defer; +namespace Reli\Lib\Defer; function defer(?ScopeGuard &$scope_guard, callable $function): void { diff --git a/src/Lib/Elf/Parser/Elf64Parser.php b/src/Lib/Elf/Parser/Elf64Parser.php index e91c632b..06225f28 100644 --- a/src/Lib/Elf/Parser/Elf64Parser.php +++ b/src/Lib/Elf/Parser/Elf64Parser.php @@ -1,7 +1,7 @@ * @@ -11,21 +11,21 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Parser; +namespace Reli\Lib\Elf\Parser; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; -use PhpProfiler\Lib\ByteStream\ByteReaderInterface; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64DynamicStructure; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64DynamicStructureArray; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64GnuHashTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64Header; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64ProgramHeaderEntry; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64ProgramHeaderTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SectionHeaderEntry; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SectionHeaderTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64StringTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; +use Reli\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; +use Reli\Lib\ByteStream\ByteReaderInterface; +use Reli\Lib\Elf\Structure\Elf64\Elf64DynamicStructure; +use Reli\Lib\Elf\Structure\Elf64\Elf64DynamicStructureArray; +use Reli\Lib\Elf\Structure\Elf64\Elf64GnuHashTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64Header; +use Reli\Lib\Elf\Structure\Elf64\Elf64ProgramHeaderEntry; +use Reli\Lib\Elf\Structure\Elf64\Elf64ProgramHeaderTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SectionHeaderEntry; +use Reli\Lib\Elf\Structure\Elf64\Elf64SectionHeaderTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64StringTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; final class Elf64Parser { diff --git a/src/Lib/Elf/Parser/ElfParserException.php b/src/Lib/Elf/Parser/ElfParserException.php index f1e578fd..a95a6fb6 100644 --- a/src/Lib/Elf/Parser/ElfParserException.php +++ b/src/Lib/Elf/Parser/ElfParserException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Parser; +namespace Reli\Lib\Elf\Parser; final class ElfParserException extends \Exception { diff --git a/src/Lib/Elf/Process/ProcessModuleSymbolReader.php b/src/Lib/Elf/Process/ProcessModuleSymbolReader.php index 58165d61..556936a6 100644 --- a/src/Lib/Elf/Process/ProcessModuleSymbolReader.php +++ b/src/Lib/Elf/Process/ProcessModuleSymbolReader.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Process; +namespace Reli\Lib\Elf\Process; use FFI\CData; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64AllSymbolResolver; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolver; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMap; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\Elf\SymbolResolver\Elf64AllSymbolResolver; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolver; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMap; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; use function is_null; diff --git a/src/Lib/Elf/Process/ProcessModuleSymbolReaderCreator.php b/src/Lib/Elf/Process/ProcessModuleSymbolReaderCreator.php index fafdb4e5..3f4da49b 100644 --- a/src/Lib/Elf/Process/ProcessModuleSymbolReaderCreator.php +++ b/src/Lib/Elf/Process/ProcessModuleSymbolReaderCreator.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Process; +namespace Reli\Lib\Elf\Process; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\SymbolResolver\SymbolResolverCreatorInterface; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryMap; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMap; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\SymbolResolver\SymbolResolverCreatorInterface; +use Reli\Lib\Process\MemoryMap\ProcessMemoryMap; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMap; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; final class ProcessModuleSymbolReaderCreator { diff --git a/src/Lib/Elf/Process/ProcessSymbolReaderException.php b/src/Lib/Elf/Process/ProcessSymbolReaderException.php index c5bb2223..9e0848f3 100644 --- a/src/Lib/Elf/Process/ProcessSymbolReaderException.php +++ b/src/Lib/Elf/Process/ProcessSymbolReaderException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Process; +namespace Reli\Lib\Elf\Process; class ProcessSymbolReaderException extends \Exception { diff --git a/src/Lib/Elf/Process/ProcessSymbolReaderInterface.php b/src/Lib/Elf/Process/ProcessSymbolReaderInterface.php index cdd2d0ec..f594e206 100644 --- a/src/Lib/Elf/Process/ProcessSymbolReaderInterface.php +++ b/src/Lib/Elf/Process/ProcessSymbolReaderInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Process; +namespace Reli\Lib\Elf\Process; use FFI\CData; diff --git a/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructure.php b/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructure.php index bf6f422d..af7dca42 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructure.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructure.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; final class Elf64DynamicStructure { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructureArray.php b/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructureArray.php index 58162e24..a6403230 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructureArray.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64DynamicStructureArray.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; final class Elf64DynamicStructureArray { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64GnuHashTable.php b/src/Lib/Elf/Structure/Elf64/Elf64GnuHashTable.php index 0e6367b0..8e70ba22 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64GnuHashTable.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64GnuHashTable.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; /** * @see https://flapenguin.me/2017/05/10/elf-lookup-dt-gnu-hash/ diff --git a/src/Lib/Elf/Structure/Elf64/Elf64Header.php b/src/Lib/Elf/Structure/Elf64/Elf64Header.php index 519fe52c..1d2f82d0 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64Header.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64Header.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; final class Elf64Header { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderEntry.php b/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderEntry.php index 0fd3a555..011f62b6 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderEntry.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderEntry.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; final class Elf64ProgramHeaderEntry { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderTable.php b/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderTable.php index 3b4caa10..8505ad03 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderTable.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64ProgramHeaderTable.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; final class Elf64ProgramHeaderTable { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderEntry.php b/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderEntry.php index 8d1b7c11..e4cfe762 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderEntry.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderEntry.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; final class Elf64SectionHeaderEntry { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderTable.php b/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderTable.php index d79a9f22..7ce228f7 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderTable.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64SectionHeaderTable.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; final class Elf64SectionHeaderTable { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64StringTable.php b/src/Lib/Elf/Structure/Elf64/Elf64StringTable.php index 366b0f0f..903e3704 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64StringTable.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64StringTable.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; final class Elf64StringTable { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64SymbolTable.php b/src/Lib/Elf/Structure/Elf64/Elf64SymbolTable.php index e6197c5f..b5a74890 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64SymbolTable.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64SymbolTable.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; final class Elf64SymbolTable { diff --git a/src/Lib/Elf/Structure/Elf64/Elf64SymbolTableEntry.php b/src/Lib/Elf/Structure/Elf64/Elf64SymbolTableEntry.php index 8ab822a3..61abc240 100644 --- a/src/Lib/Elf/Structure/Elf64/Elf64SymbolTableEntry.php +++ b/src/Lib/Elf/Structure/Elf64/Elf64SymbolTableEntry.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Integer\UInt64; final class Elf64SymbolTableEntry { diff --git a/src/Lib/Elf/SymbolResolver/Elf64AllSymbolResolver.php b/src/Lib/Elf/SymbolResolver/Elf64AllSymbolResolver.php index 4f200b0c..1a224cc3 100644 --- a/src/Lib/Elf/SymbolResolver/Elf64AllSymbolResolver.php +++ b/src/Lib/Elf/SymbolResolver/Elf64AllSymbolResolver.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; interface Elf64AllSymbolResolver extends Elf64SymbolResolver { diff --git a/src/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolver.php b/src/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolver.php index 65dcef7b..42dddd5e 100644 --- a/src/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolver.php +++ b/src/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolver.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; -use PhpProfiler\Lib\ByteStream\ByteReaderInterface; -use PhpProfiler\Lib\Elf\Parser\Elf64Parser; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64GnuHashTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64StringTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; +use Reli\Lib\ByteStream\ByteReaderInterface; +use Reli\Lib\Elf\Parser\Elf64Parser; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\Structure\Elf64\Elf64GnuHashTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64StringTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; final class Elf64DynamicSymbolResolver implements Elf64SymbolResolver { diff --git a/src/Lib/Elf/SymbolResolver/Elf64LinearScanSymbolResolver.php b/src/Lib/Elf/SymbolResolver/Elf64LinearScanSymbolResolver.php index 4a0241f8..95517586 100644 --- a/src/Lib/Elf/SymbolResolver/Elf64LinearScanSymbolResolver.php +++ b/src/Lib/Elf/SymbolResolver/Elf64LinearScanSymbolResolver.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64StringTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTable; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; +use Reli\Lib\Elf\Structure\Elf64\Elf64StringTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTable; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; final class Elf64LinearScanSymbolResolver implements Elf64AllSymbolResolver { diff --git a/src/Lib/Elf/SymbolResolver/Elf64SymbolResolver.php b/src/Lib/Elf/SymbolResolver/Elf64SymbolResolver.php index e546ccea..ea9f8a66 100644 --- a/src/Lib/Elf/SymbolResolver/Elf64SymbolResolver.php +++ b/src/Lib/Elf/SymbolResolver/Elf64SymbolResolver.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; interface Elf64SymbolResolver { diff --git a/src/Lib/Elf/SymbolResolver/Elf64SymbolResolverCreator.php b/src/Lib/Elf/SymbolResolver/Elf64SymbolResolverCreator.php index 8d5e5899..c0d77a46 100644 --- a/src/Lib/Elf/SymbolResolver/Elf64SymbolResolverCreator.php +++ b/src/Lib/Elf/SymbolResolver/Elf64SymbolResolverCreator.php @@ -1,7 +1,7 @@ * @@ -11,16 +11,16 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; -use PhpProfiler\Lib\ByteStream\ProcessMemoryByteReader; -use PhpProfiler\Lib\ByteStream\StringByteReader; -use PhpProfiler\Lib\ByteStream\UnrelocatedProcessMemoryByteReader; -use PhpProfiler\Lib\Elf\Parser\Elf64Parser; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\File\FileReaderInterface; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\ByteStream\ProcessMemoryByteReader; +use Reli\Lib\ByteStream\StringByteReader; +use Reli\Lib\ByteStream\UnrelocatedProcessMemoryByteReader; +use Reli\Lib\Elf\Parser\Elf64Parser; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\File\FileReaderInterface; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; final class Elf64SymbolResolverCreator implements SymbolResolverCreatorInterface { diff --git a/src/Lib/Elf/SymbolResolver/SymbolResolverCreatorInterface.php b/src/Lib/Elf/SymbolResolver/SymbolResolverCreatorInterface.php index d6a6816a..1aa65eb8 100644 --- a/src/Lib/Elf/SymbolResolver/SymbolResolverCreatorInterface.php +++ b/src/Lib/Elf/SymbolResolver/SymbolResolverCreatorInterface.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; interface SymbolResolverCreatorInterface { diff --git a/src/Lib/Elf/Tls/LibThreadDbTlsFinder.php b/src/Lib/Elf/Tls/LibThreadDbTlsFinder.php index 16082c76..a2b138f7 100644 --- a/src/Lib/Elf/Tls/LibThreadDbTlsFinder.php +++ b/src/Lib/Elf/Tls/LibThreadDbTlsFinder.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Tls; +namespace Reli\Lib\Elf\Tls; -use PhpProfiler\Lib\ByteStream\CDataByteReader; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderInterface; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderException; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\ByteStream\CDataByteReader; +use Reli\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; +use Reli\Lib\Elf\Process\ProcessSymbolReaderInterface; +use Reli\Lib\Elf\Process\ProcessSymbolReaderException; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; /** * This class uses some debugging symbols from libpthread.so, diff --git a/src/Lib/Elf/Tls/ThreadPointerRetrieverInterface.php b/src/Lib/Elf/Tls/ThreadPointerRetrieverInterface.php index b6d671ee..77bfb274 100644 --- a/src/Lib/Elf/Tls/ThreadPointerRetrieverInterface.php +++ b/src/Lib/Elf/Tls/ThreadPointerRetrieverInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Tls; +namespace Reli\Lib\Elf\Tls; interface ThreadPointerRetrieverInterface { diff --git a/src/Lib/Elf/Tls/TlsFinderException.php b/src/Lib/Elf/Tls/TlsFinderException.php index 723b7b06..27b3e297 100644 --- a/src/Lib/Elf/Tls/TlsFinderException.php +++ b/src/Lib/Elf/Tls/TlsFinderException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Tls; +namespace Reli\Lib\Elf\Tls; use Exception; diff --git a/src/Lib/Elf/Tls/TlsFinderInterface.php b/src/Lib/Elf/Tls/TlsFinderInterface.php index cef02bc4..d0b3e344 100644 --- a/src/Lib/Elf/Tls/TlsFinderInterface.php +++ b/src/Lib/Elf/Tls/TlsFinderInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Tls; +namespace Reli\Lib\Elf\Tls; interface TlsFinderInterface { diff --git a/src/Lib/Elf/Tls/X64LinuxThreadPointerRetriever.php b/src/Lib/Elf/Tls/X64LinuxThreadPointerRetriever.php index 62838fcc..c2940f74 100644 --- a/src/Lib/Elf/Tls/X64LinuxThreadPointerRetriever.php +++ b/src/Lib/Elf/Tls/X64LinuxThreadPointerRetriever.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Tls; +namespace Reli\Lib\Elf\Tls; -use PhpProfiler\Lib\Libc\Errno\Errno; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceX64; -use PhpProfiler\Lib\Process\RegisterReader\RegisterReaderException; -use PhpProfiler\Lib\Process\RegisterReader\X64RegisterReader; +use Reli\Lib\Libc\Errno\Errno; +use Reli\Lib\Libc\Sys\Ptrace\PtraceX64; +use Reli\Lib\Process\RegisterReader\RegisterReaderException; +use Reli\Lib\Process\RegisterReader\X64RegisterReader; final class X64LinuxThreadPointerRetriever implements ThreadPointerRetrieverInterface { diff --git a/src/Lib/FFI/CannotAllocateBufferException.php b/src/Lib/FFI/CannotAllocateBufferException.php index 4aa684c4..4f822aec 100644 --- a/src/Lib/FFI/CannotAllocateBufferException.php +++ b/src/Lib/FFI/CannotAllocateBufferException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\FFI; +namespace Reli\Lib\FFI; final class CannotAllocateBufferException extends \Exception { diff --git a/src/Lib/FFI/CannotCastCDataException.php b/src/Lib/FFI/CannotCastCDataException.php index 19d9125c..16284a26 100644 --- a/src/Lib/FFI/CannotCastCDataException.php +++ b/src/Lib/FFI/CannotCastCDataException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\FFI; +namespace Reli\Lib\FFI; final class CannotCastCDataException extends \Exception { diff --git a/src/Lib/FFI/CannotGetTypeForCDataException.php b/src/Lib/FFI/CannotGetTypeForCDataException.php index 2bc7b5db..4e764139 100644 --- a/src/Lib/FFI/CannotGetTypeForCDataException.php +++ b/src/Lib/FFI/CannotGetTypeForCDataException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\FFI; +namespace Reli\Lib\FFI; use Throwable; diff --git a/src/Lib/FFI/CannotLoadCHeaderException.php b/src/Lib/FFI/CannotLoadCHeaderException.php index d772e014..b08f4b22 100644 --- a/src/Lib/FFI/CannotLoadCHeaderException.php +++ b/src/Lib/FFI/CannotLoadCHeaderException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\FFI; +namespace Reli\Lib\FFI; final class CannotLoadCHeaderException extends \Exception { diff --git a/src/Lib/FFI/Cast.php b/src/Lib/FFI/Cast.php index 8297532b..f81e601e 100644 --- a/src/Lib/FFI/Cast.php +++ b/src/Lib/FFI/Cast.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\FFI; +namespace Reli\Lib\FFI; use FFI\CData; use FFI\CInteger; diff --git a/src/Lib/FFI/CastedTypeProvider.php b/src/Lib/FFI/CastedTypeProvider.php index 6ee2cb7c..b27e824c 100644 --- a/src/Lib/FFI/CastedTypeProvider.php +++ b/src/Lib/FFI/CastedTypeProvider.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\FFI; +namespace Reli\Lib\FFI; use FFI\CData; -use PhpProfiler\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\CastedCData; /** * @template T diff --git a/src/Lib/File/CatFileReader.php b/src/Lib/File/CatFileReader.php index 6b8a3bc1..9e97d0b2 100644 --- a/src/Lib/File/CatFileReader.php +++ b/src/Lib/File/CatFileReader.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\File; +namespace Reli\Lib\File; /** * workaround for a problem that PHP cannot open files in /proc//root/ diff --git a/src/Lib/File/FileReaderInterface.php b/src/Lib/File/FileReaderInterface.php index 913f1af1..93f77c7e 100644 --- a/src/Lib/File/FileReaderInterface.php +++ b/src/Lib/File/FileReaderInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\File; +namespace Reli\Lib\File; interface FileReaderInterface { diff --git a/src/Lib/File/NativeFileReader.php b/src/Lib/File/NativeFileReader.php index aa91a20e..722d8c96 100644 --- a/src/Lib/File/NativeFileReader.php +++ b/src/Lib/File/NativeFileReader.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\File; +namespace Reli\Lib\File; use FFI; -use PhpProfiler\Lib\FFI\CannotAllocateBufferException; +use Reli\Lib\FFI\CannotAllocateBufferException; class NativeFileReader implements FileReaderInterface { diff --git a/src/Lib/Integer/UInt64.php b/src/Lib/Integer/UInt64.php index 62fbbb38..6b0def25 100644 --- a/src/Lib/Integer/UInt64.php +++ b/src/Lib/Integer/UInt64.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Integer; +namespace Reli\Lib\Integer; final class UInt64 { diff --git a/src/Lib/Libc/Addressable.php b/src/Lib/Libc/Addressable.php index d2da60c9..d22d4f61 100644 --- a/src/Lib/Libc/Addressable.php +++ b/src/Lib/Libc/Addressable.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Libc; +namespace Reli\Lib\Libc; use FFI\CData; diff --git a/src/Lib/Libc/Errno/Errno.php b/src/Lib/Libc/Errno/Errno.php index f1a60e08..d30aa877 100644 --- a/src/Lib/Libc/Errno/Errno.php +++ b/src/Lib/Libc/Errno/Errno.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Libc\Errno; +namespace Reli\Lib\Libc\Errno; class Errno { diff --git a/src/Lib/Libc/Sys/Ptrace/Ptrace.php b/src/Lib/Libc/Sys/Ptrace/Ptrace.php index e27371d8..772ad5fb 100644 --- a/src/Lib/Libc/Sys/Ptrace/Ptrace.php +++ b/src/Lib/Libc/Sys/Ptrace/Ptrace.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Libc\Sys\Ptrace; +namespace Reli\Lib\Libc\Sys\Ptrace; use FFI\CData; -use PhpProfiler\Lib\Libc\Addressable; +use Reli\Lib\Libc\Addressable; interface Ptrace { diff --git a/src/Lib/Libc/Sys/Ptrace/PtraceRequest.php b/src/Lib/Libc/Sys/Ptrace/PtraceRequest.php index 61548f1d..ecf3cb94 100644 --- a/src/Lib/Libc/Sys/Ptrace/PtraceRequest.php +++ b/src/Lib/Libc/Sys/Ptrace/PtraceRequest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Libc\Sys\Ptrace; +namespace Reli\Lib\Libc\Sys\Ptrace; use MyCLabs\Enum\Enum; diff --git a/src/Lib/Libc/Sys/Ptrace/PtraceX64.php b/src/Lib/Libc/Sys/Ptrace/PtraceX64.php index fc9b856f..f04f8289 100644 --- a/src/Lib/Libc/Sys/Ptrace/PtraceX64.php +++ b/src/Lib/Libc/Sys/Ptrace/PtraceX64.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Libc\Sys\Ptrace; +namespace Reli\Lib\Libc\Sys\Ptrace; use FFI\CData; use FFI\CInteger; -use PhpProfiler\Lib\FFI\CannotAllocateBufferException; -use PhpProfiler\Lib\FFI\CannotCastCDataException; -use PhpProfiler\Lib\Libc\Addressable; +use Reli\Lib\FFI\CannotAllocateBufferException; +use Reli\Lib\FFI\CannotCastCDataException; +use Reli\Lib\Libc\Addressable; class PtraceX64 implements Ptrace { diff --git a/src/Lib/Libc/Unistd/Execvp.php b/src/Lib/Libc/Unistd/Execvp.php index 326c152d..2bb51470 100644 --- a/src/Lib/Libc/Unistd/Execvp.php +++ b/src/Lib/Libc/Unistd/Execvp.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Libc\Unistd; +namespace Reli\Lib\Libc\Unistd; use FFI\CInteger; diff --git a/src/Lib/Log/Log.php b/src/Lib/Log/Log.php index 2962714d..dc830683 100644 --- a/src/Lib/Log/Log.php +++ b/src/Lib/Log/Log.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log; +namespace Reli\Lib\Log; -use PhpProfiler\Lib\Log\StateCollector\NullStateCollector; -use PhpProfiler\Lib\Log\StateCollector\StateCollector; +use Reli\Lib\Log\StateCollector\NullStateCollector; +use Reli\Lib\Log\StateCollector\StateCollector; use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; use Psr\Log\NullLogger; diff --git a/src/Lib/Log/StateCollector/CallerStateCollector.php b/src/Lib/Log/StateCollector/CallerStateCollector.php index 9697309d..3d22ff23 100644 --- a/src/Lib/Log/StateCollector/CallerStateCollector.php +++ b/src/Lib/Log/StateCollector/CallerStateCollector.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; -use PhpProfiler\Lib\Log\Log; +use Reli\Lib\Log\Log; use function debug_backtrace; diff --git a/src/Lib/Log/StateCollector/GroupedStateCollector.php b/src/Lib/Log/StateCollector/GroupedStateCollector.php index 06873a6c..4038dc83 100644 --- a/src/Lib/Log/StateCollector/GroupedStateCollector.php +++ b/src/Lib/Log/StateCollector/GroupedStateCollector.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; final class GroupedStateCollector implements StateCollector { diff --git a/src/Lib/Log/StateCollector/NullStateCollector.php b/src/Lib/Log/StateCollector/NullStateCollector.php index 3c3849dc..c0c35b31 100644 --- a/src/Lib/Log/StateCollector/NullStateCollector.php +++ b/src/Lib/Log/StateCollector/NullStateCollector.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; final class NullStateCollector implements StateCollector { diff --git a/src/Lib/Log/StateCollector/ProcessStateCollector.php b/src/Lib/Log/StateCollector/ProcessStateCollector.php index 19c5d356..98bd1d10 100644 --- a/src/Lib/Log/StateCollector/ProcessStateCollector.php +++ b/src/Lib/Log/StateCollector/ProcessStateCollector.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; use function getmypid; use function memory_get_peak_usage; diff --git a/src/Lib/Log/StateCollector/StateCollector.php b/src/Lib/Log/StateCollector/StateCollector.php index 64101742..0125c280 100644 --- a/src/Lib/Log/StateCollector/StateCollector.php +++ b/src/Lib/Log/StateCollector/StateCollector.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; interface StateCollector { diff --git a/src/Lib/Loop/AsyncLoop.php b/src/Lib/Loop/AsyncLoop.php index 248c5e4b..41b37117 100644 --- a/src/Lib/Loop/AsyncLoop.php +++ b/src/Lib/Loop/AsyncLoop.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; final class AsyncLoop { diff --git a/src/Lib/Loop/AsyncLoopBuilder.php b/src/Lib/Loop/AsyncLoopBuilder.php index 9ded5f41..c3bb6a72 100644 --- a/src/Lib/Loop/AsyncLoopBuilder.php +++ b/src/Lib/Loop/AsyncLoopBuilder.php @@ -1,7 +1,7 @@ * @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; use LogicException; diff --git a/src/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsync.php b/src/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsync.php index 55854fc8..fe51b8ca 100644 --- a/src/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsync.php +++ b/src/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsync.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\AsyncLoopMiddleware; +namespace Reli\Lib\Loop\AsyncLoopMiddleware; -use PhpProfiler\Lib\Loop\AsyncLoopMiddlewareInterface; +use Reli\Lib\Loop\AsyncLoopMiddlewareInterface; final class CallableMiddlewareAsync implements AsyncLoopMiddlewareInterface { diff --git a/src/Lib/Loop/AsyncLoopMiddleware/NanoSleepMiddlewareAsync.php b/src/Lib/Loop/AsyncLoopMiddleware/NanoSleepMiddlewareAsync.php index 9d1cba52..7cfeee14 100644 --- a/src/Lib/Loop/AsyncLoopMiddleware/NanoSleepMiddlewareAsync.php +++ b/src/Lib/Loop/AsyncLoopMiddleware/NanoSleepMiddlewareAsync.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\AsyncLoopMiddleware; +namespace Reli\Lib\Loop\AsyncLoopMiddleware; -use PhpProfiler\Lib\Loop\AsyncLoopMiddlewareInterface; +use Reli\Lib\Loop\AsyncLoopMiddlewareInterface; use function hrtime; use function time_nanosleep; diff --git a/src/Lib/Loop/AsyncLoopMiddleware/RetryOnExceptionMiddlewareAsync.php b/src/Lib/Loop/AsyncLoopMiddleware/RetryOnExceptionMiddlewareAsync.php index 14de7393..2aba9238 100644 --- a/src/Lib/Loop/AsyncLoopMiddleware/RetryOnExceptionMiddlewareAsync.php +++ b/src/Lib/Loop/AsyncLoopMiddleware/RetryOnExceptionMiddlewareAsync.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\AsyncLoopMiddleware; +namespace Reli\Lib\Loop\AsyncLoopMiddleware; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\Lib\Loop\AsyncLoopMiddlewareInterface; +use Reli\Lib\Log\Log; +use Reli\Lib\Loop\AsyncLoopMiddlewareInterface; use Throwable; final class RetryOnExceptionMiddlewareAsync implements AsyncLoopMiddlewareInterface diff --git a/src/Lib/Loop/AsyncLoopMiddlewareInterface.php b/src/Lib/Loop/AsyncLoopMiddlewareInterface.php index 56bf3dc3..11aaecb6 100644 --- a/src/Lib/Loop/AsyncLoopMiddlewareInterface.php +++ b/src/Lib/Loop/AsyncLoopMiddlewareInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; interface AsyncLoopMiddlewareInterface { diff --git a/src/Lib/Loop/Loop.php b/src/Lib/Loop/Loop.php index cb5b97f0..c53c7d72 100644 --- a/src/Lib/Loop/Loop.php +++ b/src/Lib/Loop/Loop.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; final class Loop { diff --git a/src/Lib/Loop/LoopBuilder.php b/src/Lib/Loop/LoopBuilder.php index 2cc2149d..42b2ebe4 100644 --- a/src/Lib/Loop/LoopBuilder.php +++ b/src/Lib/Loop/LoopBuilder.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; use LogicException; diff --git a/src/Lib/Loop/LoopMiddleware/CallableMiddleware.php b/src/Lib/Loop/LoopMiddleware/CallableMiddleware.php index 939a5241..fed098b1 100644 --- a/src/Lib/Loop/LoopMiddleware/CallableMiddleware.php +++ b/src/Lib/Loop/LoopMiddleware/CallableMiddleware.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddlewareInterface; +use Reli\Lib\Loop\LoopMiddlewareInterface; final class CallableMiddleware implements LoopMiddlewareInterface { diff --git a/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php b/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php index 528e6fc1..b8eb6f19 100644 --- a/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php +++ b/src/Lib/Loop/LoopMiddleware/KeyboardCancelMiddleware.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; -use PhpProfiler\Lib\Console\EchoBackCanceller; -use PhpProfiler\Lib\Loop\LoopMiddlewareInterface; +use Reli\Lib\Console\EchoBackCanceller; +use Reli\Lib\Loop\LoopMiddlewareInterface; final class KeyboardCancelMiddleware implements LoopMiddlewareInterface { diff --git a/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php b/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php index 9e54c1f9..0e879391 100644 --- a/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php +++ b/src/Lib/Loop/LoopMiddleware/NanoSleepMiddleware.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddlewareInterface; +use Reli\Lib\Loop\LoopMiddlewareInterface; use function hrtime; use function time_nanosleep; diff --git a/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php b/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php index cb7948ec..5ddc8e9e 100644 --- a/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php +++ b/src/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddleware.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\Lib\Loop\LoopMiddlewareInterface; +use Reli\Lib\Log\Log; +use Reli\Lib\Loop\LoopMiddlewareInterface; use Throwable; final class RetryOnExceptionMiddleware implements LoopMiddlewareInterface diff --git a/src/Lib/Loop/LoopMiddlewareInterface.php b/src/Lib/Loop/LoopMiddlewareInterface.php index 9620d82c..05e8937d 100644 --- a/src/Lib/Loop/LoopMiddlewareInterface.php +++ b/src/Lib/Loop/LoopMiddlewareInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; interface LoopMiddlewareInterface { diff --git a/src/Lib/PhpInternals/CastedCData.php b/src/Lib/PhpInternals/CastedCData.php index 46c81698..6d4733a2 100644 --- a/src/Lib/PhpInternals/CastedCData.php +++ b/src/Lib/PhpInternals/CastedCData.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals; +namespace Reli\Lib\PhpInternals; use FFI\CData; diff --git a/src/Lib/PhpInternals/Opcodes/Opcode.php b/src/Lib/PhpInternals/Opcodes/Opcode.php index bafc9fdb..8845ec42 100644 --- a/src/Lib/PhpInternals/Opcodes/Opcode.php +++ b/src/Lib/PhpInternals/Opcodes/Opcode.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ interface Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeFactory.php b/src/Lib/PhpInternals/Opcodes/OpcodeFactory.php index 931075cc..50212b97 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeFactory.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeFactory.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; final class OpcodeFactory { diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV70.php b/src/Lib/PhpInternals/Opcodes/OpcodeV70.php index 3ff0bc24..c7480859 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV70.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV70.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV70 implements Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV71.php b/src/Lib/PhpInternals/Opcodes/OpcodeV71.php index d733d24c..0719270b 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV71.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV71.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV71 implements Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV72.php b/src/Lib/PhpInternals/Opcodes/OpcodeV72.php index 711432da..5938177a 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV72.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV72.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV72 implements Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV73.php b/src/Lib/PhpInternals/Opcodes/OpcodeV73.php index 9068642f..0a22ff9a 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV73.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV73.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV73 implements Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV74.php b/src/Lib/PhpInternals/Opcodes/OpcodeV74.php index a02908b4..8e4301d0 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV74.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV74.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV74 implements Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV80.php b/src/Lib/PhpInternals/Opcodes/OpcodeV80.php index 360cd0c0..dec0ece9 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV80.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV80.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV80 implements Opcode diff --git a/src/Lib/PhpInternals/Opcodes/OpcodeV81.php b/src/Lib/PhpInternals/Opcodes/OpcodeV81.php index dbfdb636..060fd191 100644 --- a/src/Lib/PhpInternals/Opcodes/OpcodeV81.php +++ b/src/Lib/PhpInternals/Opcodes/OpcodeV81.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; /** @psalm-immutable */ final class OpcodeV81 implements Opcode diff --git a/src/Lib/PhpInternals/Types/C/RawDouble.php b/src/Lib/PhpInternals/Types/C/RawDouble.php index 1d10cd90..58c3a0b7 100644 --- a/src/Lib/PhpInternals/Types/C/RawDouble.php +++ b/src/Lib/PhpInternals/Types/C/RawDouble.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\C; +namespace Reli\Lib\PhpInternals\Types\C; use FFI\CInteger; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class RawDouble implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/C/RawInt32.php b/src/Lib/PhpInternals/Types/C/RawInt32.php index 57419bc7..9876b53a 100644 --- a/src/Lib/PhpInternals/Types/C/RawInt32.php +++ b/src/Lib/PhpInternals/Types/C/RawInt32.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\C; +namespace Reli\Lib\PhpInternals\Types\C; use FFI\CInteger; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class RawInt32 implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/C/RawString.php b/src/Lib/PhpInternals/Types/C/RawString.php index 40b7e77a..96fbdb2d 100644 --- a/src/Lib/PhpInternals/Types/C/RawString.php +++ b/src/Lib/PhpInternals/Types/C/RawString.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\C; +namespace Reli\Lib\PhpInternals\Types\C; use FFI\CData; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class RawString implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Php/SapiGlobalsStruct.php b/src/Lib/PhpInternals/Types/Php/SapiGlobalsStruct.php index 65c945cd..89952d36 100644 --- a/src/Lib/PhpInternals/Types/Php/SapiGlobalsStruct.php +++ b/src/Lib/PhpInternals/Types/Php/SapiGlobalsStruct.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Php; +namespace Reli\Lib\PhpInternals\Types\Php; use FFI\PhpInternals\sapi_globals_struct; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class SapiGlobalsStruct implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/Bucket.php b/src/Lib/PhpInternals/Types/Zend/Bucket.php index 0fe7a009..dcb6e2e2 100644 --- a/src/Lib/PhpInternals/Types/Zend/Bucket.php +++ b/src/Lib/PhpInternals/Types/Zend/Bucket.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\Bucket as ZendBucket; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class Bucket implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/Opline.php b/src/Lib/PhpInternals/Types/Zend/Opline.php index 164b2a05..3cc15203 100644 --- a/src/Lib/PhpInternals/Types/Zend/Opline.php +++ b/src/Lib/PhpInternals/Types/Zend/Opline.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; -use PhpProfiler\Lib\PhpInternals\Opcodes\Opcode; +use Reli\Lib\PhpInternals\Opcodes\Opcode; /** @psalm-immutable */ final class Opline diff --git a/src/Lib/PhpInternals/Types/Zend/ZendArray.php b/src/Lib/PhpInternals/Types/Zend/ZendArray.php index e484afcf..1bdcc72d 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendArray.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendArray.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_array; use FFI\PhpInternals\zend_hash_func_ffi; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\PhpInternals\Types\C\RawInt32; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\Types\C\RawInt32; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; /** * struct _zend_array { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendCastedTypeProvider.php b/src/Lib/PhpInternals/Types/Zend/ZendCastedTypeProvider.php index cc58ab6e..a0b9db43 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendCastedTypeProvider.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendCastedTypeProvider.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; -use PhpProfiler\Lib\FFI\CastedTypeProvider; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\FFI\CastedTypeProvider; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\ZendTypeReader; class ZendCastedTypeProvider implements CastedTypeProvider { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendClassEntry.php b/src/Lib/PhpInternals/Types/Zend/ZendClassEntry.php index 87189d78..86f16852 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendClassEntry.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendClassEntry.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_class_entry; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; final class ZendClassEntry implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendExecuteData.php b/src/Lib/PhpInternals/Types/Zend/ZendExecuteData.php index 797b0995..9da57ea3 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendExecuteData.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendExecuteData.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_execute_data; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; final class ZendExecuteData implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendExecutorGlobals.php b/src/Lib/PhpInternals/Types/Zend/ZendExecutorGlobals.php index 52c18bae..cf14147b 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendExecutorGlobals.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendExecutorGlobals.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_executor_globals; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class ZendExecutorGlobals implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendFunction.php b/src/Lib/PhpInternals/Types/Zend/ZendFunction.php index 33e19c8e..2bbd65e8 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendFunction.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendFunction.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_function; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; final class ZendFunction implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendModuleEntry.php b/src/Lib/PhpInternals/Types/Zend/ZendModuleEntry.php index 5b4b7a7c..76e9ce25 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendModuleEntry.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendModuleEntry.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_module_entry; -use PhpProfiler\Lib\FFI\Cast; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\PhpInternals\Types\C\RawString; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\FFI\Cast; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\Types\C\RawString; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; final class ZendModuleEntry implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendOp.php b/src/Lib/PhpInternals/Types/Zend/ZendOp.php index 6a1594b4..2017ae05 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendOp.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendOp.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_op; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class ZendOp implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendOpArray.php b/src/Lib/PhpInternals/Types/Zend/ZendOpArray.php index ec319830..f275a355 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendOpArray.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendOpArray.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; use FFI\PhpInternals\zend_op_array; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; class ZendOpArray { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendString.php b/src/Lib/PhpInternals/Types/Zend/ZendString.php index c6c75259..1378a5e5 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendString.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendString.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\PhpInternals\zend_string; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\PhpInternals\Types\C\RawString; -use PhpProfiler\Lib\Process\Pointer\Dereferencable; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\Types\C\RawString; +use Reli\Lib\Process\Pointer\Dereferencable; +use Reli\Lib\Process\Pointer\Pointer; final class ZendString implements Dereferencable { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendValue.php b/src/Lib/PhpInternals/Types/Zend/ZendValue.php index b0d0cc8e..df1a0faf 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendValue.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendValue.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\Pointer; class ZendValue { diff --git a/src/Lib/PhpInternals/Types/Zend/ZendValueWw.php b/src/Lib/PhpInternals/Types/Zend/ZendValueWw.php index ab8471d2..840b27b2 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZendValueWw.php +++ b/src/Lib/PhpInternals/Types/Zend/ZendValueWw.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; use FFI\PhpInternals\zend_value_ww; diff --git a/src/Lib/PhpInternals/Types/Zend/Zval.php b/src/Lib/PhpInternals/Types/Zend/Zval.php index d51c2742..c20f7a58 100644 --- a/src/Lib/PhpInternals/Types/Zend/Zval.php +++ b/src/Lib/PhpInternals/Types/Zend/Zval.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; diff --git a/src/Lib/PhpInternals/Types/Zend/ZvalU1.php b/src/Lib/PhpInternals/Types/Zend/ZvalU1.php index 94fb453f..9dd2d90d 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZvalU1.php +++ b/src/Lib/PhpInternals/Types/Zend/ZvalU1.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; use FFI\PhpInternals\zval_u1; diff --git a/src/Lib/PhpInternals/Types/Zend/ZvalU2.php b/src/Lib/PhpInternals/Types/Zend/ZvalU2.php index b25b1fe0..350a3838 100644 --- a/src/Lib/PhpInternals/Types/Zend/ZvalU2.php +++ b/src/Lib/PhpInternals/Types/Zend/ZvalU2.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; use FFI\CData; diff --git a/src/Lib/PhpInternals/ZendTypeReader.php b/src/Lib/PhpInternals/ZendTypeReader.php index 333aa9f4..aec665be 100644 --- a/src/Lib/PhpInternals/ZendTypeReader.php +++ b/src/Lib/PhpInternals/ZendTypeReader.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals; +namespace Reli\Lib\PhpInternals; use FFI; use FFI\CData; -use PhpProfiler\Lib\FFI\CannotAllocateBufferException; -use PhpProfiler\Lib\FFI\CannotCastCDataException; -use PhpProfiler\Lib\FFI\CannotGetTypeForCDataException; -use PhpProfiler\Lib\FFI\CannotLoadCHeaderException; +use Reli\Lib\FFI\CannotAllocateBufferException; +use Reli\Lib\FFI\CannotCastCDataException; +use Reli\Lib\FFI\CannotGetTypeForCDataException; +use Reli\Lib\FFI\CannotLoadCHeaderException; use Webmozart\Assert\Assert; final class ZendTypeReader diff --git a/src/Lib/PhpInternals/ZendTypeReaderCreator.php b/src/Lib/PhpInternals/ZendTypeReaderCreator.php index 8a5d6ec9..f55028e4 100644 --- a/src/Lib/PhpInternals/ZendTypeReaderCreator.php +++ b/src/Lib/PhpInternals/ZendTypeReaderCreator.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals; +namespace Reli\Lib\PhpInternals; final class ZendTypeReaderCreator { diff --git a/src/Lib/PhpProcessReader/CallFrame.php b/src/Lib/PhpProcessReader/CallFrame.php index f7c7e7cc..e0d58ecc 100644 --- a/src/Lib/PhpProcessReader/CallFrame.php +++ b/src/Lib/PhpProcessReader/CallFrame.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Lib\PhpInternals\Types\Zend\Opline; +use Reli\Lib\PhpInternals\Types\Zend\Opline; /** @psalm-immutable */ final class CallFrame diff --git a/src/Lib/PhpProcessReader/CallTrace.php b/src/Lib/PhpProcessReader/CallTrace.php index 7ce44336..b9c046d7 100644 --- a/src/Lib/PhpProcessReader/CallTrace.php +++ b/src/Lib/PhpProcessReader/CallTrace.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; /** @psalm-immutable */ final class CallTrace diff --git a/src/Lib/PhpProcessReader/PhpBinaryFinder.php b/src/Lib/PhpProcessReader/PhpBinaryFinder.php index 8325280c..fd3a35af 100644 --- a/src/Lib/PhpProcessReader/PhpBinaryFinder.php +++ b/src/Lib/PhpProcessReader/PhpBinaryFinder.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; final class PhpBinaryFinder { diff --git a/src/Lib/PhpProcessReader/PhpGlobalsFinder.php b/src/Lib/PhpProcessReader/PhpGlobalsFinder.php index 1330c8b2..45df7a85 100644 --- a/src/Lib/PhpProcessReader/PhpGlobalsFinder.php +++ b/src/Lib/PhpProcessReader/PhpGlobalsFinder.php @@ -1,7 +1,7 @@ * @@ -11,19 +11,19 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; -use PhpProfiler\Lib\ByteStream\CDataByteReader; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderException; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderInterface; -use PhpProfiler\Lib\Elf\Tls\TlsFinderException; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; +use Reli\Lib\ByteStream\CDataByteReader; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\Process\ProcessSymbolReaderException; +use Reli\Lib\Elf\Process\ProcessSymbolReaderInterface; +use Reli\Lib\Elf\Tls\TlsFinderException; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\ProcessSpecifier; use RuntimeException; class PhpGlobalsFinder diff --git a/src/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReader.php b/src/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReader.php index 66298b03..deae5b4a 100644 --- a/src/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReader.php +++ b/src/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReader.php @@ -1,7 +1,7 @@ * @@ -11,27 +11,27 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader\PhpMemoryReader; - -use PhpProfiler\Lib\PhpInternals\Opcodes\OpcodeFactory; -use PhpProfiler\Lib\PhpInternals\Types\C\RawDouble; -use PhpProfiler\Lib\PhpInternals\Types\Zend\Opline; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendCastedTypeProvider; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendExecuteData; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendExecutorGlobals; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendFunction; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendOp; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\PhpInternals\ZendTypeReaderCreator; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; -use PhpProfiler\Lib\PhpProcessReader\TraceCache; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; -use PhpProfiler\Lib\Process\Pointer\RemoteProcessDereferencer; -use PhpProfiler\Lib\Process\ProcessSpecifier; +namespace Reli\Lib\PhpProcessReader\PhpMemoryReader; + +use Reli\Lib\PhpInternals\Opcodes\OpcodeFactory; +use Reli\Lib\PhpInternals\Types\C\RawDouble; +use Reli\Lib\PhpInternals\Types\Zend\Opline; +use Reli\Lib\PhpInternals\Types\Zend\ZendCastedTypeProvider; +use Reli\Lib\PhpInternals\Types\Zend\ZendExecuteData; +use Reli\Lib\PhpInternals\Types\Zend\ZendExecutorGlobals; +use Reli\Lib\PhpInternals\Types\Zend\ZendFunction; +use Reli\Lib\PhpInternals\Types\Zend\ZendOp; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReaderCreator; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\TraceCache; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\RemoteProcessDereferencer; +use Reli\Lib\Process\ProcessSpecifier; final class CallTraceReader { diff --git a/src/Lib/PhpProcessReader/PhpSymbolReaderCreator.php b/src/Lib/PhpProcessReader/PhpSymbolReaderCreator.php index 47a84781..202316da 100644 --- a/src/Lib/PhpProcessReader/PhpSymbolReaderCreator.php +++ b/src/Lib/PhpProcessReader/PhpSymbolReaderCreator.php @@ -1,7 +1,7 @@ * @@ -11,19 +11,19 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\Process\ProcessModuleSymbolReader; -use PhpProfiler\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderException; -use PhpProfiler\Lib\Elf\Tls\LibThreadDbTlsFinder; -use PhpProfiler\Lib\Elf\Tls\TlsFinderException; -use PhpProfiler\Lib\Elf\Tls\X64LinuxThreadPointerRetriever; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryMapCreator; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderException; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\ByteStream\IntegerByteSequence\IntegerByteSequenceReader; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\Process\ProcessModuleSymbolReader; +use Reli\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; +use Reli\Lib\Elf\Process\ProcessSymbolReaderException; +use Reli\Lib\Elf\Tls\LibThreadDbTlsFinder; +use Reli\Lib\Elf\Tls\TlsFinderException; +use Reli\Lib\Elf\Tls\X64LinuxThreadPointerRetriever; +use Reli\Lib\Process\MemoryMap\ProcessMemoryMapCreator; +use Reli\Lib\Process\MemoryReader\MemoryReaderException; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; final class PhpSymbolReaderCreator { diff --git a/src/Lib/PhpProcessReader/PhpVersionDetector.php b/src/Lib/PhpProcessReader/PhpVersionDetector.php index c50962cd..7a301e88 100644 --- a/src/Lib/PhpProcessReader/PhpVersionDetector.php +++ b/src/Lib/PhpProcessReader/PhpVersionDetector.php @@ -1,7 +1,7 @@ * @@ -11,19 +11,19 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendArray; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendCastedTypeProvider; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendModuleEntry; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\PhpInternals\ZendTypeReaderCreator; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; -use PhpProfiler\Lib\Process\Pointer\RemoteProcessDereferencer; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\PhpInternals\Types\Zend\ZendArray; +use Reli\Lib\PhpInternals\Types\Zend\ZendCastedTypeProvider; +use Reli\Lib\PhpInternals\Types\Zend\ZendModuleEntry; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReaderCreator; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\RemoteProcessDereferencer; +use Reli\Lib\Process\ProcessSpecifier; use Webmozart\Assert\Assert; class PhpVersionDetector diff --git a/src/Lib/PhpProcessReader/TraceCache.php b/src/Lib/PhpProcessReader/TraceCache.php index 4e8f6548..390b8c98 100644 --- a/src/Lib/PhpProcessReader/TraceCache.php +++ b/src/Lib/PhpProcessReader/TraceCache.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Lib\Process\Pointer\Dereferencer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\Dereferencer; +use Reli\Lib\Process\Pointer\Pointer; final class TraceCache { - /** @param array> $cache */ + /** @param array> $cache */ public function __construct( private float $key = 0, private array $cache = [], @@ -63,7 +63,7 @@ public function deref(Pointer $pointer): mixed } /** - * @template T of \PhpProfiler\Lib\Process\Pointer\Dereferencable + * @template T of \Reli\Lib\Process\Pointer\Dereferencable * @param Pointer $pointer * @param T $item */ @@ -73,7 +73,7 @@ public function setCache(Pointer $pointer, mixed $item): void } /** - * @template T of \PhpProfiler\Lib\Process\Pointer\Dereferencable + * @template T of \Reli\Lib\Process\Pointer\Dereferencable * @param Pointer $pointer * @return T|null */ diff --git a/src/Lib/Process/Exec/Internal/Pcntl.php b/src/Lib/Process/Exec/Internal/Pcntl.php index c2543557..589d9e04 100644 --- a/src/Lib/Process/Exec/Internal/Pcntl.php +++ b/src/Lib/Process/Exec/Internal/Pcntl.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Exec\Internal; +namespace Reli\Lib\Process\Exec\Internal; class Pcntl { diff --git a/src/Lib/Process/Exec/TraceeExecutor.php b/src/Lib/Process/Exec/TraceeExecutor.php index 9762ffb5..710ebd6e 100644 --- a/src/Lib/Process/Exec/TraceeExecutor.php +++ b/src/Lib/Process/Exec/TraceeExecutor.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Exec; +namespace Reli\Lib\Process\Exec; -use PhpProfiler\Lib\Libc\Errno\Errno; -use PhpProfiler\Lib\Libc\Sys\Ptrace\Ptrace; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceRequest; -use PhpProfiler\Lib\Libc\Unistd\Execvp; -use PhpProfiler\Lib\Process\Exec\Internal\Pcntl; -use PhpProfiler\Lib\System\OnShutdown; +use Reli\Lib\Libc\Errno\Errno; +use Reli\Lib\Libc\Sys\Ptrace\Ptrace; +use Reli\Lib\Libc\Sys\Ptrace\PtraceRequest; +use Reli\Lib\Libc\Unistd\Execvp; +use Reli\Lib\Process\Exec\Internal\Pcntl; +use Reli\Lib\System\OnShutdown; class TraceeExecutor { diff --git a/src/Lib/Process/Exec/TraceeExecutorException.php b/src/Lib/Process/Exec/TraceeExecutorException.php index b9b8966f..970cebc3 100644 --- a/src/Lib/Process/Exec/TraceeExecutorException.php +++ b/src/Lib/Process/Exec/TraceeExecutorException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Exec; +namespace Reli\Lib\Process\Exec; class TraceeExecutorException extends \Exception { diff --git a/src/Lib/Process/MemoryMap/ProcessMemoryArea.php b/src/Lib/Process/MemoryMap/ProcessMemoryArea.php index e935b531..ac0e2b6a 100644 --- a/src/Lib/Process/MemoryMap/ProcessMemoryArea.php +++ b/src/Lib/Process/MemoryMap/ProcessMemoryArea.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; final class ProcessMemoryArea { diff --git a/src/Lib/Process/MemoryMap/ProcessMemoryAttribute.php b/src/Lib/Process/MemoryMap/ProcessMemoryAttribute.php index 90c861ff..dc7ba0c9 100644 --- a/src/Lib/Process/MemoryMap/ProcessMemoryAttribute.php +++ b/src/Lib/Process/MemoryMap/ProcessMemoryAttribute.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; final class ProcessMemoryAttribute { diff --git a/src/Lib/Process/MemoryMap/ProcessMemoryMap.php b/src/Lib/Process/MemoryMap/ProcessMemoryMap.php index b2c37584..2d85f18c 100644 --- a/src/Lib/Process/MemoryMap/ProcessMemoryMap.php +++ b/src/Lib/Process/MemoryMap/ProcessMemoryMap.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; final class ProcessMemoryMap { diff --git a/src/Lib/Process/MemoryMap/ProcessMemoryMapCreator.php b/src/Lib/Process/MemoryMap/ProcessMemoryMapCreator.php index a1f659c8..c0ffbf66 100644 --- a/src/Lib/Process/MemoryMap/ProcessMemoryMapCreator.php +++ b/src/Lib/Process/MemoryMap/ProcessMemoryMapCreator.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; -use PhpProfiler\Lib\String\LineFetcher; +use Reli\Lib\String\LineFetcher; final class ProcessMemoryMapCreator { diff --git a/src/Lib/Process/MemoryMap/ProcessMemoryMapParser.php b/src/Lib/Process/MemoryMap/ProcessMemoryMapParser.php index dd55852f..0dbe9deb 100644 --- a/src/Lib/Process/MemoryMap/ProcessMemoryMapParser.php +++ b/src/Lib/Process/MemoryMap/ProcessMemoryMapParser.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; -use PhpProfiler\Lib\String\LineFetcher; +use Reli\Lib\String\LineFetcher; final class ProcessMemoryMapParser { diff --git a/src/Lib/Process/MemoryMap/ProcessMemoryMapReader.php b/src/Lib/Process/MemoryMap/ProcessMemoryMapReader.php index c34a9974..2305179d 100644 --- a/src/Lib/Process/MemoryMap/ProcessMemoryMapReader.php +++ b/src/Lib/Process/MemoryMap/ProcessMemoryMapReader.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; final class ProcessMemoryMapReader { diff --git a/src/Lib/Process/MemoryMap/ProcessModuleMemoryMap.php b/src/Lib/Process/MemoryMap/ProcessModuleMemoryMap.php index 2ec7e940..5c2322cb 100644 --- a/src/Lib/Process/MemoryMap/ProcessModuleMemoryMap.php +++ b/src/Lib/Process/MemoryMap/ProcessModuleMemoryMap.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; final class ProcessModuleMemoryMap implements ProcessModuleMemoryMapInterface { diff --git a/src/Lib/Process/MemoryMap/ProcessModuleMemoryMapInterface.php b/src/Lib/Process/MemoryMap/ProcessModuleMemoryMapInterface.php index 6c223ea7..8912f918 100644 --- a/src/Lib/Process/MemoryMap/ProcessModuleMemoryMapInterface.php +++ b/src/Lib/Process/MemoryMap/ProcessModuleMemoryMapInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; interface ProcessModuleMemoryMapInterface { diff --git a/src/Lib/Process/MemoryReader/MemoryReader.php b/src/Lib/Process/MemoryReader/MemoryReader.php index e60348b1..e0c5df45 100644 --- a/src/Lib/Process/MemoryReader/MemoryReader.php +++ b/src/Lib/Process/MemoryReader/MemoryReader.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryReader; +namespace Reli\Lib\Process\MemoryReader; use FFI; use FFI\CData; -use PhpProfiler\Lib\FFI\CannotAllocateBufferException; +use Reli\Lib\FFI\CannotAllocateBufferException; final class MemoryReader implements MemoryReaderInterface { diff --git a/src/Lib/Process/MemoryReader/MemoryReaderException.php b/src/Lib/Process/MemoryReader/MemoryReaderException.php index b67cc429..f4c99055 100644 --- a/src/Lib/Process/MemoryReader/MemoryReaderException.php +++ b/src/Lib/Process/MemoryReader/MemoryReaderException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryReader; +namespace Reli\Lib\Process\MemoryReader; final class MemoryReaderException extends \Exception { diff --git a/src/Lib/Process/MemoryReader/MemoryReaderInterface.php b/src/Lib/Process/MemoryReader/MemoryReaderInterface.php index 69a21348..58dbfba7 100644 --- a/src/Lib/Process/MemoryReader/MemoryReaderInterface.php +++ b/src/Lib/Process/MemoryReader/MemoryReaderInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryReader; +namespace Reli\Lib\Process\MemoryReader; use FFI\CData; diff --git a/src/Lib/Process/Pointer/Dereferencable.php b/src/Lib/Process/Pointer/Dereferencable.php index ce0cb3f2..e8fd461a 100644 --- a/src/Lib/Process/Pointer/Dereferencable.php +++ b/src/Lib/Process/Pointer/Dereferencable.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Pointer; +namespace Reli\Lib\Process\Pointer; use FFI\CData; -use PhpProfiler\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\CastedCData; interface Dereferencable { diff --git a/src/Lib/Process/Pointer/Dereferencer.php b/src/Lib/Process/Pointer/Dereferencer.php index 68846d3f..193b5ece 100644 --- a/src/Lib/Process/Pointer/Dereferencer.php +++ b/src/Lib/Process/Pointer/Dereferencer.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Pointer; +namespace Reli\Lib\Process\Pointer; interface Dereferencer { diff --git a/src/Lib/Process/Pointer/Pointer.php b/src/Lib/Process/Pointer/Pointer.php index 95fd46ee..5df3ac75 100644 --- a/src/Lib/Process/Pointer/Pointer.php +++ b/src/Lib/Process/Pointer/Pointer.php @@ -1,7 +1,7 @@ * @@ -11,16 +11,16 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Pointer; +namespace Reli\Lib\Process\Pointer; use FFI\CData; use FFI\CInteger; use FFI\CPointer; use FFI\CType; -use PhpProfiler\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\CastedCData; /** - * @template T of \PhpProfiler\Lib\Process\Pointer\Dereferencable + * @template T of \Reli\Lib\Process\Pointer\Dereferencable */ class Pointer { @@ -59,7 +59,7 @@ public function fromCastedCData( } /** - * @template TType of \PhpProfiler\Lib\Process\Pointer\Dereferencable + * @template TType of \Reli\Lib\Process\Pointer\Dereferencable * @param class-string $type * @param CPointer $c_pointer * @return Pointer diff --git a/src/Lib/Process/Pointer/RemoteProcessDereferencer.php b/src/Lib/Process/Pointer/RemoteProcessDereferencer.php index f9ce0222..162c47b2 100644 --- a/src/Lib/Process/Pointer/RemoteProcessDereferencer.php +++ b/src/Lib/Process/Pointer/RemoteProcessDereferencer.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Pointer; +namespace Reli\Lib\Process\Pointer; -use PhpProfiler\Lib\FFI\CastedTypeProvider; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Lib\FFI\CastedTypeProvider; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\ProcessSpecifier; class RemoteProcessDereferencer implements Dereferencer { diff --git a/src/Lib/Process/ProcFileSystem/CommandLineEnumerator.php b/src/Lib/Process/ProcFileSystem/CommandLineEnumerator.php index 24ada363..65baa672 100644 --- a/src/Lib/Process/ProcFileSystem/CommandLineEnumerator.php +++ b/src/Lib/Process/ProcFileSystem/CommandLineEnumerator.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\ProcFileSystem; +namespace Reli\Lib\Process\ProcFileSystem; use IteratorAggregate; -use PhpProfiler\Lib\File\FileReaderInterface; +use Reli\Lib\File\FileReaderInterface; final class CommandLineEnumerator implements IteratorAggregate { diff --git a/src/Lib/Process/ProcFileSystem/ThreadEnumerator.php b/src/Lib/Process/ProcFileSystem/ThreadEnumerator.php index e20c4f39..c0c603c7 100644 --- a/src/Lib/Process/ProcFileSystem/ThreadEnumerator.php +++ b/src/Lib/Process/ProcFileSystem/ThreadEnumerator.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\ProcFileSystem; +namespace Reli\Lib\Process\ProcFileSystem; final class ThreadEnumerator { diff --git a/src/Lib/Process/ProcessSpecifier.php b/src/Lib/Process/ProcessSpecifier.php index fa74e3e7..775f8593 100644 --- a/src/Lib/Process/ProcessSpecifier.php +++ b/src/Lib/Process/ProcessSpecifier.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process; +namespace Reli\Lib\Process; final class ProcessSpecifier { diff --git a/src/Lib/Process/ProcessStopper/ProcessStopper.php b/src/Lib/Process/ProcessStopper/ProcessStopper.php index 2aa7cd70..3ab4f172 100644 --- a/src/Lib/Process/ProcessStopper/ProcessStopper.php +++ b/src/Lib/Process/ProcessStopper/ProcessStopper.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\ProcessStopper; +namespace Reli\Lib\Process\ProcessStopper; use FFI\CInteger; -use PhpProfiler\Lib\Libc\Errno\Errno; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceRequest; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceX64; +use Reli\Lib\Libc\Errno\Errno; +use Reli\Lib\Libc\Sys\Ptrace\PtraceRequest; +use Reli\Lib\Libc\Sys\Ptrace\PtraceX64; final class ProcessStopper { diff --git a/src/Lib/Process/RegisterReader/RegisterReaderException.php b/src/Lib/Process/RegisterReader/RegisterReaderException.php index 67792b6a..b9b05d8a 100644 --- a/src/Lib/Process/RegisterReader/RegisterReaderException.php +++ b/src/Lib/Process/RegisterReader/RegisterReaderException.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\RegisterReader; +namespace Reli\Lib\Process\RegisterReader; final class RegisterReaderException extends \Exception { diff --git a/src/Lib/Process/RegisterReader/X64RegisterReader.php b/src/Lib/Process/RegisterReader/X64RegisterReader.php index 2b85159c..ca8e2a98 100644 --- a/src/Lib/Process/RegisterReader/X64RegisterReader.php +++ b/src/Lib/Process/RegisterReader/X64RegisterReader.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\RegisterReader; +namespace Reli\Lib\Process\RegisterReader; use FFI\CInteger; -use PhpProfiler\Lib\Libc\Errno\Errno; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceRequest; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceX64; +use Reli\Lib\Libc\Errno\Errno; +use Reli\Lib\Libc\Sys\Ptrace\PtraceRequest; +use Reli\Lib\Libc\Sys\Ptrace\PtraceX64; final class X64RegisterReader { diff --git a/src/Lib/Process/Search/ProcessSearcher.php b/src/Lib/Process/Search/ProcessSearcher.php index 8ca2e730..85ec23ce 100644 --- a/src/Lib/Process/Search/ProcessSearcher.php +++ b/src/Lib/Process/Search/ProcessSearcher.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Search; +namespace Reli\Lib\Process\Search; -use PhpProfiler\Lib\File\FileReaderInterface; -use PhpProfiler\Lib\Process\ProcFileSystem\CommandLineEnumerator; -use PhpProfiler\Lib\Process\ProcFileSystem\ThreadEnumerator; +use Reli\Lib\File\FileReaderInterface; +use Reli\Lib\Process\ProcFileSystem\CommandLineEnumerator; +use Reli\Lib\Process\ProcFileSystem\ThreadEnumerator; final class ProcessSearcher implements ProcessSearcherInterface { diff --git a/src/Lib/Process/Search/ProcessSearcherInterface.php b/src/Lib/Process/Search/ProcessSearcherInterface.php index 7f5195a9..bc9e238d 100644 --- a/src/Lib/Process/Search/ProcessSearcherInterface.php +++ b/src/Lib/Process/Search/ProcessSearcherInterface.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Search; +namespace Reli\Lib\Process\Search; interface ProcessSearcherInterface { diff --git a/src/Lib/String/LineFetcher.php b/src/Lib/String/LineFetcher.php index b1e8b424..58f9e815 100644 --- a/src/Lib/String/LineFetcher.php +++ b/src/Lib/String/LineFetcher.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\String; +namespace Reli\Lib\String; final class LineFetcher { diff --git a/src/Lib/System/OnShutdown.php b/src/Lib/System/OnShutdown.php index 202b0b69..a87ab076 100644 --- a/src/Lib/System/OnShutdown.php +++ b/src/Lib/System/OnShutdown.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\System; +namespace Reli\Lib\System; class OnShutdown { diff --git a/src/ReliProfiler.php b/src/ReliProfiler.php index 68ccd004..aff42191 100644 --- a/src/ReliProfiler.php +++ b/src/ReliProfiler.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler; +namespace Reli; final class ReliProfiler { diff --git a/tests/Command/CommandEnumeratorTest.php b/tests/Command/CommandEnumeratorTest.php index 3b56bf47..4e602497 100644 --- a/tests/Command/CommandEnumeratorTest.php +++ b/tests/Command/CommandEnumeratorTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command; +namespace Reli\Command; use GlobIterator; use PHPUnit\Framework\TestCase; @@ -29,10 +29,10 @@ public function testCanEnumerateCommands() } $this->assertSame( [ - 'PhpProfiler\Command\Test1Directory\Test1Command', - 'PhpProfiler\Command\Test1Directory\Test2Command', - 'PhpProfiler\Command\Test2Directory\Test3Command', - 'PhpProfiler\Command\Test2Directory\Test4Command', + 'Reli\Command\Test1Directory\Test1Command', + 'Reli\Command\Test1Directory\Test2Command', + 'Reli\Command\Test2Directory\Test3Command', + 'Reli\Command\Test2Directory\Test4Command', ], $result ); diff --git a/tests/Command/CommandEnumeratorTestData/Test1Directory/Test1Command.php b/tests/Command/CommandEnumeratorTestData/Test1Directory/Test1Command.php index f85df8c7..5490ab7f 100644 --- a/tests/Command/CommandEnumeratorTestData/Test1Directory/Test1Command.php +++ b/tests/Command/CommandEnumeratorTestData/Test1Directory/Test1Command.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command\CommandEnumeratorTestData\Test1Directory; +namespace Reli\Command\CommandEnumeratorTestData\Test1Directory; final class Test1Command { diff --git a/tests/Command/CommandEnumeratorTestData/Test1Directory/Test2Command.php b/tests/Command/CommandEnumeratorTestData/Test1Directory/Test2Command.php index cc5076ed..866935a9 100644 --- a/tests/Command/CommandEnumeratorTestData/Test1Directory/Test2Command.php +++ b/tests/Command/CommandEnumeratorTestData/Test1Directory/Test2Command.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command\CommandEnumeratorTestData\Test1Directory; +namespace Reli\Command\CommandEnumeratorTestData\Test1Directory; final class Test2Command { diff --git a/tests/Command/CommandEnumeratorTestData/Test2Directory/Test3Command.php b/tests/Command/CommandEnumeratorTestData/Test2Directory/Test3Command.php index 4611a738..163ff002 100644 --- a/tests/Command/CommandEnumeratorTestData/Test2Directory/Test3Command.php +++ b/tests/Command/CommandEnumeratorTestData/Test2Directory/Test3Command.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command\CommandEnumeratorTestData\Test2Directory; +namespace Reli\Command\CommandEnumeratorTestData\Test2Directory; final class Test3Command { diff --git a/tests/Command/CommandEnumeratorTestData/Test2Directory/Test4Command.php b/tests/Command/CommandEnumeratorTestData/Test2Directory/Test4Command.php index 2fa2062f..250cee8c 100644 --- a/tests/Command/CommandEnumeratorTestData/Test2Directory/Test4Command.php +++ b/tests/Command/CommandEnumeratorTestData/Test2Directory/Test4Command.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Command\CommandEnumeratorTestData\Test2Directory; +namespace Reli\Command\CommandEnumeratorTestData\Test2Directory; final class Test4Command { diff --git a/tests/Inspector/Daemon/Dispatcher/DispatchTableTest.php b/tests/Inspector/Daemon/Dispatcher/DispatchTableTest.php index e12b3b1a..f747ee09 100644 --- a/tests/Inspector/Daemon/Dispatcher/DispatchTableTest.php +++ b/tests/Inspector/Daemon/Dispatcher/DispatchTableTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Lib\PhpInternals\ZendTypeReader; use PHPUnit\Framework\TestCase; class DispatchTableTest extends TestCase diff --git a/tests/Inspector/Daemon/Dispatcher/TargetProcessDescriptorTest.php b/tests/Inspector/Daemon/Dispatcher/TargetProcessDescriptorTest.php index 7675086e..275a2e13 100644 --- a/tests/Inspector/Daemon/Dispatcher/TargetProcessDescriptorTest.php +++ b/tests/Inspector/Daemon/Dispatcher/TargetProcessDescriptorTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/Daemon/Dispatcher/TargetProcessListTest.php b/tests/Inspector/Daemon/Dispatcher/TargetProcessListTest.php index 43370cbb..d5522119 100644 --- a/tests/Inspector/Daemon/Dispatcher/TargetProcessListTest.php +++ b/tests/Inspector/Daemon/Dispatcher/TargetProcessListTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReader; use PHPUnit\Framework\TestCase; class TargetProcessListTest extends TestCase diff --git a/tests/Inspector/Daemon/Dispatcher/WorkerPoolTest.php b/tests/Inspector/Daemon/Dispatcher/WorkerPoolTest.php index e67a1819..f42b51bc 100644 --- a/tests/Inspector/Daemon/Dispatcher/WorkerPoolTest.php +++ b/tests/Inspector/Daemon/Dispatcher/WorkerPoolTest.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Dispatcher; +namespace Reli\Inspector\Daemon\Dispatcher; use Amp\Success; use Mockery; -use PhpProfiler\Inspector\Daemon\Reader\Context\PhpReaderContextCreatorInterface; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Inspector\Daemon\Reader\Context\PhpReaderContextCreatorInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; use PHPUnit\Framework\TestCase; class WorkerPoolTest extends TestCase diff --git a/tests/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorTest.php b/tests/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorTest.php index dd9b4243..10fd7260 100644 --- a/tests/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorTest.php +++ b/tests/Inspector/Daemon/Reader/Context/PhpReaderContextCreatorTest.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Context; +namespace Reli\Inspector\Daemon\Reader\Context; use Mockery; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; -use PhpProfiler\Inspector\Daemon\Reader\Controller\PhpReaderControllerProtocol; -use PhpProfiler\Inspector\Daemon\Reader\Worker\PhpReaderEntryPoint; -use PhpProfiler\Inspector\Daemon\Reader\Worker\PhpReaderWorkerProtocol; -use PhpProfiler\Lib\Amphp\ContextCreatorInterface; -use PhpProfiler\Lib\Amphp\ContextInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerInterface; +use Reli\Inspector\Daemon\Reader\Controller\PhpReaderControllerProtocol; +use Reli\Inspector\Daemon\Reader\Worker\PhpReaderEntryPoint; +use Reli\Inspector\Daemon\Reader\Worker\PhpReaderWorkerProtocol; +use Reli\Lib\Amphp\ContextCreatorInterface; +use Reli\Lib\Amphp\ContextInterface; use PHPUnit\Framework\TestCase; class PhpReaderContextCreatorTest extends TestCase diff --git a/tests/Inspector/Daemon/Reader/Controller/PhpReaderControllerTest.php b/tests/Inspector/Daemon/Reader/Controller/PhpReaderControllerTest.php index aa1799a8..bd305806 100644 --- a/tests/Inspector/Daemon/Reader/Controller/PhpReaderControllerTest.php +++ b/tests/Inspector/Daemon/Reader/Controller/PhpReaderControllerTest.php @@ -1,7 +1,7 @@ * @@ -11,18 +11,18 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Controller; +namespace Reli\Inspector\Daemon\Reader\Controller; use Amp\Promise; use Mockery; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\PhpReaderControllerProtocolInterface; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; -use PhpProfiler\Lib\Amphp\ContextInterface; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Inspector\Daemon\Reader\Protocol\PhpReaderControllerProtocolInterface; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Lib\Amphp\ContextInterface; +use Reli\Lib\PhpInternals\ZendTypeReader; use PHPUnit\Framework\TestCase; final class PhpReaderControllerTest extends TestCase diff --git a/tests/Inspector/Daemon/Reader/Worker/PhpReaderEntryPointTest.php b/tests/Inspector/Daemon/Reader/Worker/PhpReaderEntryPointTest.php index 6ab7b6bb..db588e53 100644 --- a/tests/Inspector/Daemon/Reader/Worker/PhpReaderEntryPointTest.php +++ b/tests/Inspector/Daemon/Reader/Worker/PhpReaderEntryPointTest.php @@ -1,7 +1,7 @@ * @@ -11,22 +11,22 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Reader\Worker; +namespace Reli\Inspector\Daemon\Reader\Worker; use Amp\Success; use Hamcrest\Matchers; use Mockery; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; -use PhpProfiler\Inspector\Daemon\Reader\Protocol\PhpReaderWorkerProtocolInterface; -use PhpProfiler\Inspector\Settings\GetTraceSettings\GetTraceSettings; -use PhpProfiler\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Reader\Protocol\Message\DetachWorkerMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\AttachMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\SetSettingsMessage; +use Reli\Inspector\Daemon\Reader\Protocol\Message\TraceMessage; +use Reli\Inspector\Daemon\Reader\Protocol\PhpReaderWorkerProtocolInterface; +use Reli\Inspector\Settings\GetTraceSettings\GetTraceSettings; +use Reli\Inspector\Settings\TraceLoopSettings\TraceLoopSettings; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; use PHPUnit\Framework\TestCase; class PhpReaderEntryPointTest extends TestCase diff --git a/tests/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreatorTest.php b/tests/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreatorTest.php index 31325992..9dc2903f 100644 --- a/tests/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreatorTest.php +++ b/tests/Inspector/Daemon/Searcher/Context/PhpSearcherContextCreatorTest.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Context; +namespace Reli\Inspector\Daemon\Searcher\Context; use Mockery; -use PhpProfiler\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerInterface; -use PhpProfiler\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerProtocol; -use PhpProfiler\Inspector\Daemon\Searcher\Worker\PhpSearcherEntryPoint; -use PhpProfiler\Inspector\Daemon\Searcher\Worker\PhpSearcherWorkerProtocol; -use PhpProfiler\Lib\Amphp\ContextCreatorInterface; -use PhpProfiler\Lib\Amphp\ContextInterface; +use Reli\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerInterface; +use Reli\Inspector\Daemon\Searcher\Controller\PhpSearcherControllerProtocol; +use Reli\Inspector\Daemon\Searcher\Worker\PhpSearcherEntryPoint; +use Reli\Inspector\Daemon\Searcher\Worker\PhpSearcherWorkerProtocol; +use Reli\Lib\Amphp\ContextCreatorInterface; +use Reli\Lib\Amphp\ContextInterface; use PHPUnit\Framework\TestCase; class PhpSearcherContextCreatorTest extends TestCase diff --git a/tests/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerTest.php b/tests/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerTest.php index 1c93494f..05e1e186 100644 --- a/tests/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerTest.php +++ b/tests/Inspector/Daemon/Searcher/Controller/PhpSearcherControllerTest.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Controller; +namespace Reli\Inspector\Daemon\Searcher\Controller; use Amp\Promise; use Mockery; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\PhpSearcherControllerProtocolInterface; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\Amphp\ContextInterface; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\PhpSearcherControllerProtocolInterface; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\Amphp\ContextInterface; use PHPUnit\Framework\TestCase; class PhpSearcherControllerTest extends TestCase diff --git a/tests/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPointTest.php b/tests/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPointTest.php index 40f1097e..1d8429bc 100644 --- a/tests/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPointTest.php +++ b/tests/Inspector/Daemon/Searcher/Worker/PhpSearcherEntryPointTest.php @@ -1,7 +1,7 @@ * @@ -11,18 +11,18 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; use Amp\Success; use Mockery; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessList; -use PhpProfiler\Inspector\Daemon\Searcher\Protocol\PhpSearcherWorkerProtocolInterface; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\Process\Search\ProcessSearcherInterface; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\TargetPhpSettingsMessage; +use Reli\Inspector\Daemon\Searcher\Protocol\Message\UpdateTargetProcessMessage; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessList; +use Reli\Inspector\Daemon\Searcher\Protocol\PhpSearcherWorkerProtocolInterface; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\Process\Search\ProcessSearcherInterface; use PHPUnit\Framework\TestCase; class PhpSearcherEntryPointTest extends TestCase diff --git a/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCacheTest.php b/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCacheTest.php index 6bf099c2..42c5e678 100644 --- a/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCacheTest.php +++ b/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorCacheTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Lib\PhpInternals\ZendTypeReader; use PHPUnit\Framework\TestCase; class ProcessDescriptorCacheTest extends TestCase diff --git a/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetrieverTest.php b/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetrieverTest.php index 7655c735..bd8a0570 100644 --- a/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetrieverTest.php +++ b/tests/Inspector/Daemon/Searcher/Worker/ProcessDescriptorRetrieverTest.php @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Daemon\Searcher\Worker; +namespace Reli\Inspector\Daemon\Searcher\Worker; use Hamcrest\Matchers; -use PhpProfiler\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\PhpProcessReader\PhpGlobalsFinder; -use PhpProfiler\Lib\PhpProcessReader\PhpVersionDetector; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Daemon\Dispatcher\TargetProcessDescriptor; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpProcessReader\PhpGlobalsFinder; +use Reli\Lib\PhpProcessReader\PhpVersionDetector; +use Reli\Lib\Process\ProcessSpecifier; use PHPUnit\Framework\TestCase; class ProcessDescriptorRetrieverTest extends TestCase diff --git a/tests/Inspector/Output/TopLike/StatTest.php b/tests/Inspector/Output/TopLike/StatTest.php index 5133a606..4eb549cc 100644 --- a/tests/Inspector/Output/TopLike/StatTest.php +++ b/tests/Inspector/Output/TopLike/StatTest.php @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; use PHPUnit\Framework\TestCase; class StatTest extends TestCase diff --git a/tests/Inspector/Output/TopLike/TopLikeFormatterTest.php b/tests/Inspector/Output/TopLike/TopLikeFormatterTest.php index fe335c7e..f9b403c4 100644 --- a/tests/Inspector/Output/TopLike/TopLikeFormatterTest.php +++ b/tests/Inspector/Output/TopLike/TopLikeFormatterTest.php @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; -use PhpProfiler\Lib\DateTime\FixedClock; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\DateTime\FixedClock; +use Reli\Lib\PhpProcessReader\CallTrace; use PHPUnit\Framework\TestCase; use function PHPUnit\Framework\assertSame; diff --git a/tests/Inspector/Output/TopLike/TopLikeOutputterTest.php b/tests/Inspector/Output/TopLike/TopLikeOutputterTest.php index 39c3cb49..3daaa93c 100644 --- a/tests/Inspector/Output/TopLike/TopLikeOutputterTest.php +++ b/tests/Inspector/Output/TopLike/TopLikeOutputterTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TopLike; +namespace Reli\Inspector\Output\TopLike; use Mockery; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatterTest.php b/tests/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatterTest.php index ddea36c3..86401c12 100644 --- a/tests/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatterTest.php +++ b/tests/Inspector/Output/TraceFormatter/Compat/CompatCallTraceFormatterTest.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Compat; +namespace Reli\Inspector\Output\TraceFormatter\Compat; -use PhpProfiler\Lib\PhpInternals\Opcodes\OpcodeV80; -use PhpProfiler\Lib\PhpInternals\Types\Zend\Opline; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpInternals\Opcodes\OpcodeV80; +use Reli\Lib\PhpInternals\Types\Zend\Opline; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; use PHPUnit\Framework\TestCase; class CompatCallTraceFormatterTest extends TestCase diff --git a/tests/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverTest.php b/tests/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverTest.php index 563f7017..3c86b896 100644 --- a/tests/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverTest.php +++ b/tests/Inspector/Output/TraceFormatter/Templated/TemplatePathResolverTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; use Mockery; use Noodlehaus\Config; diff --git a/tests/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatterTest.php b/tests/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatterTest.php index d7c638b1..fe90672e 100644 --- a/tests/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatterTest.php +++ b/tests/Inspector/Output/TraceFormatter/Templated/TemplatedCallTraceFormatterTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; use PHPUnit\Framework\TestCase; class TemplatedCallTraceFormatterTest extends TestCase diff --git a/tests/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactoryTest.php b/tests/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactoryTest.php index d5a405b5..9bc7a91a 100644 --- a/tests/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactoryTest.php +++ b/tests/Inspector/Output/TraceFormatter/Templated/TraceFormatterFactoryTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceFormatter\Templated; +namespace Reli\Inspector\Output\TraceFormatter\Templated; use Mockery; -use PhpProfiler\Inspector\Settings\OutputSettings\OutputSettings; +use Reli\Inspector\Settings\OutputSettings\OutputSettings; use PHPUnit\Framework\TestCase; class TraceFormatterFactoryTest extends TestCase diff --git a/tests/Inspector/Output/TraceFormatter/Templated/templates/test.php b/tests/Inspector/Output/TraceFormatter/Templated/templates/test.php index 30490bcc..9eb6eb81 100644 --- a/tests/Inspector/Output/TraceFormatter/Templated/templates/test.php +++ b/tests/Inspector/Output/TraceFormatter/Templated/templates/test.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Lib\PhpProcessReader\CallTrace; /** @var CallTrace $call_trace */ diff --git a/tests/Inspector/Output/TraceOutput/TraceOutputFactoryTest.php b/tests/Inspector/Output/TraceOutput/TraceOutputFactoryTest.php index f68e776a..56927870 100644 --- a/tests/Inspector/Output/TraceOutput/TraceOutputFactoryTest.php +++ b/tests/Inspector/Output/TraceOutput/TraceOutputFactoryTest.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Output\TraceOutput; +namespace Reli\Inspector\Output\TraceOutput; -use PhpProfiler\Inspector\Output\TraceFormatter\CallTraceFormatter; -use PhpProfiler\Inspector\Output\TraceFormatter\Templated\TraceFormatterFactory; -use PhpProfiler\Inspector\Settings\OutputSettings\OutputSettings; -use PhpProfiler\Lib\PhpProcessReader\CallFrame; -use PhpProfiler\Lib\PhpProcessReader\CallTrace; +use Reli\Inspector\Output\TraceFormatter\CallTraceFormatter; +use Reli\Inspector\Output\TraceFormatter\Templated\TraceFormatterFactory; +use Reli\Inspector\Settings\OutputSettings\OutputSettings; +use Reli\Lib\PhpProcessReader\CallFrame; +use Reli\Lib\PhpProcessReader\CallTrace; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Output\StreamOutput; diff --git a/tests/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInputTest.php b/tests/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInputTest.php index 42fab0d4..d684ce16 100644 --- a/tests/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInputTest.php +++ b/tests/Inspector/Settings/DaemonSettings/DaemonSettingsFromConsoleInputTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\DaemonSettings; +namespace Reli\Inspector\Settings\DaemonSettings; use Mockery; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInputTest.php b/tests/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInputTest.php index 053a73fd..0ffe27e6 100644 --- a/tests/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInputTest.php +++ b/tests/Inspector/Settings/GetTraceSettings/GetTraceSettingsFromConsoleInputTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\GetTraceSettings; +namespace Reli\Inspector\Settings\GetTraceSettings; use Mockery; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInputTest.php b/tests/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInputTest.php index 3022d9ec..32733361 100644 --- a/tests/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInputTest.php +++ b/tests/Inspector/Settings/OutputSettings/OutputSettingsFromConsoleInputTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\OutputSettings; +namespace Reli\Inspector\Settings\OutputSettings; use Mockery; use Noodlehaus\Config; diff --git a/tests/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInputTest.php b/tests/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInputTest.php index 09a4c35f..d8579a36 100644 --- a/tests/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInputTest.php +++ b/tests/Inspector/Settings/TargetPhpSettings/TargetPhpSettingsFromConsoleInputTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetPhpSettings; +namespace Reli\Inspector\Settings\TargetPhpSettings; use Mockery; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInputTest.php b/tests/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInputTest.php index 1424f307..24acfad1 100644 --- a/tests/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInputTest.php +++ b/tests/Inspector/Settings/TargetProcessSettings/TargetProcessSettingsFromConsoleInputTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TargetProcessSettings; +namespace Reli\Inspector\Settings\TargetProcessSettings; use Mockery; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInputTest.php b/tests/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInputTest.php index c2886198..0ddf5457 100644 --- a/tests/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInputTest.php +++ b/tests/Inspector/Settings/TraceLoopSettings/TraceLoopSettingsFromConsoleInputTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\Settings\TraceLoopSettings; +namespace Reli\Inspector\Settings\TraceLoopSettings; use Mockery; use PHPUnit\Framework\TestCase; diff --git a/tests/Inspector/TargetProcess/TargetProcessResolverTest.php b/tests/Inspector/TargetProcess/TargetProcessResolverTest.php index e02ed387..a39c97ec 100644 --- a/tests/Inspector/TargetProcess/TargetProcessResolverTest.php +++ b/tests/Inspector/TargetProcess/TargetProcessResolverTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Inspector\TargetProcess; +namespace Reli\Inspector\TargetProcess; -use PhpProfiler\Inspector\Settings\TargetProcessSettings\TargetProcessSettings; -use PhpProfiler\Lib\Process\Exec\TraceeExecutor; +use Reli\Inspector\Settings\TargetProcessSettings\TargetProcessSettings; +use Reli\Lib\Process\Exec\TraceeExecutor; use PHPUnit\Framework\TestCase; class TargetProcessResolverTest extends TestCase diff --git a/tests/Lib/Amphp/ContextCreatorTest.php b/tests/Lib/Amphp/ContextCreatorTest.php index 8d439f20..09453bba 100644 --- a/tests/Lib/Amphp/ContextCreatorTest.php +++ b/tests/Lib/Amphp/ContextCreatorTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Amphp; +namespace Reli\Lib\Amphp; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/ByteStream/ByteReaderDisableWriteAccessTraitTest.php b/tests/Lib/ByteStream/ByteReaderDisableWriteAccessTraitTest.php index 2fdd0ef2..388f7a98 100644 --- a/tests/Lib/ByteStream/ByteReaderDisableWriteAccessTraitTest.php +++ b/tests/Lib/ByteStream/ByteReaderDisableWriteAccessTraitTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use ArrayAccess; use LogicException; diff --git a/tests/Lib/ByteStream/CDataByteReaderTest.php b/tests/Lib/ByteStream/CDataByteReaderTest.php index c099526a..05315f49 100644 --- a/tests/Lib/ByteStream/CDataByteReaderTest.php +++ b/tests/Lib/ByteStream/CDataByteReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use FFI; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/ByteStream/ProcessMemoryByteReaderTest.php b/tests/Lib/ByteStream/ProcessMemoryByteReaderTest.php index c3fcbf0e..749a454a 100644 --- a/tests/Lib/ByteStream/ProcessMemoryByteReaderTest.php +++ b/tests/Lib/ByteStream/ProcessMemoryByteReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; use PHPUnit\Framework\TestCase; class ProcessMemoryByteReaderTest extends TestCase diff --git a/tests/Lib/ByteStream/StringByteReaderTest.php b/tests/Lib/ByteStream/StringByteReaderTest.php index 40a29384..a8f73690 100644 --- a/tests/Lib/ByteStream/StringByteReaderTest.php +++ b/tests/Lib/ByteStream/StringByteReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; use LogicException; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/ByteStream/UnrelocatedProcessMemoryByteReaderTest.php b/tests/Lib/ByteStream/UnrelocatedProcessMemoryByteReaderTest.php index c50263ea..8a8a6703 100644 --- a/tests/Lib/ByteStream/UnrelocatedProcessMemoryByteReaderTest.php +++ b/tests/Lib/ByteStream/UnrelocatedProcessMemoryByteReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\ByteStream; +namespace Reli\Lib\ByteStream; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; use PHPUnit\Framework\TestCase; class UnrelocatedProcessMemoryByteReaderTest extends TestCase diff --git a/tests/Lib/DateTime/FixedClockTest.php b/tests/Lib/DateTime/FixedClockTest.php index e95c13b0..793b1242 100644 --- a/tests/Lib/DateTime/FixedClockTest.php +++ b/tests/Lib/DateTime/FixedClockTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\DateTime; +namespace Reli\Lib\DateTime; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/DateTime/OnDemandClockTest.php b/tests/Lib/DateTime/OnDemandClockTest.php index fb27bd59..fb3c7679 100644 --- a/tests/Lib/DateTime/OnDemandClockTest.php +++ b/tests/Lib/DateTime/OnDemandClockTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\DateTime; +namespace Reli\Lib\DateTime; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Defer/DeferTest.php b/tests/Lib/Defer/DeferTest.php index d65e9c85..0f9acc05 100644 --- a/tests/Lib/Defer/DeferTest.php +++ b/tests/Lib/Defer/DeferTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Defer; +namespace Reli\Lib\Defer; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Elf/Parser/Elf64ParserTest.php b/tests/Lib/Elf/Parser/Elf64ParserTest.php index eabee198..41f04ecb 100644 --- a/tests/Lib/Elf/Parser/Elf64ParserTest.php +++ b/tests/Lib/Elf/Parser/Elf64ParserTest.php @@ -1,7 +1,7 @@ * @@ -11,14 +11,14 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Parser; +namespace Reli\Lib\Elf\Parser; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\ByteStream\StringByteReader; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64DynamicStructure; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64Header; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64ProgramHeaderEntry; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SectionHeaderEntry; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\ByteStream\StringByteReader; +use Reli\Lib\Elf\Structure\Elf64\Elf64DynamicStructure; +use Reli\Lib\Elf\Structure\Elf64\Elf64Header; +use Reli\Lib\Elf\Structure\Elf64\Elf64ProgramHeaderEntry; +use Reli\Lib\Elf\Structure\Elf64\Elf64SectionHeaderEntry; use PHPUnit\Framework\TestCase; class Elf64ParserTest extends TestCase diff --git a/tests/Lib/Elf/Process/ProcessModuleSymbolReaderCreatorTest.php b/tests/Lib/Elf/Process/ProcessModuleSymbolReaderCreatorTest.php index 515a7dc1..102943c4 100644 --- a/tests/Lib/Elf/Process/ProcessModuleSymbolReaderCreatorTest.php +++ b/tests/Lib/Elf/Process/ProcessModuleSymbolReaderCreatorTest.php @@ -1,7 +1,7 @@ * @@ -11,17 +11,17 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Process; +namespace Reli\Lib\Elf\Process; use Mockery; -use PhpProfiler\Lib\Elf\Parser\ElfParserException; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolver; -use PhpProfiler\Lib\Elf\SymbolResolver\SymbolResolverCreatorInterface; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryArea; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryAttribute; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryMap; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Elf\Parser\ElfParserException; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolver; +use Reli\Lib\Elf\SymbolResolver\SymbolResolverCreatorInterface; +use Reli\Lib\Process\MemoryMap\ProcessMemoryArea; +use Reli\Lib\Process\MemoryMap\ProcessMemoryAttribute; +use Reli\Lib\Process\MemoryMap\ProcessMemoryMap; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMapInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; use PHPUnit\Framework\TestCase; class ProcessModuleSymbolReaderCreatorTest extends TestCase diff --git a/tests/Lib/Elf/Process/ProcessModuleSymbolReaderTest.php b/tests/Lib/Elf/Process/ProcessModuleSymbolReaderTest.php index 63cbc907..90a8a3ba 100644 --- a/tests/Lib/Elf/Process/ProcessModuleSymbolReaderTest.php +++ b/tests/Lib/Elf/Process/ProcessModuleSymbolReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,17 +11,17 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Process; +namespace Reli\Lib\Elf\Process; use FFI; use Mockery; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolver; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryArea; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryAttribute; -use PhpProfiler\Lib\Process\MemoryMap\ProcessModuleMemoryMap; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; -use PhpProfiler\Lib\Integer\UInt64; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolver; +use Reli\Lib\Process\MemoryMap\ProcessMemoryArea; +use Reli\Lib\Process\MemoryMap\ProcessMemoryAttribute; +use Reli\Lib\Process\MemoryMap\ProcessModuleMemoryMap; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\Integer\UInt64; use PHPUnit\Framework\TestCase; class ProcessModuleSymbolReaderTest extends TestCase diff --git a/tests/Lib/Elf/Structure/Elf64/Elf64GnuHashTableTest.php b/tests/Lib/Elf/Structure/Elf64/Elf64GnuHashTableTest.php index 62c8fcc9..53280027 100644 --- a/tests/Lib/Elf/Structure/Elf64/Elf64GnuHashTableTest.php +++ b/tests/Lib/Elf/Structure/Elf64/Elf64GnuHashTableTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Structure\Elf64; +namespace Reli\Lib\Elf\Structure\Elf64; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolverTest.php b/tests/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolverTest.php index d79a46f0..eba5d04b 100644 --- a/tests/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolverTest.php +++ b/tests/Lib/Elf/SymbolResolver/Elf64DynamicSymbolResolverTest.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\SymbolResolver; +namespace Reli\Lib\Elf\SymbolResolver; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\ByteStream\StringByteReader; -use PhpProfiler\Lib\Elf\Parser\Elf64Parser; -use PhpProfiler\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\ByteStream\StringByteReader; +use Reli\Lib\Elf\Parser\Elf64Parser; +use Reli\Lib\Elf\Structure\Elf64\Elf64SymbolTableEntry; use PHPUnit\Framework\TestCase; class Elf64DynamicSymbolResolverTest extends TestCase diff --git a/tests/Lib/Elf/Tls/LibThreadDbTlsFinderTest.php b/tests/Lib/Elf/Tls/LibThreadDbTlsFinderTest.php index b100e4fb..1ddb0388 100644 --- a/tests/Lib/Elf/Tls/LibThreadDbTlsFinderTest.php +++ b/tests/Lib/Elf/Tls/LibThreadDbTlsFinderTest.php @@ -1,7 +1,7 @@ * @@ -11,13 +11,13 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Elf\Tls; +namespace Reli\Lib\Elf\Tls; use FFI\CData; use Mockery; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\Elf\Process\ProcessSymbolReaderInterface; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReaderInterface; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\Elf\Process\ProcessSymbolReaderInterface; +use Reli\Lib\Process\MemoryReader\MemoryReaderInterface; use PHPUnit\Framework\TestCase; class LibThreadDbTlsFinderTest extends TestCase diff --git a/tests/Lib/File/NativeFileReaderTest.php b/tests/Lib/File/NativeFileReaderTest.php index 123bea0d..3d392987 100644 --- a/tests/Lib/File/NativeFileReaderTest.php +++ b/tests/Lib/File/NativeFileReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\File; +namespace Reli\Lib\File; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Log/LogTest.php b/tests/Lib/Log/LogTest.php index a054fe25..ccd4d561 100644 --- a/tests/Lib/Log/LogTest.php +++ b/tests/Lib/Log/LogTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log; +namespace Reli\Lib\Log; -use PhpProfiler\Lib\Log\StateCollector\StateCollector; +use Reli\Lib\Log\StateCollector\StateCollector; use PHPUnit\Framework\TestCase; use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; diff --git a/tests/Lib/Log/StateCollector/CallerStateCollectorTest.php b/tests/Lib/Log/StateCollector/CallerStateCollectorTest.php index e9fe3c90..2a2ba5d8 100644 --- a/tests/Lib/Log/StateCollector/CallerStateCollectorTest.php +++ b/tests/Lib/Log/StateCollector/CallerStateCollectorTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; -use PhpProfiler\Lib\Log\Log; -use PhpProfiler\Lib\Log\TestLoggerTrait; +use Reli\Lib\Log\Log; +use Reli\Lib\Log\TestLoggerTrait; use PHPUnit\Framework\TestCase; use Psr\Log\LoggerInterface; diff --git a/tests/Lib/Log/StateCollector/GroupedStateCollectorTest.php b/tests/Lib/Log/StateCollector/GroupedStateCollectorTest.php index 6628c329..7d3f0ed4 100644 --- a/tests/Lib/Log/StateCollector/GroupedStateCollectorTest.php +++ b/tests/Lib/Log/StateCollector/GroupedStateCollectorTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log\StateCollector; +namespace Reli\Lib\Log\StateCollector; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Log/TestLoggerTrait.php b/tests/Lib/Log/TestLoggerTrait.php index 31edc53c..bf4c1dc4 100644 --- a/tests/Lib/Log/TestLoggerTrait.php +++ b/tests/Lib/Log/TestLoggerTrait.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Log; +namespace Reli\Lib\Log; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Loop/AsyncLoopBuilderTest.php b/tests/Lib/Loop/AsyncLoopBuilderTest.php index 59ff6415..06892531 100644 --- a/tests/Lib/Loop/AsyncLoopBuilderTest.php +++ b/tests/Lib/Loop/AsyncLoopBuilderTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; -use PhpProfiler\Lib\Loop\AsyncLoopMiddleware\CallableMiddlewareAsync; +use Reli\Lib\Loop\AsyncLoopMiddleware\CallableMiddlewareAsync; use PHPUnit\Framework\TestCase; class AsyncLoopBuilderTest extends TestCase diff --git a/tests/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsyncTest.php b/tests/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsyncTest.php index 51f15a51..7629b67e 100644 --- a/tests/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsyncTest.php +++ b/tests/Lib/Loop/AsyncLoopMiddleware/CallableMiddlewareAsyncTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\AsyncLoopMiddleware; +namespace Reli\Lib\Loop\AsyncLoopMiddleware; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Loop/LoopBuilderTest.php b/tests/Lib/Loop/LoopBuilderTest.php index 254cdc4a..2454a31e 100644 --- a/tests/Lib/Loop/LoopBuilderTest.php +++ b/tests/Lib/Loop/LoopBuilderTest.php @@ -1,7 +1,7 @@ * @@ -11,12 +11,12 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; use Exception; use LogicException; -use PhpProfiler\Lib\Loop\LoopMiddleware\CallableMiddleware; -use PhpProfiler\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware; +use Reli\Lib\Loop\LoopMiddleware\CallableMiddleware; +use Reli\Lib\Loop\LoopMiddleware\RetryOnExceptionMiddleware; use PHPUnit\Framework\TestCase; class LoopBuilderTest extends TestCase diff --git a/tests/Lib/Loop/LoopMiddleware/CallableLoopTest.php b/tests/Lib/Loop/LoopMiddleware/CallableLoopTest.php index 8affa2b2..1034bf10 100644 --- a/tests/Lib/Loop/LoopMiddleware/CallableLoopTest.php +++ b/tests/Lib/Loop/LoopMiddleware/CallableLoopTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Loop/LoopMiddleware/KeyboardCancelLoopTest.php b/tests/Lib/Loop/LoopMiddleware/KeyboardCancelLoopTest.php index b5c37070..0a1e600b 100644 --- a/tests/Lib/Loop/LoopMiddleware/KeyboardCancelLoopTest.php +++ b/tests/Lib/Loop/LoopMiddleware/KeyboardCancelLoopTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; use PHPUnit\Framework\TestCase; use ReflectionClass; diff --git a/tests/Lib/Loop/LoopMiddleware/NanoSleepLoopTest.php b/tests/Lib/Loop/LoopMiddleware/NanoSleepLoopTest.php index 864a3ac5..23ea6986 100644 --- a/tests/Lib/Loop/LoopMiddleware/NanoSleepLoopTest.php +++ b/tests/Lib/Loop/LoopMiddleware/NanoSleepLoopTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddlewareTest.php b/tests/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddlewareTest.php index 0c3a5341..ece80789 100644 --- a/tests/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddlewareTest.php +++ b/tests/Lib/Loop/LoopMiddleware/RetryOnExceptionMiddlewareTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop\LoopMiddleware; +namespace Reli\Lib\Loop\LoopMiddleware; use Exception; use LogicException; diff --git a/tests/Lib/Loop/LoopTest.php b/tests/Lib/Loop/LoopTest.php index afff33a5..37c1fe80 100644 --- a/tests/Lib/Loop/LoopTest.php +++ b/tests/Lib/Loop/LoopTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Loop; +namespace Reli\Lib\Loop; -use PhpProfiler\Lib\Loop\LoopMiddleware\CallableMiddleware; +use Reli\Lib\Loop\LoopMiddleware\CallableMiddleware; use PHPUnit\Framework\TestCase; class LoopTest extends TestCase diff --git a/tests/Lib/PhpInternals/Opcodes/OpcodeFactoryTest.php b/tests/Lib/PhpInternals/Opcodes/OpcodeFactoryTest.php index f1ccd9d3..c6cd57dd 100644 --- a/tests/Lib/PhpInternals/Opcodes/OpcodeFactoryTest.php +++ b/tests/Lib/PhpInternals/Opcodes/OpcodeFactoryTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Opcodes; +namespace Reli\Lib\PhpInternals\Opcodes; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/PhpInternals/Types/Zend/ZendStringTest.php b/tests/Lib/PhpInternals/Types/Zend/ZendStringTest.php index ac65dcea..f1556be8 100644 --- a/tests/Lib/PhpInternals/Types/Zend/ZendStringTest.php +++ b/tests/Lib/PhpInternals/Types/Zend/ZendStringTest.php @@ -1,7 +1,7 @@ * @@ -11,11 +11,11 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals\Types\Zend; +namespace Reli\Lib\PhpInternals\Types\Zend; -use PhpProfiler\Lib\PhpInternals\CastedCData; -use PhpProfiler\Lib\PhpInternals\Types\C\RawString; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\PhpInternals\CastedCData; +use Reli\Lib\PhpInternals\Types\C\RawString; +use Reli\Lib\Process\Pointer\Pointer; use PHPUnit\Framework\TestCase; class ZendStringTest extends TestCase diff --git a/tests/Lib/PhpInternals/ZendTypeReaderTest.php b/tests/Lib/PhpInternals/ZendTypeReaderTest.php index d9efa0f5..441eb3fa 100644 --- a/tests/Lib/PhpInternals/ZendTypeReaderTest.php +++ b/tests/Lib/PhpInternals/ZendTypeReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpInternals; +namespace Reli\Lib\PhpInternals; use FFI; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/PhpProcessReader/CallFrameTest.php b/tests/Lib/PhpProcessReader/CallFrameTest.php index f6f3132d..748b2e41 100644 --- a/tests/Lib/PhpProcessReader/CallFrameTest.php +++ b/tests/Lib/PhpProcessReader/CallFrameTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Lib\PhpInternals\Opcodes\OpcodeV70; -use PhpProfiler\Lib\PhpInternals\Types\Zend\Opline; +use Reli\Lib\PhpInternals\Opcodes\OpcodeV70; +use Reli\Lib\PhpInternals\Types\Zend\Opline; use PHPUnit\Framework\TestCase; class CallFrameTest extends TestCase diff --git a/tests/Lib/PhpProcessReader/PhpBinaryFinderTest.php b/tests/Lib/PhpProcessReader/PhpBinaryFinderTest.php index ae932006..727463df 100644 --- a/tests/Lib/PhpProcessReader/PhpBinaryFinderTest.php +++ b/tests/Lib/PhpProcessReader/PhpBinaryFinderTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/PhpProcessReader/PhpGlobalsFinderTest.php b/tests/Lib/PhpProcessReader/PhpGlobalsFinderTest.php index de8e83c6..13492b50 100644 --- a/tests/Lib/PhpProcessReader/PhpGlobalsFinderTest.php +++ b/tests/Lib/PhpProcessReader/PhpGlobalsFinderTest.php @@ -1,7 +1,7 @@ * @@ -11,17 +11,17 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\Elf\Parser\Elf64Parser; -use PhpProfiler\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; -use PhpProfiler\Lib\File\CatFileReader; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryMapCreator; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReader; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\Elf\Parser\Elf64Parser; +use Reli\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; +use Reli\Lib\File\CatFileReader; +use Reli\Lib\Process\MemoryMap\ProcessMemoryMapCreator; +use Reli\Lib\Process\MemoryReader\MemoryReader; +use Reli\Lib\Process\ProcessSpecifier; use PHPUnit\Framework\TestCase; class PhpGlobalsFinderTest extends TestCase diff --git a/tests/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReaderTest.php b/tests/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReaderTest.php index a9e7dff6..4134a9b8 100644 --- a/tests/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReaderTest.php +++ b/tests/Lib/PhpProcessReader/PhpMemoryReader/CallTraceReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,31 +11,31 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader\PhpMemoryReader; +namespace Reli\Lib\PhpProcessReader\PhpMemoryReader; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Inspector\Settings\TargetProcessSettings\TargetProcessSettings; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\Elf\Parser\Elf64Parser; -use PhpProfiler\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; -use PhpProfiler\Lib\File\CatFileReader; -use PhpProfiler\Lib\PhpInternals\Opcodes\OpcodeFactory; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendCastedTypeProvider; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendExecuteData; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendExecutorGlobals; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendFunction; -use PhpProfiler\Lib\PhpInternals\Types\Zend\ZendString; -use PhpProfiler\Lib\PhpInternals\ZendTypeReader; -use PhpProfiler\Lib\PhpInternals\ZendTypeReaderCreator; -use PhpProfiler\Lib\PhpProcessReader\TraceCache; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryMapCreator; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReader; -use PhpProfiler\Lib\PhpProcessReader\PhpGlobalsFinder; -use PhpProfiler\Lib\PhpProcessReader\PhpSymbolReaderCreator; -use PhpProfiler\Lib\Process\Pointer\Pointer; -use PhpProfiler\Lib\Process\Pointer\RemoteProcessDereferencer; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Inspector\Settings\TargetProcessSettings\TargetProcessSettings; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\Elf\Parser\Elf64Parser; +use Reli\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; +use Reli\Lib\File\CatFileReader; +use Reli\Lib\PhpInternals\Opcodes\OpcodeFactory; +use Reli\Lib\PhpInternals\Types\Zend\ZendCastedTypeProvider; +use Reli\Lib\PhpInternals\Types\Zend\ZendExecuteData; +use Reli\Lib\PhpInternals\Types\Zend\ZendExecutorGlobals; +use Reli\Lib\PhpInternals\Types\Zend\ZendFunction; +use Reli\Lib\PhpInternals\Types\Zend\ZendString; +use Reli\Lib\PhpInternals\ZendTypeReader; +use Reli\Lib\PhpInternals\ZendTypeReaderCreator; +use Reli\Lib\PhpProcessReader\TraceCache; +use Reli\Lib\Process\MemoryMap\ProcessMemoryMapCreator; +use Reli\Lib\Process\MemoryReader\MemoryReader; +use Reli\Lib\PhpProcessReader\PhpGlobalsFinder; +use Reli\Lib\PhpProcessReader\PhpSymbolReaderCreator; +use Reli\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\RemoteProcessDereferencer; +use Reli\Lib\Process\ProcessSpecifier; use PHPUnit\Framework\TestCase; class CallTraceReaderTest extends TestCase diff --git a/tests/Lib/PhpProcessReader/PhpVersionDetectorTest.php b/tests/Lib/PhpProcessReader/PhpVersionDetectorTest.php index 5b380f85..f271e56d 100644 --- a/tests/Lib/PhpProcessReader/PhpVersionDetectorTest.php +++ b/tests/Lib/PhpProcessReader/PhpVersionDetectorTest.php @@ -1,7 +1,7 @@ * @@ -11,18 +11,18 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\PhpProcessReader; +namespace Reli\Lib\PhpProcessReader; -use PhpProfiler\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; -use PhpProfiler\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; -use PhpProfiler\Lib\Elf\Parser\Elf64Parser; -use PhpProfiler\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; -use PhpProfiler\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; -use PhpProfiler\Lib\File\CatFileReader; -use PhpProfiler\Lib\PhpInternals\ZendTypeReaderCreator; -use PhpProfiler\Lib\Process\MemoryMap\ProcessMemoryMapCreator; -use PhpProfiler\Lib\Process\MemoryReader\MemoryReader; -use PhpProfiler\Lib\Process\ProcessSpecifier; +use Reli\Inspector\Settings\TargetPhpSettings\TargetPhpSettings; +use Reli\Lib\ByteStream\IntegerByteSequence\LittleEndianReader; +use Reli\Lib\Elf\Parser\Elf64Parser; +use Reli\Lib\Elf\Process\ProcessModuleSymbolReaderCreator; +use Reli\Lib\Elf\SymbolResolver\Elf64SymbolResolverCreator; +use Reli\Lib\File\CatFileReader; +use Reli\Lib\PhpInternals\ZendTypeReaderCreator; +use Reli\Lib\Process\MemoryMap\ProcessMemoryMapCreator; +use Reli\Lib\Process\MemoryReader\MemoryReader; +use Reli\Lib\Process\ProcessSpecifier; use PHPUnit\Framework\TestCase; class PhpVersionDetectorTest extends TestCase diff --git a/tests/Lib/Process/Exec/TraceeExecutorTest.php b/tests/Lib/Process/Exec/TraceeExecutorTest.php index 7cd8358e..d97a7f47 100644 --- a/tests/Lib/Process/Exec/TraceeExecutorTest.php +++ b/tests/Lib/Process/Exec/TraceeExecutorTest.php @@ -1,7 +1,7 @@ * @@ -11,15 +11,15 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Exec; +namespace Reli\Lib\Process\Exec; use Hamcrest\Type\IsCallable; -use PhpProfiler\Lib\Libc\Errno\Errno; -use PhpProfiler\Lib\Libc\Sys\Ptrace\PtraceX64; -use PhpProfiler\Lib\Libc\Unistd\Execvp; -use PhpProfiler\Lib\Process\Exec\Internal\Pcntl; -use PhpProfiler\Lib\Process\ProcessStopper\ProcessStopper; -use PhpProfiler\Lib\System\OnShutdown; +use Reli\Lib\Libc\Errno\Errno; +use Reli\Lib\Libc\Sys\Ptrace\PtraceX64; +use Reli\Lib\Libc\Unistd\Execvp; +use Reli\Lib\Process\Exec\Internal\Pcntl; +use Reli\Lib\Process\ProcessStopper\ProcessStopper; +use Reli\Lib\System\OnShutdown; use PHPUnit\Framework\TestCase; class TraceeExecutorTest extends TestCase diff --git a/tests/Lib/Process/MemoryMap/ProcessMemoryAreaTest.php b/tests/Lib/Process/MemoryMap/ProcessMemoryAreaTest.php index 32ac0bf9..cedf4064 100644 --- a/tests/Lib/Process/MemoryMap/ProcessMemoryAreaTest.php +++ b/tests/Lib/Process/MemoryMap/ProcessMemoryAreaTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Process/MemoryMap/ProcessMemoryMapParserTest.php b/tests/Lib/Process/MemoryMap/ProcessMemoryMapParserTest.php index a880e846..0c39a561 100644 --- a/tests/Lib/Process/MemoryMap/ProcessMemoryMapParserTest.php +++ b/tests/Lib/Process/MemoryMap/ProcessMemoryMapParserTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; -use PhpProfiler\Lib\String\LineFetcher; +use Reli\Lib\String\LineFetcher; use PHPUnit\Framework\TestCase; class ProcessMemoryMapParserTest extends TestCase diff --git a/tests/Lib/Process/MemoryMap/ProcessMemoryMapReaderTest.php b/tests/Lib/Process/MemoryMap/ProcessMemoryMapReaderTest.php index b8fb3a4e..10bca275 100644 --- a/tests/Lib/Process/MemoryMap/ProcessMemoryMapReaderTest.php +++ b/tests/Lib/Process/MemoryMap/ProcessMemoryMapReaderTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Process/MemoryMap/ProcessMemoryMapTest.php b/tests/Lib/Process/MemoryMap/ProcessMemoryMapTest.php index 5ea031c7..18c6c25f 100644 --- a/tests/Lib/Process/MemoryMap/ProcessMemoryMapTest.php +++ b/tests/Lib/Process/MemoryMap/ProcessMemoryMapTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Process/MemoryMap/ProcessModuleMemoryMapTest.php b/tests/Lib/Process/MemoryMap/ProcessModuleMemoryMapTest.php index 77e8fc8c..6609c4ee 100644 --- a/tests/Lib/Process/MemoryMap/ProcessModuleMemoryMapTest.php +++ b/tests/Lib/Process/MemoryMap/ProcessModuleMemoryMapTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\MemoryMap; +namespace Reli\Lib\Process\MemoryMap; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Process/ProcFileSystem/CommandLineEnumeratorTest.php b/tests/Lib/Process/ProcFileSystem/CommandLineEnumeratorTest.php index 1f1a393e..d896f3e2 100644 --- a/tests/Lib/Process/ProcFileSystem/CommandLineEnumeratorTest.php +++ b/tests/Lib/Process/ProcFileSystem/CommandLineEnumeratorTest.php @@ -1,7 +1,7 @@ * @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\ProcFileSystem; +namespace Reli\Lib\Process\ProcFileSystem; -use PhpProfiler\Lib\File\NativeFileReader; +use Reli\Lib\File\NativeFileReader; use PHPUnit\Framework\TestCase; class CommandLineEnumeratorTest extends TestCase diff --git a/tests/Lib/Process/ProcFileSystem/ThreadEnumeratorTest.php b/tests/Lib/Process/ProcFileSystem/ThreadEnumeratorTest.php index c2799053..89602b57 100644 --- a/tests/Lib/Process/ProcFileSystem/ThreadEnumeratorTest.php +++ b/tests/Lib/Process/ProcFileSystem/ThreadEnumeratorTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\ProcFileSystem; +namespace Reli\Lib\Process\ProcFileSystem; use PHPUnit\Framework\TestCase; diff --git a/tests/Lib/Process/Search/ProcessSearcherTest.php b/tests/Lib/Process/Search/ProcessSearcherTest.php index bceea3f4..c56e6259 100644 --- a/tests/Lib/Process/Search/ProcessSearcherTest.php +++ b/tests/Lib/Process/Search/ProcessSearcherTest.php @@ -1,7 +1,7 @@ * @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\Process\Search; +namespace Reli\Lib\Process\Search; -use PhpProfiler\Lib\File\NativeFileReader; -use PhpProfiler\Lib\Process\ProcFileSystem\ThreadEnumerator; +use Reli\Lib\File\NativeFileReader; +use Reli\Lib\Process\ProcFileSystem\ThreadEnumerator; use PHPUnit\Framework\TestCase; class ProcessSearcherTest extends TestCase diff --git a/tests/Lib/String/LineFetcherTest.php b/tests/Lib/String/LineFetcherTest.php index 7e58915d..90dae9c7 100644 --- a/tests/Lib/String/LineFetcherTest.php +++ b/tests/Lib/String/LineFetcherTest.php @@ -1,7 +1,7 @@ * @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace PhpProfiler\Lib\String; +namespace Reli\Lib\String; use PHPUnit\Framework\TestCase; diff --git a/tools/stubs/ffi/libc.php b/tools/stubs/ffi/libc.php index ef070364..3014fb11 100644 --- a/tools/stubs/ffi/libc.php +++ b/tools/stubs/ffi/libc.php @@ -4,7 +4,7 @@ use FFI\CInteger; /** - * This file is part of the sj-i/php-profiler package. + * This file is part of the reliforp/reli-prof package. * * (c) sji * diff --git a/tools/stubs/ffi/php.php b/tools/stubs/ffi/php.php index b6161be6..053b34f1 100644 --- a/tools/stubs/ffi/php.php +++ b/tools/stubs/ffi/php.php @@ -5,10 +5,10 @@ use FFI\CData; use FFI\CInteger; use FFI\CPointer; -use PhpProfiler\Lib\Process\Pointer\Pointer; +use Reli\Lib\Process\Pointer\Pointer; /** - * This file is part of the sj-i/php-profiler package. + * This file is part of the reliforp/reli-prof package. * * (c) sji * diff --git a/tools/stubs/ffi/scalar.php b/tools/stubs/ffi/scalar.php index 98a7ceb1..137d2a1b 100644 --- a/tools/stubs/ffi/scalar.php +++ b/tools/stubs/ffi/scalar.php @@ -1,7 +1,7 @@ *