Showing 301 of 301 total issues
The property $_hasTraitCache is not named in camelCase. Open
Open
final class TraitUtil{ /** @var array<class-string, array<string, bool>> */ private static $_hasTraitCache = [];
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid variables with short names like $fx. Configured minimum length is 3. Open
Open
public function addMethod(string $name, \Closure $fx)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Avoid deeply nested control flow statements. Open
Open
if ($i <= $index) { unset($indexes[$k]); }
- Create a ticketCreate a ticket
Each trait must be in a file by itself Open
Open
abstract class TestCase extends BaseTestCase
- Create a ticketCreate a ticket
- Exclude checks
Each trait must be in a file by itself Open
Open
trait Phpunit9xTestCaseTrait
- Create a ticketCreate a ticket
- Exclude checks
The class TestCase has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13. Open
Open
abstract class TestCase extends BaseTestCase{ use Phpunit9xTestCaseTrait; use WarnDynamicPropertyTrait;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Method onHookDynamicShort
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onHookDynamicShort(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
- Create a ticketCreate a ticket
Method onHookDynamic
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onHookDynamic(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
- Create a ticketCreate a ticket
Property name "$_hasTraitCache" should not be prefixed with an underscore to indicate visibility Open
Open
private static $_hasTraitCache = [];
- Create a ticketCreate a ticket
- Exclude checks
Method name "_onNotSuccessfulTest" should not be prefixed with an underscore to indicate visibility Open
Open
protected function _onNotSuccessfulTest(\Throwable $e): void
- Create a ticketCreate a ticket
- Exclude checks
Property name "$_instance" should not be prefixed with an underscore to indicate visibility Open
Open
private static ?Factory $_instance = null;
- Create a ticketCreate a ticket
- Exclude checks
Property name "$_previousTrace" should not be prefixed with an underscore to indicate visibility Open
Open
private array $_previousTrace = [];
- Create a ticketCreate a ticket
- Exclude checks
Method name "_factory" should not be prefixed with an underscore to indicate visibility Open
Open
protected function _factory($seed, array $defaults): object
- Create a ticketCreate a ticket
- Exclude checks
Property name "$_initialized" should not be prefixed with an underscore to indicate visibility Open
Open
private bool $_initialized = false;
- Create a ticketCreate a ticket
- Exclude checks
Property name "$_hookIndexCounter" should not be prefixed with an underscore to indicate visibility Open
Open
private int $_hookIndexCounter = 0;
- Create a ticketCreate a ticket
- Exclude checks
Possible parse error: class missing opening or closing brace Open
Open
class Html extends RendererAbstract
- Create a ticketCreate a ticket
- Exclude checks
Property name "$_elementNameCounts" should not be prefixed with an underscore to indicate visibility Open
Open
private array $_elementNameCounts = [];
- Create a ticketCreate a ticket
- Exclude checks
Method name "_newObject" should not be prefixed with an underscore to indicate visibility Open
Open
protected function _newObject(string $className, array $ctorArgs): object
- Create a ticketCreate a ticket
- Exclude checks
Property name "$_app" should not be prefixed with an underscore to indicate visibility Open
Open
private ?QuietObjectWrapper $_app = null;
- Create a ticketCreate a ticket
- Exclude checks
Method name "_mergeSeeds" should not be prefixed with an underscore to indicate visibility Open
Open
protected function _mergeSeeds(...$seeds)
- Create a ticketCreate a ticket
- Exclude checks