Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

use Rector\CodeQuality\Rector\PropertyFetch\ExplicitMethodCallOverMagicGetSetRector;
use Rector\Config\RectorConfig;
use RectorLaravel\Rector\Assign\CallOnAppArrayAccessToStandaloneAssignRector;
use RectorLaravel\Rector\ClassMethod\AddParentRegisterToEventServiceProviderRector;
use RectorLaravel\Set\LaravelSetList;
use Rector\Php74\Rector\Property\TypedPropertyRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\SetList;
Expand All @@ -22,7 +19,6 @@

// Define what rule sets will be applied
$containerConfigurator->import(PHPUnitSetList::PHPUNIT_91);
$containerConfigurator->import(LaravelSetList::LARAVEL_90);
$containerConfigurator->import(SetList::CODE_QUALITY);
$containerConfigurator->import(SetList::DEAD_CODE);
$containerConfigurator->import(SetList::PHP_80);
Expand All @@ -32,6 +28,4 @@

// register a single rule
$services->set(TypedPropertyRector::class);
$services->set(CallOnAppArrayAccessToStandaloneAssignRector::class);
$services->set(AddParentRegisterToEventServiceProviderRector::class);
};
2 changes: 1 addition & 1 deletion tests/Units/Domain/EventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function testTransactionCreatedThrowListener(): void
{
$this->app->bind(ClockServiceInterface::class, ClockFakeService::class);

Event::listen(TransactionCreatedEventInterface::class, TransactionCreatedThrowListener::class,);
Event::listen(TransactionCreatedEventInterface::class, TransactionCreatedThrowListener::class);

/** @var Buyer $buyer */
$buyer = BuyerFactory::new()->create();
Expand Down