1
0
Fork 0

Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies

pull/10164/head
Jordi Boggiano 2021-10-15 13:33:16 +02:00
parent 5818b4aa51
commit 135611fc9d
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 91 additions and 0 deletions

View File

@ -109,6 +109,10 @@ jobs:
# using ~ here to avoid issues with windows CLI removing the ^
run: 'composer require --no-update --dev "symfony/phpunit-bridge:~5.4@dev"'
- name: "Set ignored deprecations for php 8.1+ on lowest or locked deps"
if: "matrix.php-version >= '8.1' && !contains(matrix.dependencies, 'highest')"
run: "echo \"SYMFONY_DEPRECATIONS_HELPER=baselineFile=./tests/deprecations-8.1.json&max[direct]=0\" >> $GITHUB_ENV"
- name: "Update dev requirements to latest available for the current PHP even on locked builds as they are not bundled dependencies"
run: "composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator"

View File

@ -0,0 +1,87 @@
[
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Finder::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\FilterIterator::rewind() should either be compatible with FilterIterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator::getChildren() should either be compatible with RecursiveDirectoryIterator::getChildren(): RecursiveDirectoryIterator, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator::rewind() should either be compatible with FilesystemIterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator::current() should either be compatible with FilesystemIterator::current(): SplFileInfo|FilesystemIterator|string, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\FilterIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\AllFunctionalTest::getTestFiles",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\PathFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\ApplicationTest::testDevWarning",
"message": "Return type of Symfony\\Component\\Console\\Helper\\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\Downloader\\XzDownloaderTest::testErrorMessages",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
},
{
"location": "Composer\\Test\\InstallerTest::testIntegration",
"message": "preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated",
"count": 1640
},
{
"location": "Composer\\Test\\Package\\Archiver\\ArchivableFilesFinderTest::testManualExcludes",
"message": "Return type of Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice",
"count": 1
}
]