Skip to content

Commit

Permalink
fix(cli): doctrine mapping from annotation to xml (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 authored Dec 24, 2023
1 parent 5e1be36 commit 0e83cfc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"homepage": "https://github.com/ems-project/EMSClientHelperBundle/contributors"
}
],
"license" : "MIT",
"license": "MIT",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
Expand Down
38 changes: 19 additions & 19 deletions elasticms-cli/composer.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
{
"name": "ems-project/elasticms-cli",
"description": "command client of the elasticms suite",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "EMS Community",
"homepage": "https://github.com/ems-project/EMSClientHelperBundle/contributors"
}
],
"type": "project",
"license": "MIT",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
"ext-sqlite3": "*",
"doctrine/doctrine-migrations-bundle": "^3.2",
"elasticms/common-bundle": "~5.12.0",
"kevinrob/guzzle-cache-middleware": "^4.0",
"symfony/console": "^5.4",
"symfony/css-selector": "^5.4",
"symfony/dotenv": "^5.4",
"symfony/expression-language": "^6.2",
"symfony/flex": "^1.6",
"symfony/framework-bundle": "^5.4",
"symfony/http-client": "^5.4",
"symfony/property-info": "^5.4",
"symfony/runtime": "^5.4",
"symfony/var-exporter": "^5.4",
"symfony/yaml": "^5.4"
"elasticms/common-bundle": "~6.0.0",
"kevinrob/guzzle-cache-middleware": "^4.1",
"symfony/console": "^6.4",
"symfony/css-selector": "^6.4",
"symfony/dotenv": "^6.4",
"symfony/expression-language": "^6.4",
"symfony/flex": "^2.4",
"symfony/framework-bundle": "^6.4",
"symfony/http-client": "^6.4",
"symfony/property-info": "^6.4",
"symfony/runtime": "^6.4",
"symfony/var-exporter": "^6.4",
"symfony/yaml": "^6.4"
},
"require-dev": {
"phpdocumentor/reflection-docblock": "^5.3",
Expand Down Expand Up @@ -77,17 +77,17 @@
"@auto-scripts"
],
"phpcs": "php-cs-fixer fix",
"phpstan": "phpstan analyse",
"phpstan": "phpstan analyse --memory-limit 1G",
"phpunit": "phpunit",
"phpall": "phpunit && php-cs-fixer fix && phpstan analyse"
"phpall": "php-cs-fixer fix && phpunit && phpstan analyse --memory-limit 1G"
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^5.4"
"require": "^6.4"
}
}
}
5 changes: 2 additions & 3 deletions elasticms-cli/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ parameters:

doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
server_version: '%env(resolve:DB_SERVER_VERSION)%'
url: '%env(resolve:DATABASE_URL)%'
server_version: '%env(resolve:DB_SERVER_VERSION)%'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
mappings:
App:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\CLI\Entity'
alias: App
Expand Down

0 comments on commit 0e83cfc

Please sign in to comment.