Skip to content

Commit 60e2990

Browse files
committed
ComposerAuth: Handle non base64 contents
By falling back to json verification and then using that contents, users can use both base64 and raw json for the auth env variable. This also introduces the first proper unit test, here's to an even brighter future!
1 parent 994d2c2 commit 60e2990

6 files changed

Lines changed: 479 additions & 300 deletions

File tree

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
"src/Deployer/functions.php"
3636
]
3737
},
38+
"autoload-dev": {
39+
"psr-4": {
40+
"Hypernode\\Deploy\\Tests\\": "tests/"
41+
}
42+
},
3843
"require-dev": {
3944
"phpro/grumphp-shim": "^1.13",
4045
"phpunit/phpunit": "^9.5",

0 commit comments

Comments
 (0)