Skip to content

Commit

Permalink
Avoid deprecated message by using a new strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Apr 8, 2020
1 parent 23300a4 commit 069a709
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 33 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ cache:
matrix:
fast_finish: true
include:
- php: 7.3
- php: 7.4
- php: nightly
- php: 7.2
env: CS_FIXER=run
- php: 7.2
- php: 7.3
env: COVERAGE=run
allow_failures:
- php: 7.4
- php: nightly
allow_failures:
- php: nightly

before_install:
- echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
Expand Down
2 changes: 1 addition & 1 deletion app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ doctrine:

orm:
auto_generate_proxy_classes: "%kernel.debug%"
naming_strategy: doctrine.orm.naming_strategy.underscore
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true

doctrine_migrations:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"php": "^7.2",
"ashleydawson/simple-pagination-bundle": "^3.0",
"cache/predis-adapter": "^1.0",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-bundle": "^1.12",
"doctrine/doctrine-cache-bundle": "^1.2",
"doctrine/doctrine-migrations-bundle": "^2.0",
"doctrine/orm": "^2.5",
Expand Down
53 changes: 27 additions & 26 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 069a709

Please sign in to comment.