diff --git a/.env b/.env index 69d03783b334c295283e62d94f629cd46cc5ee3f..78e5fc751f48e202a7b55c8b6dc0695059ab7dd4 100644 --- a/.env +++ b/.env @@ -35,8 +35,3 @@ APP_BUILDINFO_URL='#' # Defines the deployment environment APP_DEPLOYMENT_ENV='local' - -# Secret token for the starter bundle example -# This is just a defaule. -# Create a ".env.local" file which is excluded from git to set it -STARTER_SECRET_TOKEN= \ No newline at end of file diff --git a/README.md b/README.md index 36387ef0f903b1489d5eff7c299487afd9f8ca93..c208772c9f43b8d9b5e723ceb40b4c084a7703d2 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,6 @@ It consists of a minimally configures Symfony application and development enviro and includes/integrates: * The [dbp/api-core-bundle](https://gitlab.tugraz.at/dbp/dbp-api/api-core-bundle): Which provides authentication, some same base end points and entities and configuration for [api-platform](https://api-platform.com/) -* The [dbp/api-starter-bundle](https://gitlab.tugraz.at/dbp/dbp-api/api-starter-bundle): Which acts as a template for creating new bundles as - we as an example for what can be done in a bundle. * A docker-compose based development environment * Linter/Unittest integration diff --git a/composer.json b/composer.json index 17121c440e08bfbf197872a68510b01d0f32670f..4fb5bf4a33a6ea84120a1965a150039548fca4c7 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,6 @@ "require": { "php": "^7.3", "dbp/api-core-bundle": "^0.1.5", - "dbp/api-starter-bundle": "^0.1.0", "symfony/apache-pack": "^1.0", "symfony/console": "^5.2", "symfony/dotenv": "^5.2", @@ -18,10 +17,6 @@ { "type": "vcs", "url": "https://gitlab.tugraz.at/dbp/dbp-api/api-core-bundle.git" - }, - { - "type": "vcs", - "url": "https://gitlab.tugraz.at/dbp/dbp-api/api-starter-bundle.git" } ], "config": { diff --git a/composer.lock b/composer.lock index e6163190bfa88f6ff302fcf1cb56e7c87d0375db..756f40895f54784fc4b9d54869c8c7daf4a1949b 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": "476cd1928ae3abc56e6d385dad2a6879", + "content-hash": "7e19a0f4466a3af0a7c0370facd1f864", "packages": [ { "name": "api-platform/core", @@ -304,73 +304,6 @@ ], "time": "2021-07-12T00:17:21+00:00" }, - { - "name": "dbp/api-starter-bundle", - "version": "v0.1.1", - "source": { - "type": "git", - "url": "https://gitlab.tugraz.at/dbp/dbp-api/api-starter-bundle.git", - "reference": "7b6b6ceba3f536ee5533ff2702fb691ef72caf3d" - }, - "require": { - "api-platform/core": "^2.5", - "dbp/api-core-bundle": "^0.1.3", - "ext-json": "*", - "php": "^7.3", - "symfony/framework-bundle": "^5.2" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^3.0", - "phpstan/phpstan": "^0.12.33", - "phpstan/phpstan-phpunit": "^0.12.13", - "symfony/browser-kit": "^5.2", - "symfony/http-client": "^5.2", - "symfony/phpunit-bridge": "^5.2", - "vimeo/psalm": "^4.2.1" - }, - "type": "symfony-bundle", - "autoload": { - "psr-4": { - "DBP\\API\\StarterBundle\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "DBP\\API\\StarterBundle\\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 vendor/bin/simple-phpunit --coverage-html _coverage" - ] - }, - "license": [ - "AGPL-3.0-or-later" - ], - "time": "2021-07-06T13:18:24+00:00" - }, { "name": "doctrine/annotations", "version": "1.13.1", diff --git a/config/bundles.php b/config/bundles.php index f01db70cdd7c35289610d4d088129cc34649ad24..c516b84e7648bf7c6eab1a3a08370b8f812b9421 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -12,6 +12,5 @@ return [ Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true], Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true], - DBP\API\StarterBundle\DbpStarterBundle::class => ['all' => true], DBP\API\CoreBundle\DbpCoreBundle::class => ['all' => true], ]; diff --git a/config/packages/dbp_starter.yaml b/config/packages/dbp_starter.yaml deleted file mode 100644 index 21ed83480bff73e33ccb19ef1d30d6cec13af857..0000000000000000000000000000000000000000 --- a/config/packages/dbp_starter.yaml +++ /dev/null @@ -1,2 +0,0 @@ -dbp_starter: - secret_token: '%env(STARTER_SECRET_TOKEN)%' \ No newline at end of file diff --git a/symfony.lock b/symfony.lock index 04c03fdfb467b89e7f927e36ad8835efd25be3d1..5a54ed53029f36fd9b724b6c76924429563eb64a 100644 --- a/symfony.lock +++ b/symfony.lock @@ -37,9 +37,6 @@ "dbp/api-core-bundle": { "version": "dev-main" }, - "dbp/api-starter-bundle": { - "version": "dev-main" - }, "dnoegel/php-xdg-base-dir": { "version": "v0.1.1" },