Skip to content

Commit f56a3d4

Browse files
authored
Merge pull request #399 from koriym/phpdoc
Support psr/log 2 and 3
2 parents ba9df85 + 38798ef commit f56a3d4

File tree

6 files changed

+35
-2
lines changed

6 files changed

+35
-2
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323
"ray/aop": "^2.10",
2424
"ray/di": "^2.13",
2525
"ray/object-visual-grapher": "^1.0",
26-
"psr/log": "^1.1",
26+
"psr/log": "^1.1 || ^2.0 || ^3.0",
2727
"doctrine/cache": "^1.10 || ^2.0",
2828
"doctrine/annotations": "^1.11",
2929
"koriym/http-constants": "^1.1",
3030
"ray/psr-cache-module": "^1.1.2",
3131
"symfony/cache": "^5.3",
3232
"psr/cache": "^1.0",
33-
"koriym/attributes": "^1.0"
33+
"koriym/attributes": "^1.0",
34+
"ray/compiler": "^1.7"
3435
},
3536
"require-dev": {
3637
"phpunit/phpunit": "^9.5.10",

src/Module/AppMetaModule.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
use function assert;
1414
use function class_exists;
1515

16+
/**
17+
* Provides AbstractAppMeta and derived bindings
18+
*
19+
* The following bindings are provided:
20+
*
21+
* AbstractAppMeta
22+
* AppInterface
23+
* :AppName
24+
*/
1625
class AppMetaModule extends AbstractModule
1726
{
1827
private AbstractAppMeta $appMeta;

src/Module/ImportAppModule.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
use Ray\Di\AbstractModule;
1212
use Ray\Di\Exception\NotFound;
1313

14+
/**
15+
* Provides SchemeCollectionInterface and derived bindings
16+
*
17+
* The following bindings are provided:
18+
*
19+
* SchemeCollectionInterface
20+
* SchemeCollectionInterface:original
21+
* :ImportAppConfig
22+
*/
1423
final class ImportAppModule extends AbstractModule
1524
{
1625
/**

src/Module/Psr6NullModule.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
use Ray\PsrCacheModule\Annotation\Shared;
1212
use Symfony\Component\Cache\Adapter\NullAdapter;
1313

14+
/**
15+
* Provides CacheItemPoolInterface and derived bindings
16+
*
17+
* The following bindings are provided:
18+
*
19+
* CacheItemPoolInterface:Ray\PsrCacheModule\Annotation\Local
20+
* CacheItemPoolInterface:Ray\PsrCacheModule\Annotation\Shared
21+
*/
1422
final class Psr6NullModule extends AbstractModule
1523
{
1624
protected function configure(): void

src/Module/ScriptinjectorModule.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Ray\Di\AbstractModule;
99
use Ray\Di\InjectorInterface;
1010

11+
/**
12+
* Provides InjectorInterface
13+
*/
1114
class ScriptinjectorModule extends AbstractModule
1215
{
1316
private string $scriptDir;

src/PackageModule.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Ray\Compiler\DiCompileModule;
1616
use Ray\Di\AbstractModule;
1717

18+
/**
19+
* Provides framework base bindings
20+
*/
1821
class PackageModule extends AbstractModule
1922
{
2023
/**

0 commit comments

Comments
 (0)