Showing 301 of 301 total issues

Avoid variables with short names like $bt. Configured minimum length is 3.
Open

$bt = [];
Severity: Minor
Found in src/DebugTrait.php by phpmd

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

private function _unbindHookFxIfBoundToThis(\Closure $fx, bool $isShort): \Closure
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

private function _rebindHookFxToFakeInstance(\Closure $fx): \Closure
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $e. Configured minimum length is 3.
Open

private function releaseObjectsFromExceptionTrace(\Throwable $e): void
Severity: Minor
Found in src/Phpunit/TestCase.php by phpmd

Avoid variables with short names like $v. Configured minimum length is 3.
Open

$replaceObjectsFx = static function ($v) use (&$replaceObjectsFx) {
Severity: Minor
Found in src/Phpunit/TestCase.php by phpmd

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

public function onHookShort(string $spot, \Closure $fx, array $args = [], int $priority = 5): int
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $cv. Configured minimum length is 3.
Open

$cv = $this->parseStackTraceFrame($trace[$i]);

The property $_instance is not named in camelCase.
Open

class Factory
{
use WarnDynamicPropertyTrait;
 
private static ?Factory $_instance = null;
Severity: Minor
Found in src/Factory.php by phpmd

Avoid variables with short names like $ex. Configured minimum length is 3.
Open

$custTraceFx = static function (\Throwable $ex) {

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

public function onHookDynamic(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $e. Configured minimum length is 3.
Open

protected function onNotSuccessfulTest(\Throwable $e): void
Severity: Minor
Found in src/Phpunit/TestCase.php by phpmd

Avoid variables with short names like $v. Configured minimum length is 3.
Open

return implode("\n", array_map(static fn ($v) => rtrim($v, ' '), explode("\n", $res)));
Severity: Minor
Found in src/ExceptionRenderer/Console.php by phpmd

Avoid variables with short names like $e. Configured minimum length is 3.
Open

protected function _onNotSuccessfulTest(\Throwable $e): void
Severity: Minor
Found in src/Phpunit/TestCase.php by phpmd

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

public function onHook(string $spot, \Closure $fx, array $args = [], int $priority = 5): int
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

private function _makeHookDynamicFx(?\Closure $getFxThisFx, \Closure $fx, bool $isShort): \Closure
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $s. Configured minimum length is 3.
Open

public function readableCaption(string $s): string
Severity: Minor
Found in src/ReadableCaptionTrait.php by phpmd

Avoid variables with short names like $pv. Configured minimum length is 3.
Open

$pv = $this->parseStackTraceFrame($parentTrace[$i]);

Avoid variables with short names like $fx. Configured minimum length is 3.
Open

public function onHookDynamicShort(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
Severity: Minor
Found in src/HookTrait.php by phpmd

Avoid variables with short names like $c. Configured minimum length is 3.
Open

$c = min(count($trace), count($parentTrace));

Avoid variables with short names like $e. Configured minimum length is 3.
Open

protected function onNotSuccessfulTest(\Throwable $e): never
Severity: Minor
Found in src/Phpunit/TestCase.php by phpmd
Severity
Category
Status
Source
Language