issues
search
igorsgm
/
laravel-git-hooks
🪝 • Efficiently manage Git hooks in Laravel projects. Enhance code quality, save time on reviews, and prevent bugs from entering your repository.
MIT License
21
stars
6
forks
source link
Fix: Code Analyzer Hooks
#23
Closed
igorsgm
closed
1 year ago
igorsgm
commented
1 year ago
Update BaseCodeAnalyzerPreCommitHook.php to use getStaged() instead of getAddedToCommit() for better accuracy in obtaining commit files.
Modify test descriptions and method calls in BaseCodeAnalyzerPreCommitHookTest.php to reflect the changes made to the main file.
what-the-diff[bot]
commented
1 year ago
PR Summary
Method call update
Changed the method call from
getAddedToCommit()
to
getStaged()
for better functionality.
Test case update
Updated the corresponding test case to reflect the method call change.