Skip to content

Commit

Permalink
fix: static analysis (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Apr 24, 2024
1 parent 1248730 commit 42772cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/non-debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
return static function (ContainerConfigurator $containerConfigurator): void {
$services = $containerConfigurator->services();

dump(123);

$services
->set('rekalogika.mapper.cache.property_info')
->parent('cache.system')
Expand Down
1 change: 1 addition & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
->tag('rekalogika.mapper.transformer', ['priority' => -650]);

$services
// @phpstan-ignore-next-line
->set(ClassMethodTransformer::class)
->args([
service('rekalogika.mapper.sub_mapper.factory'),
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:
paths:
- src
- tests
- config
checkBenevolentUnionTypes: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
Expand Down

0 comments on commit 42772cc

Please sign in to comment.