Skip to content

Commit

Permalink
Upgrade phar-io dependencies to support PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Mar 27, 2021
1 parent d666d71 commit c0c8789
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ Just change the `packageName` and `<phar>` configuration and you are good to go.
<distributor xmlns="https://phar.io/composer-distributor"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://phar.io/xml/distributor/1.0/schema.xsd"
packageName="your/captainhook"
packageName="yournamespace/pluginname"
keyDirectory="keys">

<phar name="captainhook"
file="https://github.com/captainhookphp/captainhook/releases/download/{{version}}/captainhook.phar"
signature="https://github.com/captainhookphp/captainhook/releases/download/{{version}}/captainhook.phar.asc"/>
<phar name="pharname"
file="https://github.com/yournamespace/pluginname/releases/download/{{version}}/pharname.phar"
signature="https://github.com/yournamespace/pluginname/releases/download/{{version}}/pharname.phar.asc"/>

</distributor>
```
Expand Down
14 changes: 12 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"name": "Andreas Heigl",
"email": "[email protected]",
"role": "Developer"
},
{
"name" : "Arne Blankerts",
"email" : "[email protected]",
"role" : "Developer"
},
{
"name" : "Sebastian Feldmann",
"email" : "[email protected]",
"role" : "Developer"
}
],
"keywords": [
Expand Down Expand Up @@ -43,8 +53,8 @@
"ext-dom": "*",
"ext-libxml": "*",
"composer-plugin-api": "^1.1 || ^2.0",
"phar-io/gnupg": "^0.9",
"phar-io/filesystem": "^0.9"
"phar-io/gnupg": "^1.0",
"phar-io/filesystem": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
Expand Down

0 comments on commit c0c8789

Please sign in to comment.