Skip to content

Commit 733b8e4

Browse files
committed
Linting + added .laminas-ci.json
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent 718a2bd commit 733b8e4

6 files changed

Lines changed: 7 additions & 9 deletions

File tree

.laminas-ci.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"ignore_php_platform_requirements": {
3+
"8.4": true
4+
},
5+
"backwardCompatibilityCheck": true
6+
}

docs/book/v4/factories/repository.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Inject entity repositories
22

3-
43
## Prepare repository
54

65
`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
2221

2322
Each entity repository must extend `Doctrine\ORM\EntityRepository`.
2423

25-
2624
## Register repository
2725

2826
Open the ConfigProvider of the module where your repository resides.

docs/book/v4/factories/service.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Inject class dependencies
22

3-
43
## Prepare class
54

65
`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
4948
}
5049
```
5150

52-
5351
## Register class
5452

5553
Open the ConfigProvider of the module where your class resides.

docs/book/v5/factories/repository.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Inject entity repositories
22

3-
43
## Prepare repository
54

65
`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
2019

2120
Each entity repository must extend `Doctrine\ORM\EntityRepository`.
2221

23-
2422
## Register repository
2523

2624
Open the ConfigProvider of the module where your repository resides.

docs/book/v5/factories/service.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Inject class dependencies
22

3-
43
## Prepare class
54

65
`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
4544
}
4645
```
4746

48-
4947
## Register class
5048

5149
Open the ConfigProvider of the module where your class resides.

docs/book/v5/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
By providing reusable factories for service and repository injection, it reduces code complexity in projects.
66

77
> `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.
8-
>
8+
>
99
> Going forward, if you want to use annotations in your projects, use [dot-annotated-services v4](../v4/overview.md), else use `dot-dependency-injection`.

0 commit comments

Comments
 (0)