Skip to content

Commit dc90182

Browse files
committed
Update dependencies
1 parent d796b01 commit dc90182

File tree

5 files changed

+18
-16
lines changed

5 files changed

+18
-16
lines changed

composer.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,27 @@
3434
"jms/serializer": "^3.30.0",
3535
"myclabs/deep-copy": "^1.10",
3636
"phpstan/phpdoc-parser": "^2.0.0",
37-
"symfony/form": "^6.4 || ^7.1",
38-
"symfony/routing": "^6.4 || ^7.1",
39-
"symfony/validator": "^6.4 || ^7.1",
37+
"symfony/form": "^6.4 || ^7.2",
38+
"symfony/routing": "^6.4 || ^7.2",
39+
"symfony/validator": "^6.4 || ^7.2",
4040
"webmozart/assert": "^1.10"
4141
},
4242
"require-dev": {
43-
"doctrine/coding-standard": "^13.0.0",
44-
"ergebnis/composer-normalize": "^2.45.0",
43+
"doctrine/coding-standard": "^13.0.1",
44+
"ergebnis/composer-normalize": "^2.47.0",
4545
"php-standard-library/phpstan-extension": "^2.0",
46-
"phpstan/phpstan": "^2.1.10",
47-
"phpstan/phpstan-deprecation-rules": "^2.0.1",
48-
"phpstan/phpstan-phpunit": "^2.0.4",
46+
"phpstan/phpstan": "^2.1.15",
47+
"phpstan/phpstan-deprecation-rules": "^2.0.3",
48+
"phpstan/phpstan-phpunit": "^2.0.6",
4949
"phpstan/phpstan-strict-rules": "^2.0.4",
50-
"phpstan/phpstan-symfony": "^2.0.3",
50+
"phpstan/phpstan-symfony": "^2.0.6",
5151
"phpstan/phpstan-webmozart-assert": "^2.0.0",
52-
"phpunit/phpunit": "^11.5.15",
52+
"phpunit/phpunit": "^11.5.20",
5353
"roave/security-advisories": "dev-master",
5454
"symfony/config": "^6.4 || ^7.2",
5555
"symfony/options-resolver": "^6.4 || ^7.2",
5656
"symfony/var-dumper": "^6.4 || ^7.2"
5757
},
58-
"conflict": {},
5958
"prefer-stable": true,
6059
"autoload": {
6160
"psr-4": {

config/phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ parameters:
77
- ../tests/Analyser/Fixtures/PropertyAnalyserClassWithProperties.php
88
treatPhpDocTypesAsCertain: false
99
reportUnmatchedIgnoredErrors: false # we might run the check against different versions of PHP or libraries that might have / not have reported errors
10+
featureToggles:
11+
internalTag: false
1012

1113
includes:
1214
- phpstan-baseline.neon

config/phpunit.xml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
xsi:noNamespaceSchemaLocation="../vendor/phpunit/phpunit/phpunit.xsd"
55
colors="true"
66
cacheDirectory=".phpunit.cache"
7+
displayDetailsOnTestsThatTriggerWarnings="true"
8+
displayDetailsOnPhpunitDeprecations="true"
79
>
810
<php>
911
<ini name="error_reporting" value="-1"/>

tests/Analyser/PropertyAnalyserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace Protung\OpenApiGenerator\Tests\Analyser;
66

77
use InvalidArgumentException;
8+
use PHPUnit\Framework\Attributes\DataProvider;
89
use PHPUnit\Framework\TestCase;
910
use Protung\OpenApiGenerator\Analyser\PropertyAnalyser;
1011
use Protung\OpenApiGenerator\Analyser\PropertyAnalysisCollectionType;
@@ -170,9 +171,8 @@ public static function dataProviderTestGetPropertyType(): array
170171
/**
171172
* @param non-empty-string $propertyName
172173
* @param non-empty-list<PropertyAnalysisType> $expected
173-
*
174-
* @dataProvider dataProviderTestGetPropertyType
175174
*/
175+
#[DataProvider('dataProviderTestGetPropertyType')]
176176
public function testGetPropertyType(string $propertyName, array $expected): void
177177
{
178178
$propertyAnalyser = new PropertyAnalyser();

tests/Resolver/DefinitionNameTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Protung\OpenApiGenerator\Tests\Resolver;
66

7+
use PHPUnit\Framework\Attributes\DataProvider;
78
use PHPUnit\Framework\TestCase;
89
use Protung\OpenApiGenerator\Model\Definition;
910
use Protung\OpenApiGenerator\Resolver\DefinitionName;
@@ -25,9 +26,7 @@ public static function dataProviderTestGetName(): array
2526
];
2627
}
2728

28-
/**
29-
* @dataProvider dataProviderTestGetName
30-
*/
29+
#[DataProvider('dataProviderTestGetName')]
3130
public function testGetName(Definition $definition, string $expected): void
3231
{
3332
$actual = DefinitionName::getName($definition);

0 commit comments

Comments
 (0)