Skip to content

Commit

Permalink
Apply rector changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar authored and github-actions[bot] committed Nov 30, 2024
1 parent f9a4ea1 commit 4708ac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ComposerReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function canWrite(): bool
if ($this->isProvidedAsJsonArray()) {
return false;
}

return is_file($this->file) && is_writable($this->file);
}

Expand Down

0 comments on commit 4708ac9

Please sign in to comment.