Skip to content

Commit 9606351

Browse files
no message
1 parent 0ef539a commit 9606351

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/BaseNetworkTypeArrayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function has_name(): void
5757

5858
#[Test]
5959
#[DataProvider('provideValidTransformations')]
60-
public function can_convert_to_php_value(?array $phpValue, ?string $postgresValue): void
60+
public function can_transform_to_php_value(?array $phpValue, ?string $postgresValue): void
6161
{
6262
self::assertEquals($phpValue, $this->fixture->convertToPHPValue($postgresValue, $this->platform));
6363
}

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/BaseTypeTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function throws_exception_when_getting_sql_declaration_with_no_type_name(
4949
}
5050

5151
#[Test]
52-
public function returns_correct_type_name(): void
52+
public function can_return_correct_type_name(): void
5353
{
5454
$type = new class extends BaseType {
5555
protected const TYPE_NAME = 'custom_type';
@@ -59,7 +59,7 @@ public function returns_correct_type_name(): void
5959
}
6060

6161
#[Test]
62-
public function gets_correct_sql_declaration(): void
62+
public function can_get_correct_sql_declaration(): void
6363
{
6464
$type = new class extends BaseType {
6565
protected const TYPE_NAME = 'custom_type';
@@ -76,7 +76,7 @@ public function gets_correct_sql_declaration(): void
7676
}
7777

7878
#[Test]
79-
public function requires_sql_comment_hint_returns_false(): void
79+
public function can_return_false_for_sql_comment_hint_requirement(): void
8080
{
8181
$type = new class extends BaseType {
8282
protected const TYPE_NAME = 'custom_type';

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/PointArrayTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function handles_edge_case_with_empty_and_malformed_arrays(): void
183183
}
184184

185185
#[Test]
186-
public function returns_empty_array_for_non_standard_postgres_array_format(): void
186+
public function can_return_empty_array_for_non_standard_postgres_array_format(): void
187187
{
188188
$result1 = $this->fixture->convertToPHPValue('[test]', $this->platform);
189189
$result2 = $this->fixture->convertToPHPValue('not-an-array', $this->platform);

tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/ValueObject/BaseTimestampRangeTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
/**
1212
* Base test case for timestamp range types (TsRange, TstzRange).
1313
* Provides common timestamp-specific test patterns.
14-
*/
15-
/**
14+
*
1615
* @template R of \DateTimeInterface
1716
*/
1817
abstract class BaseTimestampRangeTestCase extends BaseRangeTestCase

0 commit comments

Comments
 (0)