From e4e0e0d1548d5d75c7346757f6714ea94797e6c2 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 10 Dec 2021 13:05:25 +0100 Subject: [PATCH] Remove deprecations baseline --- src/Composer/Compiler.php | 1 + tests/deprecations-8.1.json | 97 ------------------------------------- 2 files changed, 1 insertion(+), 97 deletions(-) delete mode 100644 tests/deprecations-8.1.json diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php index 5b5e740b3..b0aafa74c 100644 --- a/src/Composer/Compiler.php +++ b/src/Composer/Compiler.php @@ -198,6 +198,7 @@ class Compiler 'vendor/symfony/polyfill-intl-grapheme/bootstrap80.php', 'vendor/symfony/polyfill-intl-normalizer/bootstrap80.php', 'vendor/symfony/polyfill-mbstring/bootstrap80.php', + 'vendor/symfony/polyfill-php73/Resources/stubs/JsonException.php', 'vendor/symfony/service-contracts/Attribute/SubscribedService.php', ]); } diff --git a/tests/deprecations-8.1.json b/tests/deprecations-8.1.json deleted file mode 100644 index 50fe04397..000000000 --- a/tests/deprecations-8.1.json +++ /dev/null @@ -1,97 +0,0 @@ -[ - { - "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::testIntegrationWithRawPool", - "message": "preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated", - "count": 1820 - }, - { - "location": "Composer\\Test\\InstallerTest::testIntegrationWithPoolOptimizer", - "message": "preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated", - "count": 1820 - }, - { - "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 - }, - { - "location": "Composer\\Test\\Package\\Archiver\\ArchivableFilesFinderTest::testManualExcludes", - "message": "Return type of Symfony\\Component\\Finder\\Iterator\\SortableIterator::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice", - "count": 1 - } -]