Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Fix even more Symfony 3 support (and some other bugs) #367

Merged
merged 5 commits into from
Apr 11, 2016

Conversation

wouterj
Copy link
Contributor

@wouterj wouterj commented Apr 9, 2016

Tests still have to be updated. This was the minimum required things to get at least something working. My guess is that this bundle needs a lot more fixes before working 100% on Symfony 3.

Can we bump to PHP 5.5 support, or do I still need to put the FQCN in strings instead of using ::class?

@@ -62,7 +66,7 @@ public function guessType($class, $property, ModelManagerInterface $modelManager
$options['operator_type'] = 'sonata_type_boolean';
$options['operator_options'] = array();

$options['field_type'] = 'document';
$options['field_type'] = DocumentType::class;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document never existed afaik. I guess phpcr_document was meant to be used (so in fact, nobody ever used this filter)

@dbu
Copy link
Contributor

dbu commented Apr 11, 2016

cool, great job wouter.

yeah, lets drop php < 5.5

according to travis, you missed one case of the TextType.

@wouterj
Copy link
Contributor Author

wouterj commented Apr 11, 2016

Fixed tests and CS. Turns out PHP <5.5 was already dropped.

@dbu dbu merged commit e3a2779 into sonata-project:master Apr 11, 2016
@wouterj wouterj deleted the fix-sf-3 branch April 11, 2016 08:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants