Skip to content

Use stricter assertions in tests

6ada964
Select commit
Loading
Failed to load commit list.
Open

chore: modernize PHPUnit 8 test setup and deprecated APIs #756

Use stricter assertions in tests
6ada964
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action May 7, 2026 in 0s

1 new issue (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- src/OpenCATS/Tests/UnitTests/VCardTest.php  2
         

Complexity decreasing per file
==============================
+ src/OpenCATS/Tests/IntegrationTests/DatabaseTestCase.php  -1
         

See the complete overview on Codacy

Annotations

Check notice on line 54 in src/OpenCATS/Tests/UnitTests/CompanyRepositoryTest.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/OpenCATS/Tests/UnitTests/CompanyRepositoryTest.php#L54

Avoid excessively long variable names like $expectedIntegerValues. Keep variable name length under 20.