Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Add sonarcloud integration
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Feb 23, 2022
1 parent 4b9629a commit 7436e8b
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml.dist export-ignore
/sonar-project.properties export-ignore
28 changes: 23 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# phpcfdi/sat-estado-cfdi-http-psr

[![Source Code][badge-source]][source]
[![Packagist PHP Version Support][badge-php-version]][php-version]
[![Discord][badge-discord]][discord]
[![Latest Version][badge-release]][release]
[![Software License][badge-license]][license]
[![Build Status][badge-build]][build]
[![Reliability][badge-reliability]][reliability]
[![Maintainability][badge-maintainability]][maintainability]
[![Code Coverage][badge-coverage]][coverage]
[![Violations][badge-violations]][violations]
[![Total Downloads][badge-downloads]][downloads]

> Consulta el estado de un CFDI en el webservice del SAT usando HTTP (PSR-17 y PSR-18)
Expand Down Expand Up @@ -109,13 +115,25 @@ and licensed for use under the MIT License (MIT). Please see [LICENSE][] for mor
[todo]: https://github.com/phpcfdi/sat-estado-cfdi-http-psr/blob/main/docs/TODO.md

[source]: https://github.com/phpcfdi/sat-estado-cfdi-http-psr
[php-version]: https://packagist.org/packages/phpcfdi/sat-estado-cfdi-http-psr
[discord]: https://discord.gg/aFGYXvX
[release]: https://github.com/phpcfdi/sat-estado-cfdi-http-psr/releases
[license]: https://github.com/phpcfdi/sat-estado-cfdi-http-psr/blob/main/LICENSE
[build]: https://github.com/phpcfdi/sat-estado-cfdi-http-psr/actions/workflows/build.yml?query=branch:main
[reliability]:https://sonarcloud.io/component_measures?id=phpcfdi_sat-estado-cfdi-http-psr&metric=Reliability
[maintainability]: https://sonarcloud.io/component_measures?id=phpcfdi_sat-estado-cfdi-http-psr&metric=Maintainability
[coverage]: https://sonarcloud.io/component_measures?id=phpcfdi_sat-estado-cfdi-http-psr&metric=Coverage
[violations]: https://sonarcloud.io/project/issues?id=phpcfdi_sat-estado-cfdi-http-psr&resolved=false
[downloads]: https://packagist.org/packages/phpcfdi/sat-estado-cfdi-http-psr

[badge-source]: https://img.shields.io/badge/source-phpcfdi/sat--estado--cfdi--http--psr-blue?style=flat-square
[badge-release]: https://img.shields.io/github/release/phpcfdi/sat-estado-cfdi-http-psr?style=flat-square
[badge-license]: https://img.shields.io/github/license/phpcfdi/sat-estado-cfdi-http-psr?style=flat-square
[badge-build]: https://img.shields.io/github/workflow/status/phpcfdi/sat-estado-cfdi-http-psr/build/main?style=flat-square
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/sat-estado-cfdi-http-psr?style=flat-square
[badge-source]: https://img.shields.io/badge/source-phpcfdi/sat--estado--cfdi--http--psr-blue?logo=github
[badge-discord]: https://img.shields.io/discord/459860554090283019?logo=discord
[badge-php-version]: https://img.shields.io/packagist/php-v/phpcfdi/sat-estado-cfdi-http-psr?logo=php
[badge-release]: https://img.shields.io/github/release/phpcfdi/sat-estado-cfdi-http-psr?logo=git
[badge-license]: https://img.shields.io/github/license/phpcfdi/sat-estado-cfdi-http-psr?logo=open-source-initiative
[badge-build]: https://img.shields.io/github/workflow/status/phpcfdi/sat-estado-cfdi-http-psr/build/main?logo=github-actions
[badge-reliability]: https://sonarcloud.io/api/project_badges/measure?project=phpcfdi_sat-estado-cfdi-http-psr&metric=reliability_rating
[badge-maintainability]: https://sonarcloud.io/api/project_badges/measure?project=phpcfdi_sat-estado-cfdi-http-psr&metric=sqale_rating
[badge-coverage]: https://img.shields.io/sonar/coverage/phpcfdi_sat-estado-cfdi-http-psr/main?logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io
[badge-violations]: https://img.shields.io/sonar/violations/phpcfdi_sat-estado-cfdi-http-psr/main?format=long&logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/sat-estado-cfdi-http-psr?logo=packagist
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ versión, aunque sí su incorporación en la rama principal de trabajo. Generalm
- Se actualiza la dependencia de desarrollo `phpcfdi/cfdi-expresiones:^3.0`.
- Se deja de utilizar Scrutinizer CI. Gracias Scrutinizer CI.
- El flujo de integración continua se cambia de pasos a trabajos.
- Se agrega la integración con *sonarcloud*.

### Version 1.0.2 2021-11-04

Expand Down
10 changes: 10 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sonar.organization=phpcfdi
sonar.projectKey=phpcfdi_sat-estado-cfdi-http-psr
sonar.sourceEncoding=UTF-8
sonar.language=php
sonar.sources=src
sonar.tests=tests
sonar.exclusions=vendor/,tools/,build/,tests/_files/
sonar.working.directory=build/.scannerwork
sonar.php.tests.reportPath=build/sonar-junit.xml
sonar.php.coverage.reportPaths=build/sonar-coverage.xml

0 comments on commit 7436e8b

Please sign in to comment.