Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Update dependencies from DependenCI #2

Merged
merged 1 commit into from Jun 8, 2017
Merged

Update dependencies from DependenCI #2

merged 1 commit into from Jun 8, 2017

Conversation

drbyte
Copy link
Member

@drbyte drbyte commented Jun 7, 2017

There are new versions of your dependencies available!

Package Current Version New Version
phpunit/phpunit 4 6.2.1
squizlabs/php_codesniffer 2 3.0.0
These versions aren't covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version.
If you have a test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update. Please take a look on the above section if you rely on the composer.lock file for your tests
If you don't have a test suite (you should), you can checkout to this branch (git checkout dependenci17848) and make sure everything is working.


About tests that rely on the composer.lock file

DependenCI doesn't currently support auto-updating the composer.lock file. If your tests do composer install instead of composer update, you'll have to manually update the composer.lock file. You can run composer update nothing --lock to update your lockfile.

Want to disable checking for a specific dependency?

You can add an excluded section into your composer.json to exclude some dependencies from the analysis.

Your composer.json would look like this:

{
    "require": {
        "phpunit/phpunit": "^6.2.1",
        "phpmd/phpmd": "~2",
        "squizlabs/php_codesniffer": "^3.0.0",
        "satooshi/php-coveralls": "^1.0",
        "mikey179/vfsStream": "1.*",
        "phpdocumentor/phpdocumentor": "2.*",
        "michelf/php-markdown": "*"
    },
    "extra": {
        "dependenci": {
            "excluded": [
                "excluded/dependency"
            ]
        }
    }
}
Not sure how things should work exactly?

If you need help, have a cool idea for DependenCI or just want to say hi, drop us a mail at dependenci@miguelpiedrafita.com.


Powered by DependenCI :octocat:

@drbyte
Copy link
Member Author

drbyte commented Jun 8, 2017

more work required beyond this, but this is needed anyway, so merging.

@drbyte drbyte merged commit e5c0840 into master Jun 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants