feat(database): primary key improvements #2476
coding-conventions.yml
on: pull_request
Run style check
47s
Run static analysis: PHPStan
36s
Annotations
7 errors and 3 warnings
|
Run static analysis: PHPStan
Process completed with exit code 1.
|
|
Run static analysis: PHPStan:
tests/Integration/Database/RefreshModelTest.php#L59
Property Tests\Tempest\Fixtures\Modules\Books\Models\Book::$author (Tests\Tempest\Fixtures\Modules\Books\Models\Author) in isset() is not nullable.
|
|
Run static analysis: PHPStan:
tests/Integration/Database/Builder/UpdateRelationsTest.php#L204
Call to method PHPUnit\Framework\Assert::assertNotNull() with Tests\Tempest\Fixtures\Modules\Books\Models\Isbn will always evaluate to true.
|
|
Run static analysis: PHPStan:
tests/Integration/Database/Builder/UpdateRelationsTest.php#L96
Call to method PHPUnit\Framework\Assert::assertNotNull() with Tests\Tempest\Fixtures\Modules\Books\Models\Isbn will always evaluate to true.
|
|
Run static analysis: PHPStan:
tests/Integration/Database/Builder/InsertRelationsTest.php#L152
Call to method PHPUnit\Framework\Assert::assertNotNull() with Tests\Tempest\Fixtures\Modules\Books\Models\Isbn will always evaluate to true.
|
|
Run static analysis: PHPStan:
tests/Integration/Database/Builder/InsertRelationsTest.php#L120
Call to method PHPUnit\Framework\Assert::assertNotNull() with Tests\Tempest\Fixtures\Modules\Books\Models\Isbn will always evaluate to true.
|
|
Run static analysis: PHPStan:
tests/Integration/Database/Builder/InsertRelationsTest.php#L73
Call to method PHPUnit\Framework\Assert::assertNotNull() with Tests\Tempest\Fixtures\Modules\Books\Models\Isbn will always evaluate to true.
|
|
best-practices/no-empty-catch-clause:
packages/kv-store/tests/PhpRedisClientTest.php#L42
Empty catch clause suppresses errors.
Empty catch clauses hide exceptions and make debugging more difficult.
Help: Add error handling or remove the catch clause.
|
|
best-practices/no-empty-catch-clause:
tests/Integration/KeyValue/RedisTest.php#L42
Empty catch clause suppresses errors.
Empty catch clauses hide exceptions and make debugging more difficult.
Help: Add error handling or remove the catch clause.
|
|
best-practices/no-empty-catch-clause:
packages/kv-store/tests/PredisClientTest.php#L48
Empty catch clause suppresses errors.
Empty catch clauses hide exceptions and make debugging more difficult.
Help: Add error handling or remove the catch clause.
|