Repository navigation
Releases: datasage/api-tools-oauth2
Release list
1.11.1
Normalized CI tooling and added a monthly dependabot configuration. Removed the tracked .coveralls.yml.
19 #[Override] attributes added, clearing every MissingOverrideAttribute entry from the psalm baseline. All fifteen doubles in the factory tests are now stubs — neither file configures an expectation.
Development tooling now at phpunit ^11.0 || ^12.0 || ^13.0, psalm ^6.14, laminas-coding-standard ^3.1.
No runtime behaviour changes. The only src/ edits are #[Override] attributes and their imports, so this is a patch release.
1.11.0
Supported PHP
~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 — adds 8.5, drops 8.1.
Dependencies
laminas/laminas-stdlib ^3.21andpsr/container ^1.1 || ^2.0added torequire; both are imported bysrc/but were only present transitively.laminas/laminas-mvc-i18ndropped. No release supports 8.5 (1.9.0 caps at~8.4.0), and it was only test wiring — theLaminas\Mvc\I18nmodule in three test application configs plus a'translator' => 'MvcTranslator'alias, with no test asserting translation behaviour.laminas-i18nis retained and does support 8.5.laminas-mvc→^3.8andlaminas-test→^4.13, with VCS repository entries fordatasage/laminas-mvcanddatasage/laminas-test. Neither upstream package has an 8.5 release.Laminas\AuthenticationandMongoClientare used insrc/but deliberately left undeclared: both are optional, guarded by$container->has()andclass_exists()respectively.- Floors raised to releases covering the whole supported range;
api-problem→^1.10,content-negotiation→^1.11.
PHPUnit ^10 → ^11.0 || ^12.0 || ^13.0
Required by laminas-test 4.13.0, which dropped end-of-life phpunit 10. Three migration items came with it:
- Overlapping test suites separated.
adapter-pdocoveredtest/Adapter/Pdowhile the main suite covered all oftest/, which contains it. PHPUnit 10 tolerated a file in two suites and ran those tests twice; 11 rejects it. The reported count drops from 74 to 55 — the 19 removed were duplicate executions, not lost coverage. provideStorage()converted from a@dataProviderto acreateStorage()helper. It depended on instance state ($this->setUp(), the booted application, a reflected private property, a SQL fixture), which PHPUnit 11 forbids for providers. 19 tests across 10 files now call it directly.getMockForAbstractClass()→createMock()in all nine call sites; the former is removed in PHPUnit 12 and would have broken every^12 || ^13job.
Other changes
- Removed 7 no-op
setAccessible()calls fromtest/, deprecated in 8.5. vimeo/psalm^5→^6.14; baseline regenerated; one deadInternalMethodsuppression removed..laminas-ci.jsonkeeps itsmongodb/pdo/pdo-sqliteextensions and swaps the 8.4 platform-req ignore for doc-lint exclusions.release-on-milestone-closed.ymlremoved.
No src/ changes.
CI green on 8.2, 8.3, 8.4 and 8.5 across locked, lowest and latest. 55 tests, 224 assertions, no deprecations. The 8.5 latest job resolves phpunit 13.