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
refactor: add GlobalsAccessor abstraction for OpenEMR globals access
- Add ConfigAccessorInterface with typed getters (get, getString, getBoolean, getInt, has)
- Implement GlobalsAccessor to wrap $GLOBALS access
- Update CodeImporter to use injected ConfigAccessorInterface
- Update OpenEMRConnector to use injected ConfigAccessorInterface
- Update ImportCodesCommand to wire up GlobalsAccessor by default
- Add comprehensive unit tests for GlobalsAccessor (21 tests)
- Update existing tests for new constructor signatures
Fixes#19
Co-Authored-By: Claude Opus 4.5 <[email protected]>
0 commit comments