-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from reliforp/rename-project
Rename project
- Loading branch information
Showing
330 changed files
with
1,316 additions
and
1,316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ couscous.yml | |
.dockerignore | ||
Dockerfile | ||
.phpunit.result.cache | ||
php-profiler.log | ||
reli.log | ||
vendor | ||
lsp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -16,7 +16,7 @@ | |
return [ | ||
'log' => [ | ||
'path' => [ | ||
'default' => 'php-profiler.log', | ||
'default' => 'reli.log', | ||
], | ||
'level' => LogLevel::INFO, | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="php-profiler"> | ||
<description>php-profiler conventions</description> | ||
<ruleset name="reli"> | ||
<description>reli conventions</description> | ||
<rule ref="PSR12"></rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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 */ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -11,7 +11,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
use PhpProfiler\Lib\PhpProcessReader\CallTrace; | ||
use Reli\Lib\PhpProcessReader\CallTrace; | ||
/** @var CallTrace $call_trace */ | ||
?> | ||
<?= json_encode($call_trace, JSON_UNESCAPED_UNICODE) ?> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -11,7 +11,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
use PhpProfiler\Lib\PhpProcessReader\CallTrace; | ||
use Reli\Lib\PhpProcessReader\CallTrace; | ||
/** @var CallTrace $call_trace */ | ||
?> | ||
<?php foreach ($call_trace->call_frames as $depth => $frame): ?> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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; | ||
?> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -11,7 +11,7 @@ | |
|
||
declare(strict_types=1); | ||
|
||
namespace PhpProfiler\Command\Converter; | ||
namespace Reli\Command\Converter; | ||
|
||
use Noodlehaus\Config; | ||
use PhpCast\Cast; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the sj-i/php-profiler package. | ||
* This file is part of the reliforp/reli-prof package. | ||
* | ||
* (c) sji <[email protected]> | ||
* | ||
|
@@ -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; | ||
|
Oops, something went wrong.