From c8fd38edb738f6b8321b3bada355ef3beeb87ef9 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 6 Apr 2020 09:55:34 +0200 Subject: [PATCH] Use yaml for consistency --- .../eav-bundle/0.10/config/packages/msgphp_eav.php | 14 -------------- .../0.10/config/packages/msgphp_eav.yaml | 4 ++++ .../0.10/config/packages/msgphp_user.php | 12 ------------ .../0.10/config/packages/msgphp_user.yaml | 3 +++ .../3.0/config/routes/webauthn_routes.php | 9 --------- .../3.0/config/routes/webauthn_routes.yaml | 3 +++ 6 files changed, 10 insertions(+), 35 deletions(-) delete mode 100644 msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php create mode 100644 msgphp/eav-bundle/0.10/config/packages/msgphp_eav.yaml delete mode 100644 msgphp/user-bundle/0.10/config/packages/msgphp_user.php create mode 100644 msgphp/user-bundle/0.10/config/packages/msgphp_user.yaml delete mode 100644 web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php create mode 100644 web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.yaml diff --git a/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php b/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php deleted file mode 100644 index 7ff6ab19..00000000 --- a/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.php +++ /dev/null @@ -1,14 +0,0 @@ -extension('msgphp_eav', [ - 'class_mapping' => [ - Attribute::class => \App\Entity\Attribute::class, - AttributeValue::class => \App\Entity\AttributeValue::class, - ], - ]); -}; diff --git a/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.yaml b/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.yaml new file mode 100644 index 00000000..ff6648c9 --- /dev/null +++ b/msgphp/eav-bundle/0.10/config/packages/msgphp_eav.yaml @@ -0,0 +1,4 @@ +msgphp_eav: + class_mapping: + MsgPhp\Eav\Attribute: App\Entity\Attribute + MsgPhp\Eav\AttributeValue: App\Entity\AttributeValue diff --git a/msgphp/user-bundle/0.10/config/packages/msgphp_user.php b/msgphp/user-bundle/0.10/config/packages/msgphp_user.php deleted file mode 100644 index 44770919..00000000 --- a/msgphp/user-bundle/0.10/config/packages/msgphp_user.php +++ /dev/null @@ -1,12 +0,0 @@ -extension('msgphp_user', [ - 'class_mapping' => [ - User::class => \App\Entity\User::class, - ], - ]); -}; diff --git a/msgphp/user-bundle/0.10/config/packages/msgphp_user.yaml b/msgphp/user-bundle/0.10/config/packages/msgphp_user.yaml new file mode 100644 index 00000000..fe7238ff --- /dev/null +++ b/msgphp/user-bundle/0.10/config/packages/msgphp_user.yaml @@ -0,0 +1,3 @@ +msgphp_user: + class_mapping: + MsgPhp\User\User: App\Entity\User diff --git a/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php b/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php deleted file mode 100644 index f8355132..00000000 --- a/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.php +++ /dev/null @@ -1,9 +0,0 @@ -import('.', 'webauthn'); -}; diff --git a/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.yaml b/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.yaml new file mode 100644 index 00000000..fa3e8e9a --- /dev/null +++ b/web-auth/webauthn-symfony-bundle/3.0/config/routes/webauthn_routes.yaml @@ -0,0 +1,3 @@ +webauthn_routes: + resource: . + type: webauthn