You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move caching to from Transport layer to Repository layer
Tests
refactor all calls from $this->expectException to self::expectException and from $this->assert* to self::assert*
move calls to expectException just before the exception occurs
add e2e tests using var_export (requires the __set_state feature)
refactor tests to use provide specific data sets, example: function fetchApiExxhangeRates($date, $date2) { return $this->fetchArray("/api/exchangerates/tables/$date1/$date2" ...; move array shapes there
Change all non-mock objects to be created by createStub method instead of createMock
Replace willReturnOnConsecutiveCalls and willReturnMap with expectations (according to the latest PhpUnit 10 guidelines)
CI/CD
Add Deptrac
Run tests on multiple PHP versions
Documentation
add array shapes to all typehints in dockblocks instead of array
This issue tracks the technical debt todos.
Features
__set_state
methods on all domain objectsEnhancements
TransportFactory
- use better system for detecting 3rd party libraries along with versions (not only class_exists)Refactor
Tests
$this->expectException
toself::expectException
and from$this->assert*
toself::assert*
expectException
just before the exception occurs__set_state
feature)fetchApiExxhangeRates($date, $date2) { return $this->fetchArray("/api/exchangerates/tables/$date1/$date2" ...
; move array shapes therecreateStub
method instead ofcreateMock
willReturnOnConsecutiveCalls
andwillReturnMap
with expectations (according to the latest PhpUnit 10 guidelines)CI/CD
Documentation
The text was updated successfully, but these errors were encountered: