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
4 changes: 4 additions & 0 deletions ci/rector/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Rector\Config\RectorConfig;
use Rector\Doctrine\Set\DoctrineSetList;
use Rector\Naming\Rector\Class_\RenamePropertyToMatchTypeRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;

Expand Down Expand Up @@ -38,6 +39,9 @@
DoctrineSetList::DOCTRINE_CODE_QUALITY,
LevelSetList::UP_TO_PHP_81,
])
->withRules([
PreferPHPUnitThisCallRector::class,
])
->withSkip([
RenamePropertyToMatchTypeRector::class,
FlipTypeControlToUseExclusiveTypeRector::class => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function throws_domain_exception_when_invalid_array_item_value(): void
$this->expectExceptionMessage("One or more of the items given doesn't look valid.");

$this->fixture
->expects(self::once())
->expects($this->once())
->method('isValidArrayItemForDatabase')
->willReturn(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function can_get_correct_sql_declaration(): void
};

$this->platform
->expects(self::once())
->expects($this->once())
->method('getDoctrineTypeMapping')
->with('custom_type')
->willReturn('CUSTOM_SQL_TYPE');
Expand Down
Loading