eliashaeussler / typo3-badges

🌍 Symfony project with SVG and JSON endpoints for beautiful TYPO3 badges
https://typo3-badges.dev
GNU General Public License v3.0
11 stars 2 forks source link

[FEATURE] Provide badge for verified extensions #724

Closed eliashaeussler closed 1 year ago

eliashaeussler commented 1 year ago

This PR introduces a new endpoint GET /badge/{extension}/verified/{provider}. It can be used to display badges for verified extensions.

Resolves: #135

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 496e35e6 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 99.7% (0.1% change).

View more on Code Climate.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (a58aa52) 99.69% compared to head (496e35e) 99.71%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #724 +/- ## ============================================ + Coverage 99.69% 99.71% +0.01% - Complexity 95 100 +5 ============================================ Files 20 21 +1 Lines 332 349 +17 ============================================ + Hits 331 348 +17 Misses 1 1 ``` | [Impacted Files](https://app.codecov.io/gh/eliashaeussler/typo3-badges/pull/724?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elias+H%C3%A4u%C3%9Fler) | Coverage Δ | | |---|---|---| | [src/Controller/VerifiedBadgeController.php](https://app.codecov.io/gh/eliashaeussler/typo3-badges/pull/724?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elias+H%C3%A4u%C3%9Fler#diff-c3JjL0NvbnRyb2xsZXIvVmVyaWZpZWRCYWRnZUNvbnRyb2xsZXIucGhw) | `100.00% <100.00%> (ø)` | | | [src/Entity/Badge.php](https://app.codecov.io/gh/eliashaeussler/typo3-badges/pull/724?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Elias+H%C3%A4u%C3%9Fler#diff-c3JjL0VudGl0eS9CYWRnZS5waHA=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.