Giter Site home page Giter Site logo

migrationserviceprovider's People

Contributors

docteurklein avatar mac2000 avatar maerlyn avatar maximkou avatar nek- avatar pedrotroller avatar rmasters avatar ubermuda avatar weaverryan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

migrationserviceprovider's Issues

console-service-provider dependency problem

Hi!

I'm use Silex ~1.3, which depends from Pimple v1.1.1 and I have a trouble after updating packages:

PHP Fatal error:  Interface 'Pimple\ServiceProviderInterface' not found in /media/data/projects/sj-storage/vendor/knplabs/console-service-provider/Knp/Provider/ConsoleServiceProvider.php on line 14
PHP Stack trace:
PHP   1. {main}() /media/data/projects/sj-storage/app/console:0
PHP   2. spl_autoload_call() /media/data/projects/sj-storage/app/console:9
PHP   3. Composer\Autoload\ClassLoader->loadClass() /media/data/projects/sj-storage/app/console:9
PHP   4. Composer\Autoload\includeFile() /media/data/projects/sj-storage/vendor/composer/ClassLoader.php:301
PHP   5. include() /media/data/projects/sj-storage/vendor/composer/ClassLoader.php:412

migration-service-provider requires console-service-provider of dev-master version. But now, dev-master is contain 2.x version of this provider, which seems to work only with pimple 2.x.

I tried to require console-service-provider: 1.*, but in this case, composer swearing about non-satisfied dependency (migration-service-provider requires only dev-master version).

Reference before update: KnpLabs/ConsoleServiceProvider@f3896b9
After update: KnpLabs/ConsoleServiceProvider@a37d712

I'm doing something wrong?

Unable to install package

After adding package to my composer.json and running composer update I get error:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for knplabs/migration-service-provider dev-master -> satisfiable by knplabs/migration-service-provider[dev-master].
    - knplabs/migration-service-provider dev-master requires symfony/finder 2.1.* -> no matching package found.

After defining package as custom repository (zip):

        {
            "type": "package",
            "package": {
                "name": "knplabs/migration-service-provider",
                "version": "dev-master",
                "dist": {
                    "url": "https://github.com/KnpLabs/MigrationServiceProvider/archive/master.zip",
                    "type": "zip"
                }
            }
        }

and registering providers (console too), I get error: Fatal error: Class 'Knp\Provider\MigrationServiceProvider' not found in D:\Dev\IntranetApps\Rekrutacje\app\services.php on line 18.

Then I've added:

"autoload": {
    "psr-0": {
        "": "src/",
        "Knp\\": "vendor/knplabs/migration-service-provider/"
    }
},

And now it works. BUT we all now it should NOT be that way ;-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.