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

Update dependency vimeo/psalm to v6 #66

Merged
merged 5 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extensions": [
"pcov"
],
"ini": [
"memory_limit=-1"
],
"exclude": [
{"name": "Infection [8.2, locked]"}
],
"additional_checks": [
{
"name": "Infection (with PCOV)",
"job": {
"php": "8.4",
"dependencies": "locked",
"command": "./vendor/bin/roave-infection-static-analysis-plugin"
}
}
]
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ Sign and validate signed files made easy.

**Note: this is not a cryptographic signing library.**

### Installation
## Installation

The suggested installation method is via [composer](https://getcomposer.org/):

```bash
$ composer require roave/signature
```

### Usage examples
## Usage examples

#### Signing a file
### Signing a file

```php
// Creating a signer
Expand All @@ -26,7 +26,7 @@ $signer = new \Roave\Signature\FileContentSigner(
$signature = $signer->sign(file_get_contents('/var/tmp/file.php'));
```

#### Validating a signed file
### Validating a signed file

```php
// Creating a signer checker
Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"description": "Sign and verify stuff",
"license": "MIT",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0"
"php": "~8.2.0 || ~8.3.0 || ~8.4.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6.7",
"infection/infection": "^0.26.19",
"phpunit/phpunit": "^11.5.6",
"roave/infection-static-analysis-plugin": "^1.36.0",
"doctrine/coding-standard": "^12.0.0",
"vimeo/psalm": "^5.9.0"
"vimeo/psalm": "^6.3.0",
"psalm/plugin-phpunit": "^0.19.2"
},
"autoload": {
"psr-4": {
Expand All @@ -30,7 +31,7 @@
"infection/extension-installer": true
},
"platform": {
"php": "8.0.99"
"php": "8.2.99"
}
}
}
Loading