You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Introduce Collection usage: Import Illuminate\Support\Collection for better type hinting and usage.
- Update analizeCommittedFiles method: Refactor the method to better describe its purpose and work with a Collection of ChangedFile objects.
- Add validateConfigPath method: Implement validation for configuration file paths to ensure they exist.
- Refactor suggestAutoFixOrExit: Separate the autofix logic into a new method autoFixFiles for better readability and testability.
- Update PintPreCommitHook: Simplify the conditional logic when validating the config path.
- Add test datasets: Introduce new datasets for testing cases when ESLint autofixer does not fix files completely.
- Add new test: Create a test to ensure the commit fails when ESLint autofixer is unable to fix all files.
0 commit comments