Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Jun 24, 2024
1 parent e117bbb commit b4195ae
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/Schema/AbstractSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,6 @@ private function getDatabase(string $methodName): string
return $database;
}

/** @param ComparatorConfig $config */
public function createComparator(/* ComparatorConfig $config = new ComparatorConfig() */): Comparator

Check warning on line 845 in src/Schema/AbstractSchemaManager.php

View check run for this annotation

Codecov / codecov/patch

src/Schema/AbstractSchemaManager.php#L845

Added line #L845 was not covered by tests
{
return new Comparator($this->platform, func_num_args() > 0 ? func_get_arg(0) : new ComparatorConfig());

Check warning on line 847 in src/Schema/AbstractSchemaManager.php

View check run for this annotation

Codecov / codecov/patch

src/Schema/AbstractSchemaManager.php#L847

Added line #L847 was not covered by tests
Expand Down
6 changes: 1 addition & 5 deletions src/Schema/MySQLSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,7 @@ protected function _getPortableTableForeignKeyDefinition(array $tableForeignKey)
);
}

/**
* @param ComparatorConfig $config
*
* @throws Exception
*/
/** @throws Exception */
public function createComparator(/* ComparatorConfig $config = new ComparatorConfig() */): Comparator

Check warning on line 319 in src/Schema/MySQLSchemaManager.php

View check run for this annotation

Codecov / codecov/patch

src/Schema/MySQLSchemaManager.php#L319

Added line #L319 was not covered by tests
{
return new MySQL\Comparator(
Expand Down
6 changes: 1 addition & 5 deletions src/Schema/SQLServerSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,7 @@ protected function _getPortableViewDefinition(array $view): View
return new View($view['name'], $view['definition']);
}

/**
* @param ComparatorConfig $config
*
* @throws Exception
*/
/** @throws Exception */
public function createComparator(/* ComparatorConfig $config = new ComparatorConfig() */): Comparator
{
return new SQLServer\Comparator(
Expand Down
1 change: 0 additions & 1 deletion src/Schema/SQLiteSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ private function getForeignKeyDetails(string $table): array
return $details;
}

/** @param ComparatorConfig $config */
public function createComparator(/* ComparatorConfig $config = new ComparatorConfig() */): Comparator

Check warning on line 498 in src/Schema/SQLiteSchemaManager.php

View check run for this annotation

Codecov / codecov/patch

src/Schema/SQLiteSchemaManager.php#L498

Added line #L498 was not covered by tests
{
return new SQLite\Comparator($this->platform, func_num_args() > 0 ? func_get_arg(0) : new ComparatorConfig());

Check warning on line 500 in src/Schema/SQLiteSchemaManager.php

View check run for this annotation

Codecov / codecov/patch

src/Schema/SQLiteSchemaManager.php#L500

Added line #L500 was not covered by tests
Expand Down

0 comments on commit b4195ae

Please sign in to comment.