Skip to content

Commit 794eddd

Browse files
committed
chore: simplify fqdn
1 parent dee4214 commit 794eddd

File tree

4 files changed

+27
-25
lines changed

4 files changed

+27
-25
lines changed

api/frankenphp/Caddyfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
{$FRANKENPHP_CONFIG}
66

77
worker {
8-
env APP_RUNTIME Runtime\FrankenPhpSymfony\Runtime
98
file ./public/index.php
109

1110
{$FRANKENPHP_WORKER_CONFIG}

api/src/DataFixtures/Factory/BookmarkFactory.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use App\Entity\Bookmark;
88
use App\Repository\BookmarkRepository;
99
use Zenstruck\Foundry\FactoryCollection;
10+
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;
1011
use Zenstruck\Foundry\Persistence\Proxy;
1112
use Zenstruck\Foundry\Persistence\ProxyRepositoryDecorator;
1213

@@ -21,12 +22,12 @@
2122
* @method static Bookmark|Proxy last(string $sortedField = 'id')
2223
* @method static Bookmark|Proxy random(array $attributes = [])
2324
* @method static Bookmark|Proxy randomOrCreate(array $attributes = [])
24-
* @method static \App\Entity\Bookmark[]|\Zenstruck\Foundry\Persistence\Proxy[] all()
25-
* @method static \App\Entity\Bookmark[]|\Zenstruck\Foundry\Persistence\Proxy[] createMany(int $number, array|callable $attributes = [])
26-
* @method static \App\Entity\Bookmark[]|\Zenstruck\Foundry\Persistence\Proxy[] createSequence((iterable|callable) $sequence)
27-
* @method static \App\Entity\Bookmark[]|\Zenstruck\Foundry\Persistence\Proxy[] findBy(array $attributes)
28-
* @method static \App\Entity\Bookmark[]|\Zenstruck\Foundry\Persistence\Proxy[] randomRange(int $min, int $max, array $attributes = [])
29-
* @method static \App\Entity\Bookmark[]|\Zenstruck\Foundry\Persistence\Proxy[] randomSet(int $number, array $attributes = [])
25+
* @method static Bookmark[]|Proxy[] all()
26+
* @method static Bookmark[]|Proxy[] createMany(int $number, array|callable $attributes = [])
27+
* @method static Bookmark[]|Proxy[] createSequence((iterable|callable) $sequence)
28+
* @method static Bookmark[]|Proxy[] findBy(array $attributes)
29+
* @method static Bookmark[]|Proxy[] randomRange(int $min, int $max, array $attributes = [])
30+
* @method static Bookmark[]|Proxy[] randomSet(int $number, array $attributes = [])
3031
* @method FactoryCollection<Bookmark|Proxy> many(int $min, int|null $max = null)
3132
* @method FactoryCollection<Bookmark|Proxy> sequence(iterable|callable $sequence)
3233
* @method static ProxyRepositoryDecorator<Bookmark, BookmarkRepository> repository()
@@ -48,9 +49,9 @@
4849
* @phpstan-method FactoryCollection<Bookmark&Proxy<Bookmark>> many(int $min, int|null $max = null)
4950
* @phpstan-method FactoryCollection<Bookmark&Proxy<Bookmark>> sequence(iterable|callable $sequence)
5051
*
51-
* @extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory<Bookmark>
52+
* @extends PersistentObjectFactory<Bookmark>
5253
*/
53-
final class BookmarkFactory extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory
54+
final class BookmarkFactory extends PersistentObjectFactory
5455
{
5556
/**
5657
* @see https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#model-factories

api/src/DataFixtures/Factory/ReviewFactory.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
use App\Repository\ReviewRepository;
99
use App\Security\Http\Protection\ResourceHandlerInterface;
1010
use Zenstruck\Foundry\FactoryCollection;
11+
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;
1112
use Zenstruck\Foundry\Persistence\Proxy;
1213
use Zenstruck\Foundry\Persistence\ProxyRepositoryDecorator;
1314

@@ -22,12 +23,12 @@
2223
* @method static Review|Proxy last(string $sortedField = 'id')
2324
* @method static Review|Proxy random(array $attributes = [])
2425
* @method static Review|Proxy randomOrCreate(array $attributes = [])
25-
* @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] all()
26-
* @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] createMany(int $number, array|callable $attributes = [])
27-
* @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] createSequence((iterable|callable) $sequence)
28-
* @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] findBy(array $attributes)
29-
* @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] randomRange(int $min, int $max, array $attributes = [])
30-
* @method static \App\Entity\Review[]|\Zenstruck\Foundry\Persistence\Proxy[] randomSet(int $number, array $attributes = [])
26+
* @method static Review[]|Proxy[] all()
27+
* @method static Review[]|Proxy[] createMany(int $number, array|callable $attributes = [])
28+
* @method static Review[]|Proxy[] createSequence((iterable|callable) $sequence)
29+
* @method static Review[]|Proxy[] findBy(array $attributes)
30+
* @method static Review[]|Proxy[] randomRange(int $min, int $max, array $attributes = [])
31+
* @method static Review[]|Proxy[] randomSet(int $number, array $attributes = [])
3132
* @method FactoryCollection<Review|Proxy> many(int $min, int|null $max = null)
3233
* @method FactoryCollection<Review|Proxy> sequence(iterable|callable $sequence)
3334
* @method static ProxyRepositoryDecorator<Review, ReviewRepository> repository()
@@ -49,9 +50,9 @@
4950
* @phpstan-method FactoryCollection<Review&Proxy<Review>> many(int $min, int|null $max = null)
5051
* @phpstan-method FactoryCollection<Review&Proxy<Review>> sequence(iterable|callable $sequence)
5152
*
52-
* @extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory<Review>
53+
* @extends PersistentObjectFactory<Review>
5354
*/
54-
final class ReviewFactory extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory
55+
final class ReviewFactory extends PersistentObjectFactory
5556
{
5657
/**
5758
* @see https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#factories-as-services

api/src/DataFixtures/Factory/UserFactory.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use App\Entity\User;
88
use App\Repository\UserRepository;
99
use Zenstruck\Foundry\FactoryCollection;
10+
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;
1011
use Zenstruck\Foundry\Persistence\Proxy;
1112
use Zenstruck\Foundry\Persistence\ProxyRepositoryDecorator;
1213

@@ -19,12 +20,12 @@
1920
* @method static User|Proxy last(string $sortedField = 'id')
2021
* @method static User|Proxy random(array $attributes = [])
2122
* @method static User|Proxy randomOrCreate(array $attributes = [])
22-
* @method static \App\Entity\User[]|\Zenstruck\Foundry\Persistence\Proxy[] all()
23-
* @method static \App\Entity\User[]|\Zenstruck\Foundry\Persistence\Proxy[] createMany(int $number, array|callable $attributes = [])
24-
* @method static \App\Entity\User[]|\Zenstruck\Foundry\Persistence\Proxy[] createSequence((iterable|callable) $sequence)
25-
* @method static \App\Entity\User[]|\Zenstruck\Foundry\Persistence\Proxy[] findBy(array $attributes)
26-
* @method static \App\Entity\User[]|\Zenstruck\Foundry\Persistence\Proxy[] randomRange(int $min, int $max, array $attributes = [])
27-
* @method static \App\Entity\User[]|\Zenstruck\Foundry\Persistence\Proxy[] randomSet(int $number, array $attributes = [])
23+
* @method static User[]|Proxy[] all()
24+
* @method static User[]|Proxy[] createMany(int $number, array|callable $attributes = [])
25+
* @method static User[]|Proxy[] createSequence((iterable|callable) $sequence)
26+
* @method static User[]|Proxy[] findBy(array $attributes)
27+
* @method static User[]|Proxy[] randomRange(int $min, int $max, array $attributes = [])
28+
* @method static User[]|Proxy[] randomSet(int $number, array $attributes = [])
2829
* @method FactoryCollection<User|Proxy> many(int $min, int|null $max = null)
2930
* @method FactoryCollection<User|Proxy> sequence(iterable|callable $sequence)
3031
* @method static ProxyRepositoryDecorator<User, UserRepository> repository()
@@ -46,9 +47,9 @@
4647
* @phpstan-method FactoryCollection<User&Proxy<User>> many(int $min, int|null $max = null)
4748
* @phpstan-method FactoryCollection<User&Proxy<User>> sequence(iterable|callable $sequence)
4849
*
49-
* @extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory<User>
50+
* @extends PersistentObjectFactory<User>
5051
*/
51-
final class UserFactory extends \Zenstruck\Foundry\Persistence\PersistentObjectFactory
52+
final class UserFactory extends PersistentObjectFactory
5253
{
5354
public static function createOneAdmin(array $attributes = []): Proxy|User
5455
{

0 commit comments

Comments
 (0)