Skip to content

Commit

Permalink
Merge pull request #417 from web-auth/Spomky-patch-1
Browse files Browse the repository at this point in the history
Update composer.json
  • Loading branch information
Spomky authored Jun 12, 2023
2 parents 2e067cd + 66c98b8 commit 00800cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/stimulus/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"homepage": "https://github.com/web-auth/ux/contributors"
}
],
"require": {},
"license": "MIT",
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/ComposerJsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function listSubPackages(): Traversable

private function getComposerDependencies(string $composerFilePath): array
{
return $this->parseComposerFile($composerFilePath)['require'];
return $this->parseComposerFile($composerFilePath)['require'] ?? [];
}

private function getComposerPackageName(string $composerFilePath): string
Expand Down

0 comments on commit 00800cd

Please sign in to comment.