stingus / StingusJiraBundle

A Symfony bundle designed to help your application make REST API requests to one or more Atlassian JIRA instances
MIT License
5 stars 1 forks source link

Use bundle with Symfony 4 #1

Open knallcharge opened 4 years ago

knallcharge commented 4 years ago

Hi, right now it doesn't seem to be possible to install the bundle when using Symfony 4. When executing "composer require stingus/jira-bundle" the composer-error I'm getting is:

    - stingus/jira-bundle 1.0.2 requires symfony/framework-bundle ^3.4 -> no matching package found.
    - stingus/jira-bundle 1.0.1 requires symfony/framework-bundle ^3.3 -> no matching package found.
    - stingus/jira-bundle 1.0.0 requires symfony/framework-bundle ^3.3 -> no matching package found.
    - Installation request for stingus/jira-bundle ^1.0 -> satisfiable by stingus/jira-bundle[1.0.0, 1.0.1, 1.0.2].

Is there any chance to use the bundly with Symfony 4? Thanks

stingus commented 4 years ago

@Knallcharge try using dev-master in your composer.json, it should work with Symfony ^4.3. Let me know if that works out for you.

knallcharge commented 4 years ago

@stingus Install works when using dev-master, thanks!

stingus commented 4 years ago

@Knallcharge you're welcome! Let me know how it works with Symfony 4, I didn't had the chance to test it properly. I mean the tests are passing for 4.4.2 but using the bundle on a real Symfony project might help. If everything's alright, I'll tag a new release.

knallcharge commented 4 years ago

@stingus I didn't find the time to really dig into installing and configuring the bundle so I can actually run tests with it, I've gotten as far as receiving the error "The service "stingus_jira.oauth_token_manager" has a dependency on a non-existent service "Symfony\Bridge\Doctrine\RegistryInterface"." when using "model_manager_name: default" in the config. It seems the RegistryInterface which was deprecated and is now removed is still used in the bundle.