Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Remove deprecations for CI-Build #4024

Closed
2 tasks
Tracked by #3995
dkd-kaehm opened this issue May 7, 2024 · 0 comments · Fixed by #4028
Closed
2 tasks
Tracked by #3995

[TASK] Remove deprecations for CI-Build #4024

dkd-kaehm opened this issue May 7, 2024 · 0 comments · Fixed by #4028

Comments

@dkd-kaehm
Copy link
Collaborator

What should be done in the scope of this task?

Actions fails currently due of deprecations in PHPUnit API:

  • Unit tests
1) ApacheSolrForTypo3\Solr\Tests\Unit\Access\RootlineTest::canParser with data set "simple" ('c:0', [0])
Providing invalid named argument $string for method ApacheSolrForTypo3\Solr\Tests\Unit\Access\RootlineTest::canParser() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/Access/RootlineTest.php:40

2) ApacheSolrForTypo3\Solr\Tests\Unit\Access\RootlineTest::canParser with data set "simpleOneGroup" ('c:1', [1])
Providing invalid named argument $string for method ApacheSolrForTypo3\Solr\Tests\Unit\Access\RootlineTest::canParser() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/Access/RootlineTest.php:40

3) ApacheSolrForTypo3\Solr\Tests\Unit\Access\RootlineTest::canParser with data set "mixed" ('35:1/c:0', [0, 1])
Providing invalid named argument $string for method ApacheSolrForTypo3\Solr\Tests\Unit\Access\RootlineTest::canParser() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/Access/RootlineTest.php:40

4) ApacheSolrForTypo3\Solr\Tests\Unit\Domain\Search\ResultSet\Facets\RangeBased\NumericRange\NumericRangeUrlDecoderTest::canParseRangeQuery with data set "50/100" ('50', '100', '[50 TO 100]')
Providing invalid named argument $expected for method ApacheSolrForTypo3\Solr\Tests\Unit\Domain\Search\ResultSet\Facets\RangeBased\NumericRange\NumericRangeUrlDecoderTest::canParseRangeQuery() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/Domain/Search/ResultSet/Facets/RangeBased/NumericRange/NumericRangeUrlDecoderTest.php:66

5) ApacheSolrForTypo3\Solr\Tests\Unit\Domain\Search\ResultSet\Facets\RangeBased\NumericRange\NumericRangeUrlDecoderTest::canParseRangeQuery with data set "-10/20" ('-10', '20', '[-10 TO 20]')
Providing invalid named argument $expected for method ApacheSolrForTypo3\Solr\Tests\Unit\Domain\Search\ResultSet\Facets\RangeBased\NumericRange\NumericRangeUrlDecoderTest::canParseRangeQuery() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/Domain/Search/ResultSet/Facets/RangeBased/NumericRange/NumericRangeUrlDecoderTest.php:66

6) ApacheSolrForTypo3\Solr\Tests\Unit\Domain\Search\ResultSet\Facets\RangeBased\NumericRange\NumericRangeUrlDecoderTest::canParseRangeQuery with data set "-10/-5" ('-10', '-5', '[-10 TO -5]')
Providing invalid named argument $expected for method ApacheSolrForTypo3\Solr\Tests\Unit\Domain\Search\ResultSet\Facets\RangeBased\NumericRange\NumericRangeUrlDecoderTest::canParseRangeQuery() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/Domain/Search/ResultSet/Facets/RangeBased/NumericRange/NumericRangeUrlDecoderTest.php:66

7) ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent with data set "unifyWhitespaces" ('<!DOCTYPE html>\n<html lang=".../html>', 'Title Level 1 headline Hello ...adline')
Providing invalid named argument $exptectedIndexableContent for method ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/HtmlContentExtractorTest.php:76

8) ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent with data set "unifyTabs" ('Test		Test', 'Test Test')
Providing invalid named argument $exptectedIndexableContent for method ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/HtmlContentExtractorTest.php:76

9) ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent with data set "removeScriptTags" ('<script>foo</script>Test', 'Test')
Providing invalid named argument $exptectedIndexableContent for method ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/HtmlContentExtractorTest.php:76

10) ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent with data set "decodeEntities" ('B&auml;hm', 'Bähm')
Providing invalid named argument $exptectedIndexableContent for method ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/HtmlContentExtractorTest.php:76

11) ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent with data set "decodeSpaceEntities" ('B&auml;hm&nbsp; Bum', 'Bähm Bum')
Providing invalid named argument $exptectedIndexableContent for method ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/HtmlContentExtractorTest.php:76

12) ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent with data set "decodeSpaceUtf8Nbsp" ('test <br/>afterNBSP', 'test afterNBSP')
Providing invalid named argument $exptectedIndexableContent for method ApacheSolrForTypo3\Solr\Tests\Unit\HtmlContentExtractorTest::canUnifyWhitespacesInIndexableContent() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/HtmlContentExtractorTest.php:76

13) ApacheSolrForTypo3\Solr\Tests\Unit\System\Solr\SolrConnectionTest::canGetCoreName with data set #0 ('/solr/', 'bla', 'bla')
Providing invalid named argument $expectedName for method ApacheSolrForTypo3\Solr\Tests\Unit\System\Solr\SolrConnectionTest::canGetCoreName() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Unit/System/Solr/SolrConnectionTest.php:137

14) ApacheSolrForTypo3\Solr\Tests\Unit\System\Solr\SolrConnectionTest::canGetCoreName with data set #1 ('/somewherelese/solr/', 'corename', 'corename')
Providing invalid named argument $expectedName for method ApacheSolrForTypo3\Solr\Tests\Unit\System\Solr\SolrConnectionTest::canGetCoreName() is deprecated and will not be supported in PHPUnit 11.0.
  • Itegration tests
1) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set "normal" ('homepage', ['website'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

2) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set "umlaut" ('früher', ['vergangenheit'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

3) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set """ ('"', ['quote mark'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

4) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set "%" ('%', ['percent'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

5) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set "#" ('#', ['hashtag'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

6) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set ":" (':', ['colon'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

7) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym with data set ";" (';', ['semicolon'])
* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $baseword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddAndDeleteSynonym() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:75

8) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddStopWord with data set "normal" ('badword')
* Providing invalid named argument $stopword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddStopWord() is deprecated and will not be supported in PHPUnit 11.0.

* Providing invalid named argument $stopword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddStopWord() is deprecated and will not be supported in PHPUnit 11.0.

/home/runner/work/ext-solr/ext-solr/Tests/Integration/System/Solr/Service/SolrAdminServiceTest.php:107

9) ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddStopWord with data set "umlaut" ('frühaufsteher')
* Providing invalid named argument $stopword for method ApacheSolrForTypo3\Solr\Tests\Integration\System\Solr\Service\SolrAdminServiceTest::canAddStopWord() is deprecated and will not be supported in PHPUnit 11.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant