Skip to content

Commit

Permalink
Merge branch 'sonarcloud'
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Jan 22, 2024
2 parents b29eceb + a3a0058 commit ad9bddb
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 34 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/.scrutinizer.yml export-ignore
/Dockerfile export-ignore
/phpcs.xml.dist export-ignore
/phpstan.neon.dist export-ignore
Expand Down
18 changes: 0 additions & 18 deletions .scrutinizer.yml

This file was deleted.

34 changes: 23 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# `phpcfdi/resources-sat-xml-generator`

[![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]
[![Scrutinizer][badge-quality]][quality]
[![Coverage Status][badge-coverage]][coverage]
[![Reliability][badge-reliability]][reliability]
[![Maintainability][badge-maintainability]][maintainability]
[![Code Coverage][badge-coverage]][coverage]
[![Violations][badge-violations]][violations]
[![Total Downloads][badge-downloads]][downloads]

> Programa PHP para generar los recursos desde los archivos XSD y XSLT del SAT para CFDI.
Expand Down Expand Up @@ -112,17 +116,25 @@ and licensed for use under the MIT License (MIT). Please see [LICENSE][] for mor
[todo]: https://github.com/phpcfdi/resources-sat-xml-generator/blob/main/docs/TODO.md

[source]: https://github.com/phpcfdi/resources-sat-xml-generator
[php-version]: https://packagist.org/packages/phpcfdi/resources-sat-xml-generator
[discord]: https://discord.gg/aFGYXvX
[release]: https://github.com/phpcfdi/resources-sat-xml-generator/releases
[license]: https://github.com/phpcfdi/resources-sat-xml-generator/blob/main/LICENSE
[build]: https://github.com/phpcfdi/resources-sat-xml-generator/actions/workflows/build.yml?query=branch:main
[quality]: https://scrutinizer-ci.com/g/phpcfdi/resources-sat-xml-generator/
[coverage]: https://scrutinizer-ci.com/g/phpcfdi/resources-sat-xml-generator/code-structure/main/code-coverage
[reliability]:https://sonarcloud.io/component_measures?id=phpcfdi_resources-sat-xml-generator&metric=Reliability
[maintainability]: https://sonarcloud.io/component_measures?id=phpcfdi_resources-sat-xml-generator&metric=Maintainability
[coverage]: https://sonarcloud.io/component_measures?id=phpcfdi_resources-sat-xml-generator&metric=Coverage
[violations]: https://sonarcloud.io/project/issues?id=phpcfdi_resources-sat-xml-generator&resolved=false
[downloads]: https://packagist.org/packages/phpcfdi/resources-sat-xml-generator

[badge-source]: http://img.shields.io/badge/source-phpcfdi/resources--sat--xml--generator-blue?style=flat-square
[badge-release]: https://img.shields.io/github/release/phpcfdi/resources-sat-xml-generator?style=flat-square
[badge-license]: https://img.shields.io/github/license/phpcfdi/resources-sat-xml-generator?style=flat-square
[badge-build]: https://img.shields.io/github/actions/workflow/status/phpcfdi/resources-sat-xml-generator/build.yml?branch=main&style=flat-square
[badge-quality]: https://img.shields.io/scrutinizer/g/phpcfdi/resources-sat-xml-generator/main?style=flat-square
[badge-coverage]: https://img.shields.io/scrutinizer/coverage/g/phpcfdi/resources-sat-xml-generator/main?style=flat-square
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/resources-sat-xml-generator?style=flat-square
[badge-source]: http://img.shields.io/badge/source-phpcfdi/resources--sat--xml--generator-blue?logo=github
[badge-php-version]: https://img.shields.io/packagist/php-v/phpcfdi/resources-sat-xml-generator?logo=php
[badge-discord]: https://img.shields.io/discord/459860554090283019?logo=discord
[badge-release]: https://img.shields.io/github/release/phpcfdi/resources-sat-xml-generator?logo=git
[badge-license]: https://img.shields.io/github/license/phpcfdi/resources-sat-xml-generator?logo=open-source-initiative
[badge-build]: https://img.shields.io/github/actions/workflow/status/phpcfdi/resources-sat-xml-generator/build.yml?branch=main&logo=github-actions
[badge-reliability]: https://sonarcloud.io/api/project_badges/measure?project=phpcfdi_resources-sat-xml-generator&metric=reliability_rating
[badge-maintainability]: https://sonarcloud.io/api/project_badges/measure?project=phpcfdi_resources-sat-xml-generator&metric=sqale_rating
[badge-coverage]: https://img.shields.io/sonar/coverage/phpcfdi_resources-sat-xml-generator/main?logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io
[badge-violations]: https://img.shields.io/sonar/violations/phpcfdi_resources-sat-xml-generator/main?format=long&logo=sonarcloud&server=https%3A%2F%2Fsonarcloud.io
[badge-downloads]: https://img.shields.io/packagist/dt/phpcfdi/resources-sat-xml-generator?logo=packagist
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Importante: **Cambiar la versión en `Application::__construct`**.
- Se agrega PHP 8.3 a la matriz de pruebas.
- Se ejecutan los flujos de trabajo en PHP 8.3.
- Se permite ejecutar manualmente el flujo de trabajo.
- Se migra de Scrutinizer-CI a SonarCloud. ¡Gracias Scrutinizer-CI!
- Se actualizan las herramientas de desarrollo.

## Versión 2.0.1 2023-01-30
Expand Down
4 changes: 0 additions & 4 deletions docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ Liste en este archivo los posibles cambios futuros e ideas pendientes.
A la fecha 2024-01-22 la herramienta `phpcs` no detecta correctamente los tipos en las constantes de PHP 8.3,
por lo que no se han agregado. En cuanto se corrija este problema, se debe agregar el tipo de datos.
Por ejemplo en `PhpCfdi\ResourcesSatXmlGenerator\CLI\FetchSatCommand::NS_REGISTRY`.

## Migrar de Scrutinizer-CI a SonarCloud

La migración de *Scrutinizer-CI* a *SonarCloud* es deseable porque tiene mejores métricas y visualización de cobertura de código.

0 comments on commit ad9bddb

Please sign in to comment.