Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Implement document validation before document is saved to database #1149

Merged
merged 7 commits into from
May 29, 2024

Add tests for DocumentValidator

badbf19
Select commit
Loading
Failed to load commit list.
Merged

[FEATURE] Implement document validation before document is saved to database #1149

Add tests for DocumentValidator
badbf19
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded May 28, 2024 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 4
           

Complexity increasing per file
==============================
- Tests/Unit/Validation/DocumentValidatorTest.php  1
- Classes/Validation/DocumentValidator.php  3
- Classes/Command/IndexCommand.php  2
         

See the complete overview on Codacy

Annotations

Check notice on line 33 in Classes/Validation/DocumentValidator.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Classes/Validation/DocumentValidator.php#L33

Expected 6 space(s) before asterisk; 5 found

Check notice on line 34 in Classes/Validation/DocumentValidator.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Classes/Validation/DocumentValidator.php#L34

Expected 6 space(s) before asterisk; 5 found

Check notice on line 35 in Classes/Validation/DocumentValidator.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Classes/Validation/DocumentValidator.php#L35

Expected 6 space(s) before asterisk; 5 found

Check notice on line 96 in Classes/Validation/DocumentValidator.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Classes/Validation/DocumentValidator.php#L96

Whitespace found at end of line