samsonos/php_core

View on GitHub
src/loader/module/Module.php

Summary

Maintainability
A
2 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

            if (file_exists($classPath)
                && !preg_match('/\/api\/generated\//', $className)
                && !preg_match('/activerecord\/dbQuery/', $className)
                && !preg_match('/samson\/activerecord\//', $className)
                && !preg_match('/Field.php$/', $classPath)
Severity: Critical
Found in src/loader/module/Module.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status