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

Bump doctrine/doctrine-bundle and sonata-project/datagrid-bundle #986

Merged
merged 9 commits into from
Feb 18, 2021

Conversation

wbloszyk
Copy link
Member

@wbloszyk wbloszyk commented Feb 7, 2021

Subject

I am targeting this branch, because it should be done in master.

Changelog

### Changed
- Bump "doctrine/doctrine-bundle" to ^2.0
- Bump "sonata-project/datagrid-bundle" to ^3.0
### Removed
- Removed support for "swiftmailer/swiftmailer-bundle"

.env Outdated
@@ -3,3 +3,7 @@ APP_SECRET=13345f5bb5c82aa1cc0033b64cde8989

MAILER_URL=smtp://mailhog:1025
DATABASE_URL=mysql://sonata:sonata@mysql:3306/sonata?serverVersion=5.7

###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
Copy link
Member

Choose a reason for hiding this comment

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

You have both a MAILER_URL and a MAILER_DSN

Copy link
Member Author

Choose a reason for hiding this comment

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

It was added by recipies. MAILER_URL is in swiftmailer config. We do not need both?

Copy link
Member

Choose a reason for hiding this comment

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

Then you can remove the section, can't you?

Copy link
Member Author

Choose a reason for hiding this comment

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

I will keep this section becouse we are changing swiftmailer to mailer:

wbloszyk@wbloszyk-Z170-D3H:~/PhpstormProjects/sandbox_3$ composer why symfony/mailer
sonata-project/user-bundle  4.10.2  requires  symfony/mailer (^4.4 || ^5.1)  
wbloszyk@wbloszyk-Z170-D3H:~/PhpstormProjects/sandbox_3$ composer why symfony/swiftmailer-bundle
sonata-project/sandbox      dev-master  requires  symfony/swiftmailer-bundle (^3.4)  
sonata-project/news-bundle  3.16.0      requires  symfony/swiftmailer-bundle (^3.4)  

Proof: sonata-project/SonataUserBundle@ecc961b

@phansys Can you do the same for SonataNewsBundle?

Copy link
Member Author

Choose a reason for hiding this comment

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

BTW we should also change MAILER_URL to the MAILER_DNS like it is using in mailer.

Copy link
Member

Choose a reason for hiding this comment

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

@phansys Can you do the same for SonataNewsBundle?

I'll try to find time this week.

Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines 3 to 13
declare(strict_types=1);

/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

Copy link
Member

Choose a reason for hiding this comment

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

?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@wbloszyk
Copy link
Member Author

wbloszyk commented Feb 7, 2021

After do it I got some error like:

 Argument 1 passed to Sonata\Component\Product\SeoProductIterator::__construct() must be an instance of Symfony\Bridge\Doctrine\RegistryInterface, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /home/zbiru/Phps  
  tormProjects/sandbox_3/var/cache/dev/ContainerN2fiw4U/srcApp_KernelDevDebugContainer.php on line 17529                          

and

Argument 3 passed to Sonata\ProductBundle\Block\RecentProductsBlockService::__construct() must be an instance of Symfony\Bridge\Doctrine\RegistryInterface, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /home/zbiru/PhpstormProjects/sandbox_3/var/cache/dev/ContainerFehTqnf/srcApp_KernelDevDebugContainer.php on line 9953

Both are in ecommerce and are made by inject <argument type="service" id="doctrine"/>. WDYT We should drop support for doctrine/doctrine-bundle v1 and present it as potential BC-break or we should change RegistyInterface to ManagerRegistry? @greg0ire

Also thanks for @OskarStark and @VincentLanglet for very quick review. :)

