MantisBT: master be443604

Author Committer Branch Timestamp Parent
grummbeer dregad master 2024-04-01 04:45 master 62ead2c4
Affected Issues  0034379: Modernizing Tests (partially tests/Mantis)
Changeset

Improve ArrayTransposeTest

  • Update array syntax from array() to []
  • Add type hints and add declare(strict_types=1);
  • Use the Generator syntax to yield the samples instead of creating an
    array first.
  • Change assertEquals to assertSame to be more strict.

Fixes 0034379, PR https://github.com/mantisbt/mantisbt/pull/1985

Signed-off-by: Damien Regad dregad@mantisbt.org

Separated Move and Rename operations into distinct commits for better
continuity in Git history.

mod - tests/Mantis/Helper/ArrayTransposeTest.php Diff File