Ran
|
Files
21
|
Run time
0s
|
Badge
README BADGES
|
push
github
feat(symfony): Link security (#5290) * [Link] Start Link Security * feat(provider): Auto Resolve Get Operation and Parameters * chore(CS): fix CS * feat(tests): Add DenyAccessListener tests * feat(tests): Add link security behat tests * fix(test): fix mongodb document configuration * fix(readlistner): fix error 500 on not existing entity * feat(linksecurity): expand functionality to cover all combinations of to and from property and add optional object name * feat(linksecurity): add more tests * chore: fix cs * chore: phpstan fix * fix: Move logic to refactored, now used, classes * fix: refactor unit tests * fix: backport for legacy event system as well * Revert "fix: backport for legacy event system as well" This reverts commit 16f14c836. * refactor: Refactor ReadProvider.php and AccessCheckerProvider.php to extract link security into their own providers * mark providers final, disable feature by default
503 of 766 relevant lines covered (65.67%)
5.06 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
0.0 | AbstractConstraintViolationListNormalizer.php | 110 | 34 | 0 | 34 | 0.0 | |
0.0 | CacheableSupportsMethodInterface.php | 47 | 1 | 0 | 1 | 0.0 | |
0.0 | CacheKeyTrait.php | 43 | 11 | 0 | 11 | 0.0 | |
0.0 | Mapping/Factory/ClassMetadataFactory.php | 43 | 3 | 0 | 3 | 0.0 | |
0.0 | ConstraintViolationListNormalizer.php | 43 | 3 | 0 | 3 | 0.0 | |
0.0 | AbstractCollectionNormalizer.php | 170 | 46 | 0 | 46 | 0.0 | |
67.26 | AbstractItemNormalizer.php | 1020 | 446 | 300 | 146 | 9.0 | |
73.33 | SerializerContextBuilder.php | 124 | 45 | 33 | 12 | 2.0 | |
75.0 | OperationContextTrait.php | 50 | 12 | 9 | 3 | 10.0 | |
80.0 | InputOutputMetadataTrait.php | 47 | 10 | 8 | 2 | 8.0 |