.php_cs.cache Outdated
{"php":"7.4.5","version":"2.16.4","indent":" ","lineEnding":"\n","rules":{"pow_to_exponentiation":true,"ternary_to_null_coalescing":true,"combine_nested_dirname":true,"declare_strict_types":true,"non_printable_character":true,"random_api_migration":{"replacements":{"mt_rand":"random_int","rand":"random_int"}},"visibility_required":true,"php_unit_namespaced":{"target":"6.0"},"php_unit_dedicate_assert":{"target":"5.6"},"php_unit_expectation":{"target":"5.6"},"php_unit_mock":{"target":"5.5"},"php_unit_no_expectation_annotation":{"target":"4.3"},"array_syntax":{"syntax":"short"},"binary_operator_spaces":true,"blank_line_after_opening_tag":true,"blank_line_before_statement":{"statements":["return"]},"braces":{"allow_single_line_closure":true},"cast_spaces":true,"class_attributes_separation":{"elements":["method"]},"class_definition":{"single_line":true},"concat_space":true,"declare_equal_normalize":true,"function_typehint_space":true,"include":true,"increment_style":true,"lowercase_cast":true,"lowercase_static_reference":true,"magic_constant_casing":true,"magic_method_casing":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"native_function_casing":true,"native_function_type_declaration_casing":true,"new_with_braces":true,"no_blank_lines_after_class_opening":true,"no_blank_lines_after_phpdoc":true,"no_empty_comment":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_extra_blank_lines":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":true,"no_multiline_whitespace_around_double_arrow":true,"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_around_offset":true,"no_superfluous_phpdoc_tags":{"allow_mixed":true},"no_trailing_comma_in_list_call":true,"no_trailing_comma_in_singleline_array":true,"no_unneeded_control_parentheses":true,"no_unneeded_curly_braces":{"namespaces":true},"no_unused_imports":true,"no_whitespace_before_comma_in_array":true,"no_whitespace_in_blank_line":true,"normalize_index_brace":true,"object_operator_without_whitespace":true,"ordered_imports":true,"php_unit_fqcn_annotation":true,"phpdoc_align":{"tags":["method","param","property","return","throws","type","var"]},"phpdoc_annotation_without_dot":true,"phpdoc_indent":true,"phpdoc_inline_tag":true,"phpdoc_no_access":true,"phpdoc_no_alias_tag":true,"phpdoc_no_package":true,"phpdoc_no_useless_inheritdoc":true,"phpdoc_return_self_reference":true,"phpdoc_scalar":true,"phpdoc_separation":true,"phpdoc_single_line_var_spacing":true,"phpdoc_summary":true,"phpdoc_to_comment":true,"phpdoc_trim":true,"phpdoc_trim_consecutive_blank_line_separation":true,"phpdoc_types":true,"phpdoc_types_order":{"null_adjustment":"always_last","sort_algorithm":"none"},"phpdoc_var_without_name":true,"return_type_declaration":true,"semicolon_after_instruction":true,"short_scalar_cast":true,"single_blank_line_before_namespace":true,"single_class_element_per_statement":true,"single_line_comment_style":{"comment_types":["hash"]},"single_quote":true,"single_trait_insert_per_statement":true,"space_after_semicolon":{"remove_in_empty_for_expressions":true},"standardize_increment":true,"standardize_not_equals":true,"ternary_operator_spaces":true,"trailing_comma_in_multiline_array":true,"trim_array_spaces":true,"unary_operator_spaces":true,"whitespace_after_comma_in_array":true,"yoda_style":true,"blank_line_after_namespace":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"encoding":true,"full_opening_tag":true,"dir_constant":true,"ereg_to_preg":true,"error_suppression":true,"fopen_flag_order":true,"fopen_flags":{"b_mode":false},"function_to_constant":{"functions":["get_called_class","get_class","get_class_this","php_sapi_name","phpversion","pi"]},"implode_call":true,"is_null":true,"modernize_types_casting":true,"native_constant_invocation":{"fix_built_in":false,"include":["DIRECTORY_SEPARATOR","PHP_SAPI","PHP_VERSION_ID"],"scope":"namespaced"},"native_function_invocation":{"include":["@compiler_optimized"],"scope":"namespaced","strict":true},"no_alias_functions":true,"no_homoglyph_names":true,"no_unneeded_final_method":true,"php_unit_construct":true,"php_unit_mock_short_will_return":true,"psr4":true,"self_accessor":true,"set_type_to_cast":true,"combine_consecutive_issets":true,"combine_consecutive_unsets":true,"compact_nullable_typehint":true,"global_namespace_import":{"import_classes":false,"import_constants":false,"import_functions":false},"header_comment":{"header":"This file is part of the Sonata Project package.\n\n(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>\n\nFor the full copyright and license information, please view the LICENSE\nfile that was distributed with this source code."},"list_syntax":{"syntax":"short"},"logical_operators":true,"no_php4_constructor":true,"no_useless_else":true,"no_useless_return":true,"nullable_type_declaration_for_default_null_value":{"use_nullable_type_declaration":true},"ordered_class_elements":true,"php_unit_set_up_tear_down_visibility":true,"php_unit_strict":true,"phpdoc_order":true,"static_lambda":true,"strict_comparison":true,"strict_param":true},"hashes":{"bin\/sonata-check.php":3854568901,"config\/bootstrap.php":946695745,"config\/bundles.php":3278015453,"src\/Entity\/User\/User.php":3686877647,"src\/Entity\/User\/Group.php":2817806537,"src\/Entity\/Commerce\/Customer.php":1710414487,"src\/Entity\/Commerce\/OrderElement.php":3528122643,"src\/Entity\/Commerce\/Package.php":562753728,"src\/Entity\/Commerce\/Invoice.php":3998463355,"src\/Entity\/Commerce\/Transaction.php":446311962,"src\/Entity\/Commerce\/BasketElement.php":1409165703,"src\/Entity\/Commerce\/ProductCollection.php":2705568379,"src\/Entity\/Commerce\/ProductCategory.php":2548984492,"src\/Entity\/Commerce\/Order.php":722977343,"src\/Entity\/Commerce\/InvoiceElement.php":3698441276,"src\/Entity\/Commerce\/Delivery.php":1138609944,"src\/Entity\/Commerce\/Basket.php":2279342931,"src\/Entity\/Commerce\/Address.php":3047920507,"src\/Entity\/Commerce\/Product.php":3110680503,"src\/Entity\/Page\/Site.php":3258654815,"src\/Entity\/Page\/Block.php":103456138,"src\/Entity\/Page\/Snapshot.php":1101528662,"src\/Entity\/Page\/Page.php":3381247232,"src\/Entity\/Notification\/Message.php":1346723151,"src\/Entity\/News\/PostRepository.php":1732572756,"src\/Entity\/News\/Comment.php":2724167191,"src\/Entity\/News\/Post.php":3781971270,"src\/Entity\/Media\/GalleryHasMedia.php":810939010,"src\/Entity\/Media\/Gallery.php":371310551,"src\/Entity\/Media\/Media.php":2511385382,"src\/Entity\/Comment\/Thread.php":1208340811,"src\/Entity\/Comment\/Comment.php":2684900541,"src\/Entity\/Timeline\/Action.php":1709516213,"src\/Entity\/Timeline\/Timeline.php":3234303128,"src\/Entity\/Timeline\/Component.php":4292080608,"src\/Entity\/Timeline\/ActionComponent.php":4232705972,"src\/Entity\/Classification\/Collection.php":3143640696,"src\/Entity\/Classification\/Category.php":481089181,"src\/Entity\/Classification\/Context.php":3593686132,"src\/Entity\/Classification\/Tag.php":2478064911,"src\/Sonata\/Bundle\/QABundle\/SonataQABundle.php":260031296,"src\/Sonata\/Bundle\/QABundle\/Controller\/PageController.php":1646381253,"src\/Sonata\/Bundle\/QABundle\/Controller\/SerializerController.php":3063797889,"src\/Sonata\/Bundle\/DemoBundle\/DependencyInjection\/SonataDemoExtension.php":760368980,"src\/Sonata\/Bundle\/DemoBundle\/Repository\/TravelRepository.php":4047487316,"src\/Sonata\/Bundle\/DemoBundle\/Repository\/GoodieRepository.php":3666829828,"src\/Sonata\/Bundle\/DemoBundle\/Model\/TakeAwayDelivery.php":3128165884,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadContextData.php":3844574674,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadPageData.php":1471247910,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadOrderData.php":2263424408,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadProductData.php":2938134146,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadMediaData.php":3332853662,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadUserData.php":1185262077,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadNewsData.php":1689155872,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadCategoryData.php":3955806933,"src\/Sonata\/Bundle\/DemoBundle\/DataFixtures\/ORM\/LoadCollectionData.php":1893991748,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Color.php":2366121721,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Car.php":2098536401,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Peugeot.php":2583703994,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Inspection.php":3407744066,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/MediaPreview.php":1890947841,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Engine.php":576458604,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Travel.php":436349949,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Citroen.php":1362097008,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Goodie.php":1377442371,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Renault.php":3342100499,"src\/Sonata\/Bundle\/DemoBundle\/Entity\/Material.php":2980178350,"src\/Sonata\/Bundle\/DemoBundle\/Menu\/Builder.php":3652402502,"src\/Sonata\/Bundle\/DemoBundle\/Block\/AccountBlockService.php":547171661,"src\/Sonata\/Bundle\/DemoBundle\/Block\/NewsletterBlockService.php":2293552626,"src\/Sonata\/Bundle\/DemoBundle\/Admin\/InspectionAdmin.php":447685817,"src\/Sonata\/Bundle\/DemoBundle\/Admin\/MaterialAdmin.php":3885730337,"src\/Sonata\/Bundle\/DemoBundle\/Admin\/CarAdmin.php":3252134780,"src\/Sonata\/Bundle\/DemoBundle\/Admin\/ColorAdmin.php":1993844676,"src\/Sonata\/Bundle\/DemoBundle\/Admin\/EngineAdmin.php":3403278313,"src\/Sonata\/Bundle\/DemoBundle\/Provider\/GoodieProductProvider.php":986074565,"src\/Sonata\/Bundle\/DemoBundle\/Provider\/TravelProductProvider.php":2595996859,"src\/Sonata\/Bundle\/DemoBundle\/Form\/Extension\/RescueEngineTypeExtension.php":2851042145,"src\/Sonata\/Bundle\/DemoBundle\/Form\/DataTransformer\/EngineChoiceTransformer.php":2445305708,"src\/Sonata\/Bundle\/DemoBundle\/Form\/Type\/CarType.php":489464061,"src\/Sonata\/Bundle\/DemoBundle\/Form\/Type\/EngineType.php":369934074,"src\/Sonata\/Bundle\/DemoBundle\/Form\/Type\/NewsletterType.php":4005299380,"src\/Sonata\/Bundle\/DemoBundle\/Controller\/TravelController.php":880427799,"src\/Sonata\/Bundle\/DemoBundle\/Controller\/GoodieController.php":533389383,"src\/Sonata\/Bundle\/DemoBundle\/Controller\/DemoController.php":2453069621,"src\/Sonata\/Bundle\/DemoBundle\/SonataDemoBundle.php":1205465166,"src\/Kernel.php":257183399,"features\/CiHelper.php":3258970735,"features\/bootstrap\/WebApiContext.php":4034484705,"features\/bootstrap\/BrowserContext.php":69215486,"features\/bootstrap\/FeatureContext.php":1458773268,"features\/bootstrap\/ApiFeatureContext.php":1172316614,"tests\/bootstrap.php":3847392668,"tests\/Sonata\/Bundle\/QABundle\/SonataAdminExplainCommandTest.php":1211255384,"tests\/Sonata\/Bundle\/QABundle\/SonataBlockDebugCommandTest.php":260528772,"tests\/Sonata\/Bundle\/QABundle\/SonataUserTwoStepVerificationCommandTest.php":147719027,"tests\/Sonata\/Bundle\/QABundle\/SonataPageCleanSnapshotCommandTest.php":3225882248,"tests\/Sonata\/Bundle\/QABundle\/SonataMediaAddCommandTest.php":2283636828,"tests\/Sonata\/Bundle\/QABundle\/SonataPageDumpCommandTest.php":3284316047,"tests\/Sonata\/Bundle\/QABundle\/SonataAdminListCommandTest.php":330331275,"tests\/Sonata\/Bundle\/QABundle\/SonataMediaRefreshMediaCommandTest.php":2519080362,"tests\/Sonata\/Bundle\/QABundle\/SonataPageCreateSnapshotCommandTest.php":3466402765,"tests\/Sonata\/Bundle\/QABundle\/SonataPageCreateSiteCommandTest.php":2079174125,"tests\/Sonata\/Bundle\/QABundle\/SonataNotificationStartCommandTest.php":2218374630,"tests\/Sonata\/Bundle\/QABundle\/SonataNotificationCleanUpCommandTest.php":375822255,"tests\/Sonata\/Bundle\/QABundle\/SonataCacheFlushAllCommandTest.php":1609900566,"tests\/Sonata\/Bundle\/QABundle\/SonataPageUpdateCoreRouteCommandTest.php":4096342370,"tests\/Sonata\/Bundle\/QABundle\/SonataNewsSyncCommentTest.php":1235694350,"tests\/Sonata\/Bundle\/QABundle\/ListCommandTest.php":1617049927,"tests\/Sonata\/Bundle\/QABundle\/SonataNotificationRestartCommandTest.php":4170258971,"tests\/Sonata\/Bundle\/QABundle\/SonataNotificationListQueuesCommandTest.php":1360509770,"tests\/Sonata\/Bundle\/QABundle\/CommandTestCase.php":482749113,"tests\/Sonata\/Bundle\/QABundle\/SonataSeoSitemapCommandTest.php":952352379,"tests\/Sonata\/Bundle\/QABundle\/SonataCacheFlushCommandTest.php":2266785432,"tests\/Sonata\/Bundle\/QABundle\/SonataMediaSyncCommandTest.php":2689791940,"tests\/Sonata\/Bundle\/QABundle\/SonataEasyExtendsDumpMappingCommandTest.php":395709145,"tests\/Sonata\/Bundle\/QABundle\/SonataNotificationHandlerListCommandTest.php":2706085264,"tests\/Sonata\/Bundle\/QABundle\/SonataPageRenderBlockCommandTest.php":3402949528,"public\/index.php":3066197350}}
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we add this to .gitignore ?

