Skip to content

Commit

Permalink
bug #224 Remove support for the deprecated json_array Doctrine type (…
Browse files Browse the repository at this point in the history
…javiereguiluz)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Remove support for the deprecated json_array Doctrine type

Fixes #213.

Commits
-------

8d0dbe1 Remove support for the deprecated json_array Doctrine type
  • Loading branch information
javiereguiluz committed Jul 6, 2018
2 parents dfe6661 + 8d0dbe1 commit fe8c5e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Maker/MakeEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private function printAvailableTypes(ConsoleStyle $io)
],
'array_object' => [
'array' => ['simple_array'],
'json' => ['json_array'],
'json' => [],
'object' => [],
'binary' => [],
'blob' => [],
Expand Down
1 change: 0 additions & 1 deletion src/Util/ClassSourceManipulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,6 @@ private function getEntityTypeHint($doctrineType)
case 'dateinterval':
return '\\'.\DateInterval::class;

case 'json_array':
case 'json':
case 'object':
case 'decimal':
Expand Down

0 comments on commit fe8c5e9

Please sign in to comment.