Skip to content

feat: implement data permission rules and context management with cac… #1624

feat: implement data permission rules and context management with cac…

feat: implement data permission rules and context management with cac… #1624

Triggered via push March 12, 2025 01:14
Status Failure
Total duration 6m 2s
Artifacts
Matrix: build Code coverage report
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L115
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\User): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L110
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\Department): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L104
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\User): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L100
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\Department): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L85
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\User): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L76
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\User): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Rule/Executable/CreatedByIdsExecute.php#L62
Parameter #1 $callback of method Hyperf\Collection\Collection<(int|string),Hyperf\Database\Model\Model>::each() expects callable(Hyperf\Database\Model\Model, int|string): mixed, Closure(App\Model\Permission\User): void given.
build Code coverage report (ubuntu-latest, 8.1, v5.1.3): app/Library/DataPermission/Aspects/DataScopeAspect.php#L90
Strict comparison using === between App\Library\DataPermission\Attribute\DataScope and null will always evaluate to false.