Skip to content

Commit

Permalink
Merge pull request #130 from WyriHaximus/transform-to-attrributes
Browse files Browse the repository at this point in the history
Transform to Attributes
  • Loading branch information
WyriHaximus authored Mar 19, 2024
2 parents ecd704c + 24500dc commit acfbe5c
Show file tree
Hide file tree
Showing 30 changed files with 322 additions and 557 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
name: Continuous Integration
uses: WyriHaximus/github-workflows/.github/workflows/package.yaml@main
with:
services: "{\"postgres\":{\"image\":\"postgres:\$\{\{ matrix.postgres \}\}\",\"env\":{\"POSTGRES_PASSWORD\":\"postgres\"},\"options\":\"--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\"}}"
services: "{\"postgres\":{\"image\":\"postgres:${{ matrix.postgres }}\",\"env\":{\"POSTGRES_PASSWORD\":\"postgres\"},\"options\":\"--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5\"}}"
8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@
],
"require": {
"php": "^8.2",
"doctrine/annotations": "^1.13",
"eventsauce/object-hydrator": "^1.4",
"latitude/latitude": "^4.1",
"ramsey/uuid": "^4.2.3",
"react/dns": "^1.9",
"react/event-loop": "^1.3",
"react/promise": "^3.1",
"react/stream": "^1.1",
"reactivex/rxphp": "^2.0",
"roave/better-reflection": "^4.0 || ^5 || ^6",
"thecodingmachine/safe": "^1.3 || ^2",
"reactivex/rxphp": "^2.0.12",
"roave/better-reflection": "^6",
"thecodingmachine/safe": "^2",
"voryx/pgasync": "^2.0",
"wyrihaximus/constants": "^1.5",
"wyrihaximus/doctrine-annotation-autoloader": "^1.0",
Expand Down
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 0 additions & 85 deletions src/Annotation/Clause.php

This file was deleted.

65 changes: 0 additions & 65 deletions src/Annotation/InnerJoin.php

This file was deleted.

22 changes: 0 additions & 22 deletions src/Annotation/JoinInterface.php

This file was deleted.

65 changes: 0 additions & 65 deletions src/Annotation/LeftJoin.php

This file was deleted.

29 changes: 0 additions & 29 deletions src/Annotation/Table.php

This file was deleted.

18 changes: 18 additions & 0 deletions src/Attribute/Clause.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

namespace WyriHaximus\React\SimpleORM\Attribute;

final readonly class Clause
{
public function __construct(
public string $localKey,
public string $foreignKey,
public string|null $localCast = null,
public string|null $localFunction = null,
public string|null $foreignCast = null,
public string|null $foreignFunction = null,
) {
}
}
Loading

0 comments on commit acfbe5c

Please sign in to comment.