2 Commits

Author SHA1 Message Date
Sebastian 8ac00a3e3e chore(deps): update dependency phpunit/phpunit to v12.5.35
Build Test / test (pull_request) Successful in 45s
JS Unit Tests / test (pull_request) Successful in 47s
PHP Unit Tests / test (pull_request) Successful in 1m22s
PHP Integration Tests / Integration Tests (pull_request) Failing after 2m3s
2026-09-10 03:07:39 +00:00
Sebastian e9b558c815 refactor(module): register integrations through runtime contexts
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-08-31 22:55:11 -04:00
2 changed files with 14 additions and 18 deletions
Generated
+6 -6
View File
@@ -833,16 +833,16 @@
},
{
"name": "phpunit/phpunit",
"version": "12.5.34",
"version": "12.5.35",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "6cbff63d670de92cb1cb3d2ff9f40327e9da9c7f"
"reference": "345ac22e42cb14cdc7aa8428655d8bb8c82a4aab"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6cbff63d670de92cb1cb3d2ff9f40327e9da9c7f",
"reference": "6cbff63d670de92cb1cb3d2ff9f40327e9da9c7f",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/345ac22e42cb14cdc7aa8428655d8bb8c82a4aab",
"reference": "345ac22e42cb14cdc7aa8428655d8bb8c82a4aab",
"shasum": ""
},
"require": {
@@ -911,7 +911,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.34"
"source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.35"
},
"funding": [
{
@@ -919,7 +919,7 @@
"type": "other"
}
],
"time": "2026-08-27T08:38:28+00:00"
"time": "2026-09-09T04:48:50+00:00"
},
{
"name": "sebastian/cli-parser",
+8 -12
View File
@@ -2,13 +2,14 @@
namespace KTXM\ChronoManager;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\Configuration\BrowserModuleContextInterface;
use KTXF\Module\Configuration\ModuleContextInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Chrono Manager Module
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
class Module extends ModuleInstanceAbstract
{
public function __construct()
@@ -59,16 +60,11 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
];
}
public function registerBI(): array {
return [
'handle' => $this->handle(),
'namespace' => 'ChronoManager',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
public function configure(ModuleContextInterface $context): void
{
if ($context instanceof BrowserModuleContextInterface) {
$context->registerModule($this, 'ChronoManager', 'static/module.mjs');
}
}
}