We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i run rector laravel with this configuration, the dispatchNow is not replaced by dispatchSync.
In rector.php
return RectorConfig::configure() ->withPaths([ __DIR__ . '/app', __DIR__ . '/config', __DIR__ . '/database', __DIR__ . '/modules', __DIR__ . '/public', __DIR__ . '/resources', __DIR__ . '/tests', ]) ->withSets([ LevelSetList::UP_TO_PHP_83, LaravelLevelSetList::UP_TO_LARAVEL_100, ]);
(I tried with PHPUnitSetList::PHPUNIT_100 too)
In my code
// Arrange $product = Product::factory()->create(); $user = auth()->user(); // Act ExportProduct::dispatchNow($product->id, $user->email); // Assert
The line with Product::factory() has been changed by rector in this file, so it's parsed
Product::factory()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When i run rector laravel with this configuration, the dispatchNow is not replaced by dispatchSync.
In rector.php
(I tried with PHPUnitSetList::PHPUNIT_100 too)
In my code
The line with
Product::factory()
has been changed by rector in this file, so it's parsedThe text was updated successfully, but these errors were encountered: