Skip to content

Unable to Install PHPCS using PHIVE #1111

Open
@donkidd

Description

@donkidd

Describe the bug

I am unable to Install phpcs using phive

Code sample

When Attempting to do phive install using either Phive 0.15.3 or Phive 0.16.0 I get the same error

phive install https://phars.phpcodesniffer.com/phars/phpcs-3.13.0.phar  
Phive 0.15.3 - Copyright (C) 2015-2025 by Arne Blankerts, Sebastian Heuer and Contributors
Downloading https://phars.phpcodesniffer.com/phars/phpcs-3.13.0.phar
Downloading https://phars.phpcodesniffer.com/phars/phpcs-3.13.0.phar.asc
[ERROR]    Signature could not be verified 
[ERROR]    unknown error code 

To reproduce

phive install phpcs

Expected behavior

PHPCS should be installed via phive

Additional context

When I verify the gpg key using gpg --verify I get a message that the key has expired, so I believe that the key needs to be updated and this problem will be resolved.

gpg --verify phpcs-3.13.0.phar.asc phpcs-3.13.0.phar
gpg: Signature made Sun May 11 04:19:24 2025 UTC
gpg:                using RSA key 689DAD778FF08760E046228BA978220305CD5C32
gpg:                issuer "[email protected]"
gpg: Good signature from "Juliette Reinders Folmer (Release key for PHPCS) <[email protected]>" [expired]
gpg: Note: This key has expired!
Primary key fingerprint: 689D AD77 8FF0 8760 E046  228B A978 2203 05CD 5C32

Please confirm

  • [X ] I have searched the issue list and am not opening a duplicate issue.
  • [ X] I have read the Contribution Guidelines and this is not a support question.
  • I confirm that this bug is a bug in PHP_CodeSniffer and not in one of the external standards.
  • [] I have verified the issue still exists in the master branch of PHP_CodeSniffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions