Skip to content

Commit

Permalink
Merge pull request #7 from Jorijn/bugfix/wrong-payee-node-recovery
Browse files Browse the repository at this point in the history
Fixes wrong `payee_node_key`
  • Loading branch information
jorijn authored Aug 20, 2022
2 parents 65b0ff5 + 5da09b7 commit ef63764
Show file tree
Hide file tree
Showing 43 changed files with 890 additions and 639 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ 7.3, 7.4, 8.0 ]
php-version: [ 7.4, 8.0, 8.1 ]

steps:
- name: Git checkout
Expand Down
32 changes: 32 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

$header = <<<'EOF'
This file is part of the PHP Bitcoin BOLT11 package.
(c) Jorijn Schrijvershof <[email protected]>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOF;

$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('vendor');

return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules(
[
'@Symfony' => true,
'@Symfony:risky' => true,
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'general_phpdoc_annotation_remove' => ['annotations' => ['expectedDeprecation']],
'header_comment' => ['header' => $header],
'method_argument_space' => [
'on_multiline' => 'ensure_fully_multiline',
],
]
)
->setFinder($finder);
17 changes: 0 additions & 17 deletions .php_cs

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prefer-stable": true,
"minimum-stability": "stable",
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.17",
"friendsofphp/php-cs-fixer": "^3.10",
"phpunit/phpunit": "^9"
},
"autoload": {
Expand All @@ -37,7 +37,7 @@
}
},
"require": {
"php": "^7.3|^8.0",
"php": "^7.4|^8.0",
"ext-bcmath": "*",
"ext-gmp": "*",
"bitwasp/bech32": "^0.0.1",
Expand Down
Loading

0 comments on commit ef63764

Please sign in to comment.