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

Fix php quality errors #189

Open
ronanguilloux opened this issue Jan 19, 2025 · 0 comments
Open

Fix php quality errors #189

ronanguilloux opened this issue Jan 19, 2025 · 0 comments

Comments

@ronanguilloux
Copy link
Owner

ronanguilloux commented Jan 19, 2025

➜  IsoCodes git:(master) make quality                                                                                                                                       

FILE: src/IsoCodes/ISO3166A2.php
--------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------
  10 | ERROR | [x] PHP keywords must be lowercase; expected "const" but found "CONST"
 270 | ERROR | [x] Expected 1 space(s) after IF keyword; 0 found
 270 | ERROR | [x] Expected 1 space(s) after closing parenthesis; found 0
 273 | ERROR | [x] Expected 0 spaces before closing parenthesis; 1 found
 275 | ERROR | [x] Expected 1 newline at end of file; 0 found
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------

Time: 353ms; Memory: 8MB

make: *** [sniff] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant