Skip to content

Commit 4269e35

Browse files
author
Plakhotnikov Vladimir
committed
ci: add rector workflow
1 parent b3dc89d commit 4269e35

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
->withPHPStanConfigs([
2727
__DIR__ . '/phpstan-baseline.neon',
2828
])
29-
->withImportNames(importNames: true, importDocBlockNames: true, importShortClasses: false, removeUnusedImports: true)
29+
->withImportNames(importNames: false, importDocBlockNames: true, importShortClasses: false, removeUnusedImports: true)
3030
->withPhpVersion(PhpVersion::PHP_81)
3131
->withPhpSets(php81: true)
3232
->withPreparedSets(

src/Client/TrapHandle/Dumper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Buggregator\Trap\Client\TrapHandle;
66

7-
use Buggregator\Trap\Client\TrapHandle\ContextProvider\Source;
87
use Symfony\Component\HttpFoundation\Request;
98
use Symfony\Component\HttpFoundation\RequestStack;
109
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
@@ -133,7 +132,7 @@ private static function getContextProviders(): array
133132

134133
return $contextProviders + [
135134
'cli' => new CliContextProvider(),
136-
'source' => new Source(null, null, $fileLinkFormatter),
135+
'source' => new ContextProvider\Source(null, null, $fileLinkFormatter),
137136
];
138137
}
139138
}

0 commit comments

Comments
 (0)