Skip to content

Commit

Permalink
Merge pull request #81 from eclipxe13/version-3.3.1
Browse files Browse the repository at this point in the history
Mantenimiento 2024-05-22 (versión 3.3.1)
  • Loading branch information
eclipxe13 authored May 22, 2024
2 parents 4e28300 + 8bb402e commit 976f543
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 27 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -82,10 +82,10 @@ jobs:
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: ${{ runner.os }}-composer-
- name: Install project dependencies
run: composer upgrade --no-interaction --no-progress --prefer-dist
Expand All @@ -97,14 +97,14 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
php-version: ${{ matrix.php-version }}
coverage: none
tools: composer:v2
env:
Expand All @@ -113,10 +113,10 @@ jobs:
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: ${{ runner.os }}-composer-
- name: Install project dependencies
run: composer upgrade --no-interaction --no-progress --prefer-dist
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -28,7 +28,7 @@ jobs:
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Create code coverage
run: vendor/bin/phpunit --testsuite=complete --testdox --verbose --coverage-xml=build/coverage --coverage-clover=build/coverage/clover.xml --log-junit=build/coverage/junit.xml
- name: Store code coverage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage
path: build/coverage
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Unshallow clone to provide blame information
run: git fetch --unshallow
- name: Setup PHP
Expand All @@ -86,15 +86,15 @@ jobs:
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install project dependencies
run: composer upgrade --no-interaction --no-progress --prefer-dist
- name: Obtain code coverage
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: code-coverage
path: build/coverage
Expand Down
10 changes: 5 additions & 5 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="php-cs-fixer" version="^3.40.0" installed="3.40.0" location="./tools/php-cs-fixer" copy="false"/>
<phar name="phpcs" version="^3.7.2" installed="3.7.2" location="./tools/phpcs" copy="false"/>
<phar name="phpcbf" version="^3.7.2" installed="3.7.2" location="./tools/phpcbf" copy="false"/>
<phar name="phpstan" version="^1.10.46" installed="1.10.46" location="./tools/phpstan" copy="false"/>
<phar name="composer-normalize" version="^2.39.0" installed="2.39.0" location="./tools/composer-normalize" copy="false"/>
<phar name="php-cs-fixer" version="^3.57.2" installed="3.57.2" location="./tools/php-cs-fixer" copy="false"/>
<phar name="phpcs" version="^3.10.0" installed="3.10.0" location="./tools/phpcs" copy="false"/>
<phar name="phpcbf" version="^3.10.0" installed="3.10.0" location="./tools/phpcbf" copy="false"/>
<phar name="phpstan" version="^1.11.11" installed="1.11.1" location="./tools/phpstan" copy="false"/>
<phar name="composer-normalize" version="^2.42.0" installed="2.42.0" location="./tools/composer-normalize" copy="false"/>
</phive>
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@
"ext-mbstring": "*",
"ext-openssl": "*",
"eclipxe/enum": "^0.2.0",
"eclipxe/micro-catalog": "^v0.1.3",
"eclipxe/micro-catalog": "^0.1.3",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/promises": "^2.0",
"phpcfdi/credentials": "^1.1",
"phpcfdi/image-captcha-resolver": "^0.2.3",
"psr/http-message": "^1.1 || ^2.0",
"symfony/css-selector": "^5.4 || ^6.0",
"symfony/dom-crawler": "^5.4 || ^6.0"
"symfony/css-selector": "^5.4 || ^6.0 || ^7.0",
"symfony/dom-crawler": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"ext-iconv": "*",
"fakerphp/faker": "^1.13",
"phpunit/phpunit": "^9.5",
"symfony/dotenv": "^5.4 || ^6.0"
"symfony/dotenv": "^5.4 || ^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
Expand Down
9 changes: 9 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ Usamos [Versionado Semántico 2.0.0](SEMVER.md) por lo que puedes usar esta libr

## Cambios aún no liberados en una versión

## Versión 3.3.1 2024-05-22

- PHPStan encontró un problema en una especificación de tipo en un método de prueba,
se ha corregido solo para que el proceso de integración continua no falle.
- Se actualizan las dependencias de los componentes de Symfony para soportar la versión 7.
- Se actualizan los flujos de trabajo de GitHub para usar las acciones versión 4.
- Se usa `php-version` en singular, en lugar de `php-versions`.
- Se actualizan las herramientas de desarrollo.

## Versión 3.3.0 2023-12-03

Se agregó la interfaz `MetadataMessageHandler` que permite recibir notificaciones de la descarga de *Metadata*.
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/HttpLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function entryToJson(RequestInterface $request, ?ResponseInterface $respo

/**
* @param string $body
* @return array<string|array<string>>
* @return array<mixed>
*/
public function bodyToVars(string $body): array
{
Expand Down

0 comments on commit 976f543

Please sign in to comment.