diff --git a/.laminas-ci.json b/.laminas-ci.json new file mode 100644 index 0000000..82cd446 --- /dev/null +++ b/.laminas-ci.json @@ -0,0 +1,6 @@ +{ + "ignore_php_platform_requirements": { + "8.4": true + }, + "backwardCompatibilityCheck": true +} diff --git a/docs/book/v4/factories/repository.md b/docs/book/v4/factories/repository.md index e7bdec0..d467775 100644 --- a/docs/book/v4/factories/repository.md +++ b/docs/book/v4/factories/repository.md @@ -1,6 +1,5 @@ # Inject entity repositories - ## Prepare repository `dot-annotated-services` determines the entity a repository is related to by looking at the `@Entity` annotation, added to the repository class. @@ -22,7 +21,6 @@ class ExampleRepository extends Doctrine\ORM\EntityRepository Each entity repository must extend `Doctrine\ORM\EntityRepository`. - ## Register repository Open the ConfigProvider of the module where your repository resides. diff --git a/docs/book/v4/factories/service.md b/docs/book/v4/factories/service.md index 6790658..d3d9e63 100644 --- a/docs/book/v4/factories/service.md +++ b/docs/book/v4/factories/service.md @@ -1,6 +1,5 @@ # Inject class dependencies - ## Prepare class `dot-annotated-services` determines the dependencies by looking at the `@Inject` annotation, added to the constructor of a class. @@ -49,7 +48,6 @@ If your class needs the value of a specific configuration key, you can specify t } ``` - ## Register class Open the ConfigProvider of the module where your class resides. diff --git a/docs/book/v5/factories/repository.md b/docs/book/v5/factories/repository.md index 74ede58..ba31aee 100644 --- a/docs/book/v5/factories/repository.md +++ b/docs/book/v5/factories/repository.md @@ -1,6 +1,5 @@ # Inject entity repositories - ## Prepare repository `dot-annotated-services` determines the entity a repository is related to by looking at the `#[Entity]` attribute, added to the repository class. @@ -20,7 +19,6 @@ class ExampleRepository extends Doctrine\ORM\EntityRepository Each entity repository must extend `Doctrine\ORM\EntityRepository`. - ## Register repository Open the ConfigProvider of the module where your repository resides. diff --git a/docs/book/v5/factories/service.md b/docs/book/v5/factories/service.md index a30bbfb..c8ad182 100644 --- a/docs/book/v5/factories/service.md +++ b/docs/book/v5/factories/service.md @@ -1,6 +1,5 @@ # Inject class dependencies - ## Prepare class `dot-annotated-services` determines the dependencies by looking at the `#[Inject]` attribute, added to the constructor of a class. @@ -45,7 +44,6 @@ If your class needs the value of a specific configuration key, you can specify t } ``` - ## Register class Open the ConfigProvider of the module where your class resides. diff --git a/docs/book/v5/overview.md b/docs/book/v5/overview.md index 2e84616..06a23f1 100644 --- a/docs/book/v5/overview.md +++ b/docs/book/v5/overview.md @@ -5,5 +5,5 @@ By providing reusable factories for service and repository injection, it reduces code complexity in projects. > `dot-annotated-services` v5 has been abandoned in favor of [dot-dependency-injection](https://github.com/dotkernel/dot-dependency-injection), which uses PHP attributes instead of annotations. -> +> > Going forward, if you want to use annotations in your projects, use [dot-annotated-services v4](../v4/overview.md), else use `dot-dependency-injection`.