Skip to content

Commit acfbe5c

Browse files
authored
Merge pull request #130 from WyriHaximus/transform-to-attrributes
Transform to Attributes
2 parents ecd704c + 24500dc commit acfbe5c

30 files changed

+322
-557
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
name: Continuous Integration
1717
uses: WyriHaximus/github-workflows/.github/workflows/package.yaml@main
1818
with:
19-
services: "{\"postgres\":{\"image\":\"postgres:\$\{\{ matrix.postgres \}\}\",\"env\":{\"POSTGRES_PASSWORD\":\"postgres\"},\"options\":\"--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\"}}"
19+
services: "{\"postgres\":{\"image\":\"postgres:${{ matrix.postgres }}\",\"env\":{\"POSTGRES_PASSWORD\":\"postgres\"},\"options\":\"--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\"}}"

composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@
1111
],
1212
"require": {
1313
"php": "^8.2",
14-
"doctrine/annotations": "^1.13",
1514
"eventsauce/object-hydrator": "^1.4",
1615
"latitude/latitude": "^4.1",
1716
"ramsey/uuid": "^4.2.3",
18-
"react/dns": "^1.9",
1917
"react/event-loop": "^1.3",
2018
"react/promise": "^3.1",
2119
"react/stream": "^1.1",
22-
"reactivex/rxphp": "^2.0",
23-
"roave/better-reflection": "^4.0 || ^5 || ^6",
24-
"thecodingmachine/safe": "^1.3 || ^2",
20+
"reactivex/rxphp": "^2.0.12",
21+
"roave/better-reflection": "^6",
22+
"thecodingmachine/safe": "^2",
2523
"voryx/pgasync": "^2.0",
2624
"wyrihaximus/constants": "^1.5",
2725
"wyrihaximus/doctrine-annotation-autoloader": "^1.0",

composer.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Annotation/Clause.php

Lines changed: 0 additions & 85 deletions
This file was deleted.

src/Annotation/InnerJoin.php

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/Annotation/JoinInterface.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/Annotation/LeftJoin.php

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/Annotation/Table.php

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/Attribute/Clause.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace WyriHaximus\React\SimpleORM\Attribute;
6+
7+
final readonly class Clause
8+
{
9+
public function __construct(
10+
public string $localKey,
11+
public string $foreignKey,
12+
public string|null $localCast = null,
13+
public string|null $localFunction = null,
14+
public string|null $foreignCast = null,
15+
public string|null $foreignFunction = null,
16+
) {
17+
}
18+
}

0 commit comments

Comments
 (0)