From f823dc5b6884b6a674f61d3a7cd638cea220bfa6 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 20 Jul 2021 13:34:35 +0200
Subject: [PATCH] Remove the custom composer repository reference

The core bundle is now available on packagist
---
 composer.json |  6 ------
 composer.lock | 37 +++----------------------------------
 2 files changed, 3 insertions(+), 40 deletions(-)

diff --git a/composer.json b/composer.json
index 4fb5bf4..13578b9 100644
--- a/composer.json
+++ b/composer.json
@@ -13,12 +13,6 @@
         "symfony/monolog-bundle": "^3.5",
         "symfony/yaml": "^5.2"
     },
-    "repositories": [
-        {
-            "type": "vcs",
-            "url": "https://gitlab.tugraz.at/dbp/dbp-api/api-core-bundle.git"
-        }
-    ],
     "config": {
         "preferred-install": {
             "dbp/*": "source",
diff --git a/composer.lock b/composer.lock
index 756f408..e76f838 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "7e19a0f4466a3af0a7c0370facd1f864",
+    "content-hash": "0241681131fc06b29cb69931481a5c7c",
     "packages": [
         {
             "name": "api-platform/core",
@@ -226,7 +226,7 @@
             "version": "v0.1.6",
             "source": {
                 "type": "git",
-                "url": "https://gitlab.tugraz.at/dbp/dbp-api/api-core-bundle.git",
+                "url": "https://gitlab.tugraz.at/dbp/dbp-api/api-core-bundle",
                 "reference": "00152673fe78d63feeea06e9d24a2a5c991bbe9e"
             },
             "require": {
@@ -267,38 +267,7 @@
                     "DBP\\API\\CoreBundle\\": "src/"
                 }
             },
-            "autoload-dev": {
-                "psr-4": {
-                    "DBP\\API\\CoreBundle\\Tests\\": "tests/"
-                }
-            },
-            "scripts": {
-                "test": [
-                    "@php vendor/bin/simple-phpunit"
-                ],
-                "phpstan": [
-                    "@php vendor/bin/simple-phpunit --atleast-version 0",
-                    "@php vendor/bin/phpstan analyze --ansi"
-                ],
-                "psalm": [
-                    "@php vendor/bin/simple-phpunit --atleast-version 0",
-                    "@php vendor/bin/psalm"
-                ],
-                "lint": [
-                    "@composer run cs",
-                    "@composer run phpstan",
-                    "@composer run psalm"
-                ],
-                "cs-fix": [
-                    "@php vendor/bin/php-cs-fixer --ansi fix"
-                ],
-                "cs": [
-                    "@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff"
-                ],
-                "coverage": [
-                    "@php -dxdebug.mode=coverage vendor/bin/simple-phpunit --coverage-html _coverage"
-                ]
-            },
+            "notification-url": "https://packagist.org/downloads/",
             "license": [
                 "AGPL-3.0-or-later"
             ],
-- 
GitLab