@greg0ire
Copy link
Contributor

greg0ire commented Feb 7, 2021

Dropping support for doctrine bundle v1 is not a BC break if that is the question.

@wbloszyk
Copy link
Member Author

wbloszyk commented Feb 7, 2021

Dropping support for doctrine bundle v1 is not a BC break if that is the question.

I do not ask about it. Anyway all of sonata bundles suport doctrine/doctrine-bundle v2 so It is even nice idea to drop support for 1.x. Are you agree? @greg0ire

@@ -0,0 +1,3 @@
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
Copy link
Member

Choose a reason for hiding this comment

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

You're using MAILER_DSN, but you removed it from the .env in favor of MAILER_URL.

There is something not clear for me.

@OskarStark
Copy link
Member

Can you finish this one @wbloszyk ?

And please rebase, thanks

@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@wbloszyk
Copy link
Member Author

RTM

@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@wbloszyk
Copy link
Member Author

@OskarStark Can you check it?

@VincentLanglet
Copy link
Member

All the test are failing @wbloszyk

@wbloszyk
Copy link
Member Author

@VincentLanglet The test will be taking becouse we do not rewrite it to new system. They are from symfony 2.

@VincentLanglet
Copy link
Member

I don't understand. First things to do would be to fix the tests.
Linter is failing
Cache:clear is returning an error:

