Skip to content

Commit

Permalink
Symfony 3.4, php 7.2 upgrade (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuj authored Feb 21, 2019
1 parent 0327757 commit 6832ce6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 2.0.0

* Symfony 3.4 version.

## 1.2.0

* Merged https://github.com/os2display/admin-bundle/pull/8:
Expand Down
2 changes: 1 addition & 1 deletion Controller/MainController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function indexAction()
$user = $this->getUser();
$user->buildRoleGroups();
$user = $this->get('os2display.api_data')->setApiData($user);
$user = $this->get('serializer')
$user = $this->get('jms_serializer')
->serialize($user, 'json', SerializationContext::create()
->setGroups(array('api'))
->enableMaxDepthChecks());
Expand Down
2 changes: 1 addition & 1 deletion Resources/public/assets/build/os2displayadmin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/public/assets/build/styles.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"description": "Os2Display admin",
"type": "symfony-bundle",
"require": {
"twig/extensions": "^1.0"
"php": ">=7.2",
"twig/twig": "^1.0||^2.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Os2DisplayAdminBundle",
"version": "1.2.0",
"version": "2.0.0",
"link": "https://github.com/os2display"
}

0 comments on commit 6832ce6

Please sign in to comment.