Commit 8e0580e
committed
minor #63977 [Tests] Fix "Incomplete version" PHPUnit warnings (Jean-Beru)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[Tests] Fix "Incomplete version" PHPUnit warnings
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
PHPUnit 13.1 (see [sebastianbergmann/phpunit#6451](sebastianbergmann/phpunit#6451)) now emits an `Incomplete version requirement "X.Y"` warning when `#[RequiresPhp]` / `#[RequiresPhpunit]` are used with a comparison operator and a version that is not a full `X.Y.Z` semver. This currently breaks the CI.
This PR pads every such occurrence to a 3-part version so PHPUnit stops warning (no behavioral change: `>=8.5` and `>=8.5.0` compare identically against `PHP_VERSION`).
Commits
-------
d52d266 [Tests] Fix "Incomplete version" PHPUnit warnings47 files changed
+96-96Lines changed: 96 additions & 96 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/Symfony
- Bridge
- Doctrine/Tests
- PhpUnit/Tests
- DeprecationErrorHandler
- FailTests
- Component
- DependencyInjection/Tests/LazyProxy/PhpDumper
- DomCrawler/Tests
- ErrorHandler/Tests
- Form/Tests/Extension/Core/DataTransformer
- HtmlSanitizer/Tests/Parser
- HttpFoundation/Tests
- JsonStreamer/Tests/Read
- ObjectMapper/Tests
- PasswordHasher/Tests/Hasher
- PropertyAccess/Tests
- PropertyInfo/Tests/Extractor
- Security/Http/Tests/EventListener
- Serializer/Tests
- Normalizer
- Validator/Tests/Constraints
- VarDumper/Tests
- Caster
- Dumper
- VarExporter/Tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
52 | 52 | |
53 | 53 | |
54 | 54 | |
55 | | - |
| 55 | + |
56 | 56 | |
57 | 57 | |
58 | 58 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/CoverageListenerTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/CoverageListenerTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ConfigurationTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ConfigurationTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationGroupTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationGroupTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationNoticeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationNoticeTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/DeprecationTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/ExpectDeprecationTraitTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/ExpectDeprecationTraitTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/ExpectedDeprecationAnnotationTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/ExpectedDeprecationAnnotationTest.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
19 | 19 | |
20 | 20 | |
21 | 21 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
|
Collapse file
src/Symfony/Bridge/PhpUnit/Tests/FailTests/NoAssertionsTestNotRisky.php
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/Tests/FailTests/NoAssertionsTestNotRisky.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
0 commit comments