Skip to content

Commit 6bdf1c1

Browse files
committed
Issue dotkernel#58: Replace Psalm with PHPStan
Signed-off-by: horea <horea@rospace.com>
1 parent dd29749 commit 6bdf1c1

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# dot-annotated-services
22

3-
Dotkernel component used to create services through [Laminas Service Manager](https://github.com/laminas/laminas-servicemanager) and inject them with dependencies just using method annotations. It can also create services without the need to write factories. Annotation parsing can be cached, to improve performance.
3+
Dotkernel component used to create services through [Laminas Service Manager](https://github.com/laminas/laminas-servicemanager) and inject them with dependencies just using method annotations.
4+
It can also create services without the need to write factories. Annotation parsing can be cached, to improve performance.
45

56
This package can clean up your code, by getting rid of all the factories you write, sometimes just to inject a dependency or two.
67

78
## Documentation
89

9-
Documentation is available at: https://docs.dotkernel.org/dot-controller/.
10+
Documentation is available at: https://docs.dotkernel.org/dot-annotated-services/.
1011

1112
## Badges
1213

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"scripts": {
4646
"check": [
4747
"@cs-check",
48-
"@test"
48+
"@test",
49+
"@static-analysis"
4950
],
5051
"cs-check": "phpcs",
5152
"cs-fix": "phpcbf",

docs/book/v4/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Overview
22

3-
`dot-annotated-services` is Dotkernel's dependency injection service.
3+
`dot-annotated-services` is Dotkernel's dependency injection service using annotations.
44

55
By providing reusable factories for service and repository injection, it reduces code complexity in projects.
66

docs/book/v5/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Overview
22

3-
`dot-annotated-services` is DotKernel's dependency injection service.
3+
`dot-annotated-services` is Dotkernel's dependency injection service.
44

55
By providing reusable factories for service and repository injection, it reduces code complexity in projects.
66

phpstan.neon

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,3 @@ parameters:
66
- src
77
- test
88
treatPhpDocTypesAsCertain: false
9-
ignoreErrors:
10-
- message: '#Call to an undefined method .*::method\(\)\.#'
11-
path: test/AnnotatedRepositoryFactoryTest.php
12-
- message: '~Parameter #1 \$className of method PHPUnit\\Framework\\TestCase::getMockBuilder\(\) expects class-string<TestRepository>, string given.~'
13-
path: test/AnnotatedRepositoryFactoryTest.php
14-
- message: '#Call to an undefined method .*::method\(\)\.#'
15-
path: test/AnnotatedServiceFactoryTest.php
16-
- message: '~Parameter #1 \$className of method PHPUnit\\Framework\\TestCase::getMockBuilder\(\) expects class-string<TestService>, string given.~'
17-
path: test/AnnotatedServiceFactoryTest.php

0 commit comments

Comments
 (0)