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

ERROR: Use of "self" in callables is deprecated #256

Closed
davidmpaz opened this issue Apr 7, 2023 · 3 comments
Closed

ERROR: Use of "self" in callables is deprecated #256

davidmpaz opened this issue Apr 7, 2023 · 3 comments

Comments

@davidmpaz
Copy link

Hi,

thanks for this project. Recently this is coming out in my pipeline. Any hints?

ERROR: Use of "self" in callables is deprecated
in /Users/davidmpaz/.composer/vendor/consolidation/robo/src/Task/Base/Exec.php:66

Thanks in advance,
David

@davidmpaz
Copy link
Author

Hi @zdenekdrahos, thanks for answering. I have latest version installed, from robo and as well phpqa, means this I need to chase which package of my QA tooling is using the wrong version?

Please keep in mind I am a user of this project, I use whatever version gets installed with it. I already did check and upgrade some packages to ensure proper version are in use.

This is my composer.json

❯ cat composer.json
{
    "require": {
        "edgedesign/phpqa": "^1.26",
        "php-parallel-lint/php-parallel-lint": "^1.3",
        "nette/neon": "^3.3",
        "phpunit/phpunit": "^9.5",
        "enlightn/security-checker": "^1.10",
        "qossmic/deptrac-shim": "^1.0.0",
        "friendsofphp/php-cs-fixer": "^3.0.0",
        "symfony/thanks": "^1.2",
        "phpstan/phpstan-symfony": "^1.2",
        "phpstan/phpstan": "^1.8"
    },
    "config": {
        "allow-plugins": {
            "phpstan/extension-installer": true,
            "symfony/thanks": false
        }
    }
}

thanks advance,
David

@zdenekdrahos
Copy link
Member

phpqa does not specify the robo version, so you can install whatever version you need. One of these should work:

composer require consolidation/robo:3.x-dev
composer require consolidation/robo:4.x-dev

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

No branches or pull requests

2 participants