View Issue Details

IDProjectCategoryView StatusLast Update
0032810mantisbttoolspublic2023-11-04 07:16
Reporterdregad Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0032810: Ugrade to PHPUnit 8.5 and adapt test suite
Description

PHPUnit 8.5 introduces are several breaking changes that will require adapting the test scripts.
https://phpunit.de/announcements/phpunit-8.html

It supports PHP >= 7.2, so we'll no longer need the temporary changes from 0029882 to provide PHP 8.1 compatibility.

TagsNo tags attached.

Relationships

related to 0029882 closeddregad Enable PHP 8.1 builds on Travis-CI 
parent of 0027840 closeddregad Increase minimum PHP requirement to 7.2.5 
related to 0032814 closeddregad PHPUnit SOAP API tests trigger syntax error when extension is not loaded 
related to 0032815 closeddregad Error when executing the complete PHPUnit test suite with AllTests.php 
related to 0032816 closeddregad Use phpunit.xml to define Test Suites 
related to 0032828 closeddregad TravisCI ' /usr/sbin/sendmail: not found' error after successful test execution 
related to 0033098 assigneddregad Ugrade to PHPUnit 9.6 and adapt test suite 

Activities

Related Changesets

MantisBT: master 44525954

2023-08-01 12:15

dregad


Details Diff
Update PHPUnit minimum version to 8.5

With PHPUnit 8.5, which supports PHP >= 7.2, we no longer need the
temporary changes from issue 0029882 to provide PHP 8.1 compatibility.

This reverts commit f82c03b1b5b215fa3926d427cb8d7407dcb9965f by removing
the dependencies on custom forks of PHPUnit and required libraries.

Fixes 0032810
Affected Issues
0029882, 0032810
mod - composer.json Diff File

MantisBT: master 0e1fce2a

2023-08-18 18:14

dregad


Details Diff
Upgrade to PHPUnit 8.5

Fixes 0032810
Affected Issues
0032810
mod - .gitignore Diff File
mod - .travis.yml Diff File
mod - build/travis_script.sh Diff File
mod - composer.json Diff File
mod - composer.lock Diff File
mod - docbook/Developers_Guide/en-US/Contributors.xml Diff File
add - phpunit.xml Diff File
rm - tests/AllTests.php Diff
rm - tests/Mantis/AllTests.php Diff
mod - tests/Mantis/ConfigParserTest.php Diff File
mod - tests/Mantis/MantisCoreBase.php Diff File
mod - tests/Mantis/PluginTest.php Diff File
mod - tests/Mantis/UserTest.php Diff File
add - tests/fakesendmail.sh Diff File
rm - tests/rest/AllTests.php Diff
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestImpersonateUserTest.php Diff File
mod - tests/rest/RestIssueTest.php Diff File
mod - tests/rest/RestProjectVersionTest.php Diff File
mod - tests/rest/RestUserTest.php Diff File
rm - tests/soap/AllTests.php Diff
mod - tests/soap/AttachmentTest.php Diff File
mod - tests/soap/CategoryTest.php Diff File
mod - tests/soap/EnumTest.php Diff File
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/ProjectTest.php Diff File
mod - tests/soap/SoapBase.php Diff File
mod - tests/soap/TagTest.php Diff File
mod - tests/soap/VersionTest.php Diff File

MantisBT: master 3fd1b884

2023-09-24 03:45

dependabot[bot]

Committer: community


Details Diff
Bump phpunit/phpunit from 8.5.33 to 8.5.34

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.33 to 8.5.34.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/8.5.34/ChangeLog-8.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/8.5.33...8.5.34)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Fixes 0032810, PR https://github.com/mantisbt/mantisbt/pull/1924
Affected Issues
0032810
mod - composer.lock Diff File