feat: 数据范围实现(model use trait实现) #1623
code-coverage.yml
on: pull_request
Matrix: build Code coverage report
Annotations
6 errors
build Code coverage report (ubuntu-latest, 8.1, v5.1.3):
app/Model/Scopes/DataScopeScope.php#L34
Call to an undefined method Hyperf\Database\Model\Model::getDataScope().
|
build Code coverage report (ubuntu-latest, 8.1, v5.1.3):
app/Model/Traits/DataScopeTrait.php#L15
Trait App\Model\Traits\DataScopeTrait is used zero times and is not analysed.
|
build Code coverage report (ubuntu-latest, 8.1, v5.1.3):
app/Schema/PolicySchema.php#L35
Constructor of class App\Schema\PolicySchema has an unused parameter $model.
|
build Code coverage report (ubuntu-latest, 8.1, v5.1.3):
app/Service/Permission/RoleService.php#L80
Variable $entity in empty() always exists and is not falsy.
|
build Code coverage report (ubuntu-latest, 8.1, v5.1.3):
app/Service/Permission/UserService.php#L93
Variable $entity in empty() always exists and is not falsy.
|
build Code coverage report (ubuntu-latest, 8.1, v5.1.3)
Process completed with exit code 1.
|