From 0ee29d345669a3efe29c7511d9ad4c4279998cb8 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Thu, 13 Sep 2018 13:20:12 +0200 Subject: [PATCH] Implemented doctrine ENUM types --- application/composer.json | 1 + application/composer.lock | 82 ++++++++++++++++++++++++++- application/src/DBAL/Types/.gitignore | 0 application/symfony.lock | 9 +++ 4 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 application/src/DBAL/Types/.gitignore diff --git a/application/composer.json b/application/composer.json index 1194c95..5b18540 100644 --- a/application/composer.json +++ b/application/composer.json @@ -5,6 +5,7 @@ "php": "^7.1.3", "ext-ctype": "*", "ext-iconv": "*", + "fresh/doctrine-enum-bundle": "~6.2", "friendsofsymfony/user-bundle": "~2.1", "knplabs/knp-menu-bundle": "^2.0", "sensio/framework-extra-bundle": "^5.1", diff --git a/application/composer.lock b/application/composer.lock index 5dc3f67..e9038bb 100644 --- a/application/composer.lock +++ b/application/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": "e13afdbcd385c77e0ce9b734cf02f8c0", + "content-hash": "d49903ff1dc85f65ca277d339dac5d5e", "packages": [ { "name": "doctrine/annotations", @@ -1281,6 +1281,86 @@ ], "time": "2016-10-17T18:31:11+00:00" }, + { + "name": "fresh/doctrine-enum-bundle", + "version": "v6.2.1", + "source": { + "type": "git", + "url": "https://github.com/fre5h/DoctrineEnumBundle.git", + "reference": "5ee610a02fdc4b8a0f3073fb2740dfc817ff6424" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fre5h/DoctrineEnumBundle/zipball/5ee610a02fdc4b8a0f3073fb2740dfc817ff6424", + "reference": "5ee610a02fdc4b8a0f3073fb2740dfc817ff6424", + "shasum": "" + }, + "require": { + "doctrine/common": "^2.8", + "doctrine/dbal": "^2.6", + "php": ">=7.1.3", + "symfony/config": "^4.0", + "symfony/dependency-injection": "^4.0", + "symfony/doctrine-bridge": "^4.0", + "symfony/framework-bundle": "^4.0", + "symfony/http-kernel": "^4.0", + "symfony/validator": "^4.0", + "twig/twig": "~2.4" + }, + "require-dev": { + "escapestudios/symfony2-coding-standard": "^3.4", + "phpstan/phpstan": "^0.9", + "phpunit/phpunit": "^7.1", + "squizlabs/php_codesniffer": "^3.2", + "symfony/form": "^4.0" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "6.x-dev" + } + }, + "autoload": { + "psr-4": { + "Fresh\\DoctrineEnumBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Community", + "homepage": "https://github.com/fre5h/DoctrineEnumBundle/graphs/contributors", + "role": "Contributors" + }, + { + "name": "Artem Henvald", + "email": "genvaldartem@gmail.com", + "role": "Creator" + } + ], + "description": "Provides support of ENUM type for Doctrine2 in Symfony applications.", + "homepage": "https://github.com/fre5h/DoctrineEnumBundle", + "keywords": [ + "bundle", + "dbal", + "doctrine", + "entity", + "enum", + "mssql", + "mysql", + "postgresql", + "sqlite", + "symfony", + "type" + ], + "time": "2018-06-02T09:50:27+00:00" + }, { "name": "friendsofsymfony/user-bundle", "version": "v2.1.2", diff --git a/application/src/DBAL/Types/.gitignore b/application/src/DBAL/Types/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/application/symfony.lock b/application/symfony.lock index 0449485..4b423fa 100644 --- a/application/symfony.lock +++ b/application/symfony.lock @@ -86,6 +86,15 @@ "fig/link-util": { "version": "1.0.0" }, + "fresh/doctrine-enum-bundle": { + "version": "6.0", + "recipe": { + "repo": "github.com/symfony/recipes-contrib", + "branch": "master", + "version": "6.0", + "ref": "fab86661c13bc12e4f14f706c86af09912d55bfb" + } + }, "friendsofphp/php-cs-fixer": { "version": "2.2", "recipe": {