Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sf 3.4/4.0 compatibility #59

Open
2 tasks done
acrobat opened this issue Nov 5, 2017 · 16 comments
Open
2 tasks done

Sf 3.4/4.0 compatibility #59

acrobat opened this issue Nov 5, 2017 · 16 comments

Comments

@acrobat
Copy link
Member

acrobat commented Nov 5, 2017

  • Check the bundle against symfony 3.4 and fix the deprecations
  • Make sure the bundle can be installed/used with sf 4
@acrobat
Copy link
Member Author

acrobat commented Dec 3, 2017

I think we reached full compatibility with sf3.4 and sf4. I've installed the bundles with a clean symfony 4 (with flex) install and everything worked as expected after all the fixes.

@acrobat acrobat closed this as completed Dec 3, 2017
@acrobat
Copy link
Member Author

acrobat commented Dec 3, 2017

Reopening the issue as I found some problems with the debug command

@acrobat acrobat reopened this Dec 3, 2017
@Bukashk0zzz
Copy link

Hi,

get this error:
Problem 1
- Conclusion: don't install symfony/symfony v4.0.1
- bernard/bernard 1.0.0-alpha2 requires symfony/event-dispatcher ~2.3 || ~3.0 -> satisfiable

@Bukashk0zzz
Copy link

So problem that bernard/bernard use old symfony/event-dispatcher can you please update this?

@acrobat
Copy link
Member Author

acrobat commented Dec 14, 2017

Hmm yes, I've used a symfony flex setup to test this but it used indeed the 3.4 version of the event-dispatcher. Therefor I didn't have any issues.

I will bump the version on the library itself and post and update in this issue! Thanks for reporting!

@stephpy
Copy link
Contributor

stephpy commented Dec 27, 2017

Thanks for this work :) 🍻

When do you plan to create a release with theses changes ?

@acrobat
Copy link
Member Author

acrobat commented Dec 27, 2017

I'm currently waiting for bernardphp/normalt#9 to be merged and have a new version of normat released. When this is done I can fix sf4 support on bernard and tag a new version of this bundle.

I hope to do it before the end of the year, but it depends on when the normalt pr gets merged

@tomaskadlec
Copy link

Any update on this issue? I am looking forward to have BernardBundle in SF4. Thanks for all the work!

@acrobat
Copy link
Member Author

acrobat commented Jan 13, 2018

I just tagged a new version of bernard/normalt and bernard/bernard. I'm going to test this in a sf4 setup and tag a new version of the bundle, hopefully, in the next few days!

@acrobat
Copy link
Member Author

acrobat commented Jan 13, 2018

@tomaskadlec feel free to test also in you application if the current dev-master of the bundle works on sf4. Thanks!

@mipapo
Copy link

mipapo commented Mar 15, 2018

updates?

@mikemix
Copy link

mikemix commented May 22, 2018

It would be nice if you could finally tag this.

@acrobat
Copy link
Member Author

acrobat commented May 23, 2018

I'm currently busy on other projects so I don't really have time to actively test the sf4 compatibility. So it would be a huge help if you could test dev-master and report any issues you find.
I think sf4 support is 90% done but maybe some small things are still left. If the master branch is tested by a few people we are good to go to tag a release!

Otherwise I will try to make some time anywhere soon to test this again

@mipapo
Copy link

mipapo commented Jun 7, 2018

What I can say: I'm using Symfony 3.4.4 with current dev-master (which uses bernard/bernard 1.0.0-alpha9). Using Amazon SQS as Messagequeue. (I just need to find time to update the doc of Amazon SQS in this repo. (I use the latest amazon sdk php - in the docs of bernard/bernard a very old version (2.4) of aws-sdk-php is mentioned)

Using aws-sdk-php 2.4->2.8

  sqs_client:
      class: Aws\Sqs\SqsClient
      factory: ['Aws\Sqs\SqsClient', factory]
      arguments:
          -
              credentials: { key: "%amazon.sqs.key%", secret: "%amazon.sqs.secret%" }
              region: "%amazon.sqs.region%"

Using aws-sdk-php 3.60...

  sqs_client:
      class: Aws\Sqs\SqsClient
      factory: ['Aws\Sqs\SqsClient', factory]
      arguments:
          -
              credentials: { key: "%amazon.sqs.key%", secret: "%amazon.sqs.secret%" }
              region: "%amazon.sqs.region%"
              version: "2012-11-05" 

@fatonh
Copy link

fatonh commented Jan 27, 2020

I run into this problem when I run with symfony 3.4 and php 7.3

Problem 1
- Installation request for bernard/bernard-bundle dev-master -> satisfiable by bernard/bernard-bundle[dev-master].
- bernard/bernard-bundle dev-master requires bernard/bernard 1.0.0-alpha9 -> satisfiable by bernard/bernard[1.0.0-alpha9] but these conflict with your requirements or minimum-stability.

Any suggestions?

@mipapo
Copy link

mipapo commented Jan 27, 2020

We have a running version right now for symfony 4.3 having
"bernard/bernard-bundle": "dev-master", in my composer.json

I think migrating to https://symfony.com/doc/current/messenger.html is the best option for the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants