Skip to content

Commit b4b14dd

Browse files
Merge pull request #251 from darkwebdesign/issue-228-6.1
#228: Update Add-on Pack for Symfony 6.1
2 parents 2cd5449 + 9a9c0d2 commit b4b14dd

File tree

15 files changed

+52
-50
lines changed

15 files changed

+52
-50
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: 'Setup PHP'
2222
uses: 'shivammathur/setup-php@v2'
2323
with:
24-
php-version: '8.0'
24+
php-version: '8.1'
2525
- name: 'Composer Install'
2626
uses: 'ramsey/composer-install@v3'
2727
- name: 'Rector'
@@ -36,7 +36,7 @@ jobs:
3636
- name: 'Setup PHP'
3737
uses: 'shivammathur/setup-php@v2'
3838
with:
39-
php-version: '8.0'
39+
php-version: '8.1'
4040
- name: 'Composer Install'
4141
uses: 'ramsey/composer-install@v3'
4242
- name: 'PHPStan'
@@ -51,7 +51,7 @@ jobs:
5151
- name: 'Setup PHP'
5252
uses: 'shivammathur/setup-php@v2'
5353
with:
54-
php-version: '8.0'
54+
php-version: '8.1'
5555
- name: 'Composer Install'
5656
uses: 'ramsey/composer-install@v3'
5757
- name: 'PHP CS Fixer'
@@ -63,7 +63,6 @@ jobs:
6363
strategy:
6464
matrix:
6565
include:
66-
- php: '8.0'
6766
- php: '8.1'
6867
- php: '8.2'
6968
- php: '8.3'

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
[![Total Downloads](https://poser.pugx.org/darkwebdesign/symfony-addon-pack/downloads?format=flat)](https://packagist.org/packages/darkwebdesign/symfony-addon-pack)
55
[![License](https://poser.pugx.org/darkwebdesign/symfony-addon-pack/license?format=flat)](https://packagist.org/packages/darkwebdesign/symfony-addon-pack)
66

7-
[![Build Status](https://github.com/darkwebdesign/symfony-addon-pack/actions/workflows/build.yaml/badge.svg?branch=6.0)](https://github.com/darkwebdesign/symfony-addon-pack/actions/workflows/build.yaml)
8-
[![Coverage Status](https://codecov.io/gh/darkwebdesign/symfony-addon-pack/branch/6.0/graph/badge.svg)](https://codecov.io/gh/darkwebdesign/symfony-addon-pack)
9-
[![PHP Version](https://img.shields.io/badge/php-8.0%2B-777BB3.svg)](https://php.net/)
10-
[![Symfony Version](https://img.shields.io/badge/symfony-6.0-93C74B.svg)](https://symfony.com/)
7+
[![Build Status](https://github.com/darkwebdesign/symfony-addon-pack/actions/workflows/build.yaml/badge.svg?branch=6.1)](https://github.com/darkwebdesign/symfony-addon-pack/actions/workflows/build.yaml)
8+
[![Coverage Status](https://codecov.io/gh/darkwebdesign/symfony-addon-pack/branch/6.1/graph/badge.svg)](https://codecov.io/gh/darkwebdesign/symfony-addon-pack)
9+
[![PHP Version](https://img.shields.io/badge/php-8.1%2B-777BB3.svg)](https://php.net/)
10+
[![Symfony Version](https://img.shields.io/badge/symfony-6.1-93C74B.svg)](https://symfony.com/)
1111

1212
Symfony Add-on Pack is a collection of extra Symfony components that you can use in your Symfony applications.
1313

14-
Learn more about it in its [documentation](https://darkwebdesign.github.io/symfony-addon-pack/docs/6.0).
14+
Learn more about it in its [documentation](https://darkwebdesign.github.io/symfony-addon-pack/docs/6.1).
1515

1616
## Features
1717

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
],
1111
"require": {
1212
"ext-json": "*",
13-
"php": "^8.0",
14-
"symfony/event-dispatcher": "6.0.*",
15-
"symfony/form": "6.0.*",
16-
"symfony/options-resolver": "6.0.*",
17-
"symfony/validator": "6.0.*"
13+
"php": "^8.1",
14+
"symfony/event-dispatcher": "6.1.*",
15+
"symfony/form": "6.1.*",
16+
"symfony/options-resolver": "6.1.*",
17+
"symfony/validator": "6.1.*"
1818
},
1919
"require-dev": {
2020
"doctrine/orm": "^2.7",

symfony-addon-constraints/.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: 'Setup PHP'
1818
uses: 'shivammathur/setup-php@v2'
1919
with:
20-
php-version: '8.0'
20+
php-version: '8.1'
2121
- name: 'Composer Install'
2222
uses: 'ramsey/composer-install@v3'
2323
- name: 'Rector'
@@ -32,7 +32,7 @@ jobs:
3232
- name: 'Setup PHP'
3333
uses: 'shivammathur/setup-php@v2'
3434
with:
35-
php-version: '8.0'
35+
php-version: '8.1'
3636
- name: 'Composer Install'
3737
uses: 'ramsey/composer-install@v3'
3838
- name: 'PHPStan'
@@ -47,7 +47,7 @@ jobs:
4747
- name: 'Setup PHP'
4848
uses: 'shivammathur/setup-php@v2'
4949
with:
50-
php-version: '8.0'
50+
php-version: '8.1'
5151
- name: 'Composer Install'
5252
uses: 'ramsey/composer-install@v3'
5353
- name: 'PHP CS Fixer'
@@ -59,7 +59,6 @@ jobs:
5959
strategy:
6060
matrix:
6161
include:
62-
- php: '8.0'
6362
- php: '8.1'
6463
- php: '8.2'
6564
- php: '8.3'

symfony-addon-constraints/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
[![Total Downloads](https://poser.pugx.org/darkwebdesign/symfony-addon-constraints/downloads?format=flat)](https://packagist.org/packages/darkwebdesign/symfony-addon-constraints)
55
[![License](https://poser.pugx.org/darkwebdesign/symfony-addon-constraints/license?format=flat)](https://packagist.org/packages/darkwebdesign/symfony-addon-constraints)
66

7-
[![Build Status](https://github.com/darkwebdesign/symfony-addon-constraints/actions/workflows/build.yaml/badge.svg?branch=6.0)](https://github.com/darkwebdesign/symfony-addon-constraints/actions/workflows/build.yaml)
8-
[![Coverage Status](https://codecov.io/gh/darkwebdesign/symfony-addon-constraints/branch/6.0/graph/badge.svg)](https://codecov.io/gh/darkwebdesign/symfony-addon-constraints)
9-
[![PHP Version](https://img.shields.io/badge/php-8.0%2B-777BB3.svg)](https://php.net/)
10-
[![Symfony Version](https://img.shields.io/badge/symfony-6.0-93C74B.svg)](https://symfony.com/)
7+
[![Build Status](https://github.com/darkwebdesign/symfony-addon-constraints/actions/workflows/build.yaml/badge.svg?branch=6.1)](https://github.com/darkwebdesign/symfony-addon-constraints/actions/workflows/build.yaml)
8+
[![Coverage Status](https://codecov.io/gh/darkwebdesign/symfony-addon-constraints/branch/6.1/graph/badge.svg)](https://codecov.io/gh/darkwebdesign/symfony-addon-constraints)
9+
[![PHP Version](https://img.shields.io/badge/php-8.1%2B-777BB3.svg)](https://php.net/)
10+
[![Symfony Version](https://img.shields.io/badge/symfony-6.1-93C74B.svg)](https://symfony.com/)
1111

1212
Symfony Add-on Constraints is a collection of extra Symfony validation constraints that you can use in your Symfony
1313
applications.
1414

15-
Learn more about it in its [documentation](https://darkwebdesign.github.io/symfony-addon-pack/docs/6.0).
15+
Learn more about it in its [documentation](https://darkwebdesign.github.io/symfony-addon-pack/docs/6.1).
1616

1717
## Features
1818

symfony-addon-constraints/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
],
1111
"require": {
1212
"ext-json": "*",
13-
"php": "^8.0",
14-
"symfony/validator": "6.0.*"
13+
"php": "^8.1",
14+
"symfony/validator": "6.1.*"
1515
},
1616
"require-dev": {
1717
"friendsofphp/php-cs-fixer": "^3.58",

symfony-addon-constraints/tests/BsnValidatorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
3131

3232
/**
33+
* @template-extends ConstraintValidatorTestCase<BsnValidator>
34+
*
3335
* @covers \DarkWebDesign\SymfonyAddonConstraints\BsnValidator
3436
*
3537
* @internal

symfony-addon-constraints/tests/CollectionValidatorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
3131

3232
/**
33+
* @template-extends ConstraintValidatorTestCase<CollectionValidator>
34+
*
3335
* @covers \DarkWebDesign\SymfonyAddonConstraints\CollectionValidator
3436
*
3537
* @uses \DarkWebDesign\SymfonyAddonConstraints\Collection

symfony-addon-constraints/tests/JsonValidatorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
3131

3232
/**
33+
* @template-extends ConstraintValidatorTestCase<JsonValidator>
34+
*
3335
* @covers \DarkWebDesign\SymfonyAddonConstraints\JsonValidator
3436
*
3537
* @internal

symfony-addon-form-types/.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: 'Setup PHP'
1818
uses: 'shivammathur/setup-php@v2'
1919
with:
20-
php-version: '8.0'
20+
php-version: '8.1'
2121
- name: 'Composer Install'
2222
uses: 'ramsey/composer-install@v3'
2323
- name: 'Rector'
@@ -32,7 +32,7 @@ jobs:
3232
- name: 'Setup PHP'
3333
uses: 'shivammathur/setup-php@v2'
3434
with:
35-
php-version: '8.0'
35+
php-version: '8.1'
3636
- name: 'Composer Install'
3737
uses: 'ramsey/composer-install@v3'
3838
- name: 'PHPStan'
@@ -47,7 +47,7 @@ jobs:
4747
- name: 'Setup PHP'
4848
uses: 'shivammathur/setup-php@v2'
4949
with:
50-
php-version: '8.0'
50+
php-version: '8.1'
5151
- name: 'Composer Install'
5252
uses: 'ramsey/composer-install@v3'
5353
- name: 'PHP CS Fixer'
@@ -59,7 +59,6 @@ jobs:
5959
strategy:
6060
matrix:
6161
include:
62-
- php: '8.0'
6362
- php: '8.1'
6463
- php: '8.2'
6564
- php: '8.3'

0 commit comments

Comments
 (0)