Skip to content

Commit d530a7a

Browse files
Merge branch '7.2' of github.com:darkwebdesign/symfony-addon-pack
2 parents 940a999 + 800199b commit d530a7a

16 files changed

+30
-17
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
php-version: '8.2'
2121
- name: 'Install dependencies'
2222
run: |
23-
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.0.x-dev
23+
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.2.x-dev
2424
composer install --no-progress --prefer-dist --optimize-autoloader
2525
- name: 'Rector'
2626
run: 'vendor/bin/rector process --dry-run --no-progress-bar --ansi'
@@ -37,7 +37,7 @@ jobs:
3737
php-version: '8.2'
3838
- name: 'Install dependencies'
3939
run: |
40-
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.0.x-dev
40+
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.2.x-dev
4141
composer install --no-progress --prefer-dist --optimize-autoloader
4242
- name: 'PHPStan'
4343
run: 'vendor/bin/phpstan analyze --no-progress --ansi'
@@ -54,7 +54,7 @@ jobs:
5454
php-version: '8.2'
5555
- name: 'Install dependencies'
5656
run: |
57-
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.0.x-dev
57+
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.2.x-dev
5858
composer install --no-progress --prefer-dist --optimize-autoloader
5959
- name: 'PHP CS Fixer'
6060
run: 'vendor/bin/php-cs-fixer fix --diff --dry-run --show-progress=none --ansi'
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: 'ubuntu-24.04'
6565
strategy:
6666
matrix:
67-
php: ['8.2', '8.3']
67+
php: ['8.2', '8.3', '8.4']
6868
fail-fast: false
6969
steps:
7070
- name: 'Checkout'
@@ -75,7 +75,7 @@ jobs:
7575
php-version: "${{ matrix.php }}"
7676
- name: 'Install dependencies'
7777
run: |
78-
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.0.x-dev
78+
composer require --dev --no-install darkwebdesign/symfony-addon-transformers:7.2.x-dev
7979
composer install --no-progress --prefer-dist --optimize-autoloader
8080
- name: 'PHPUnit'
8181
run: 'XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover phpunit-coverage.xml'

README.md

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

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

1212
Symfony Add-on Form Types is a collection of extra Symfony form field types 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/7.0).
14+
Learn more about it in its [documentation](https://darkwebdesign.github.io/symfony-addon-pack/docs/7.2).
1515

1616
## Features
1717

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"type": "library",
44
"description": "Symfony Add-on Form Types",
55
"keywords": ["form", "symfony", "types"],
6-
"homepage": "http://www.darkwebdesign.nl/",
6+
"homepage": "https://www.darkwebdesign.nl/",
77
"license": "MIT",
88
"authors": [
99
{"name": "Raymond Schouten"}
1010
],
1111
"require": {
1212
"php": "^8.2",
13-
"symfony/event-dispatcher": "7.0.*",
14-
"symfony/form": "7.0.*",
15-
"symfony/options-resolver": "7.0.*"
13+
"symfony/event-dispatcher": "7.2.*",
14+
"symfony/form": "7.2.*",
15+
"symfony/options-resolver": "7.2.*"
1616
},
1717
"require-dev": {
18-
"darkwebdesign/symfony-addon-transformers": "7.0.*",
18+
"darkwebdesign/symfony-addon-transformers": "7.2.*",
1919
"doctrine/orm": "^2.7",
2020
"friendsofphp/php-cs-fixer": "^3.58",
2121
"phpstan/extension-installer": "^1.3",

src/BirthdayType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2017 DarkWeb Design.
45
*

src/BooleanToYesNoSubscriber.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2021 DarkWeb Design.
45
*
@@ -35,7 +36,7 @@ class BooleanToYesNoSubscriber implements EventSubscriberInterface
3536
{
3637
public function __construct(
3738
/** @var string[] */
38-
private readonly array $fieldNames
39+
private readonly array $fieldNames,
3940
) {
4041
}
4142

src/BooleanType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2017 DarkWeb Design.
45
*

src/EntityType.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2017 DarkWeb Design.
45
*
@@ -45,7 +46,7 @@
4546
class EntityType extends AbstractType
4647
{
4748
public function __construct(
48-
private ManagerRegistry $registry
49+
private readonly ManagerRegistry $registry,
4950
) {
5051
}
5152

src/JsonSchemaSubscriber.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2021 DarkWeb Design.
45
*
@@ -34,7 +35,7 @@
3435
class JsonSchemaSubscriber implements EventSubscriberInterface
3536
{
3637
public function __construct(
37-
private readonly string $fieldName = 'schema'
38+
private readonly string $fieldName = 'schema',
3839
) {
3940
}
4041

src/UnstructuredType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2019 DarkWeb Design.
45
*

tests/BirthdayTypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright (c) 2017 DarkWeb Design.
45
*

0 commit comments

Comments
 (0)