You have requested a non-existent parameter "sonata.comment.class.comment.e  
!!    ntity". Did you mean this: "sonata.news.admin.comment.entity"?      

I cant make a proper review with a failing ci which throw a lot of errors.
Maybe someone else thinks differently.

@VincentLanglet VincentLanglet removed their request for review February 16, 2021 18:30
@wbloszyk
Copy link
Member Author

@VincentLanglet The tests are always failing from time when I update symfony from 2 to 4. Look at tests in other PRs, like:
#1004

You have requested a non-existent parameter "sonata.comment.class.comment.e  
!!    ntity". Did you mean this: "sonata.news.admin.comment.entity"?      

This error was introduce in SonataCommentBundle 3.3. I check it with 3.2 and it was disapere.

BTW
Can you also look at: #634

@VincentLanglet
Copy link
Member

@VincentLanglet The tests are always failing from time when I update symfony from 2 to 4. Look at tests in other PRs, like:
#1004

Yes, so fixing the tests should be the priority. How can we bump dependencies without tests ?
If it break something we cant know it.

You have requested a non-existent parameter "sonata.comment.class.comment.e  
!!    ntity". Did you mean this: "sonata.news.admin.comment.entity"?      

This error was introduce in SonataCommentBundle 3.3. I check it with 3.2 and it was disapere.

This should come from https://github.com/sonata-project/SonataCommentBundle/blob/55d0784bc7325d1a644fa5f2a1cfe39c0fdb3d5f/src/DependencyInjection/SonataCommentExtension.php#L315

It was introduced in sonata-project/SonataCommentBundle#190, maybe @jordisala1991 could help

@wbloszyk
Copy link
Member Author

I cant make a proper review with a failing ci which throw a lot of errors.
Maybe someone else thinks differently.

We agree to accept errors in test to allow upgrade to symfony 4 directly from:
https://github.com/sonata-project/sandbox/blob/2.3/composer.json

We are make it sandbox:master working but from this time I do not have time to finish it.

This should come from https://github.com/sonata-project/SonataCommentBundle/blob/55d0784bc7325d1a644fa5f2a1cfe39c0fdb3d5f/src/DependencyInjection/SonataCommentExtension.php#L315

It was introduced in sonata-project/SonataCommentBundle#190, maybe @jordisala1991 could help

It is getter. Anyway I working on it.

@jordisala1991
Copy link
Member

https://github.com/sonata-project/SonataCommentBundle/blob/55d0784bc7325d1a644fa5f2a1cfe39c0fdb3d5f/src/DependencyInjection/SonataCommentExtension.php#L131

The parameter should be defined here. Even thought it could be workinh with 3.2 , the logic there didnt change a lot.

@jordisala1991
Copy link
Member

jordisala1991 commented Feb 16, 2021

Oh, it is used previous its definition. Probably the bug is there. Can you check @wbloszyk ?

@wbloszyk
Copy link
Member Author

Oh, it is used previous its definition. Probably the bug is there. Can you check @wbloszyk ?

Correct, now it is working. Do you have time for make PR or should I do it?

@jordisala1991
Copy link
Member

Oh, it is used previous its definition. Probably the bug is there. Can you check @wbloszyk ?

Correct, now it is working. Do you have time for make PR or should I do it?

Better if you do it, I can review it.

@wbloszyk wbloszyk added this to the 3.0 milestone Feb 18, 2021
@wbloszyk
Copy link
Member Author

I merge this PR becouse tests are working on my local machine afer some changes in vendor. I describe require changes in #1008

@wbloszyk wbloszyk merged commit 0d0ea90 into sonata-project:master Feb 18, 2021
@wbloszyk wbloszyk deleted the bump_datagrid branch February 18, 2021 11:24
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.

7 participants