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

Enhance input validation in ShieldsIo class #215

Merged
merged 5 commits into from
Aug 28, 2024

Update ShieldsIo.php

9570a59
Select commit
Loading
Failed to load commit list.
Merged

Enhance input validation in ShieldsIo class #215

Update ShieldsIo.php
9570a59
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Phpcs (reported by Codacy) failed Aug 28, 2024 in 7s

11 new alerts

New alerts in code changed by this pull request

  • 11 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 18 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Missing doc comment for function addComponent() Warning

Missing doc comment for function addComponent()

Check warning on line 20 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Implicit true comparisons prohibited; use === TRUE instead Warning

Implicit true comparisons prohibited; use === TRUE instead

Check warning on line 24 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Expected //end addComponent() Warning

Expected //end addComponent()

Check warning on line 24 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Expected 1 blank line before closing function brace; 0 found Warning

Expected 1 blank line before closing function brace; 0 found

Check warning on line 24 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Expected 2 blank lines after function; 1 found Warning

Expected 2 blank lines after function; 1 found

Check warning on line 26 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Missing doc comment for function addQueryString() Warning

Missing doc comment for function addQueryString()

Check warning on line 28 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Implicit true comparisons prohibited; use === TRUE instead Warning

Implicit true comparisons prohibited; use === TRUE instead

Check warning on line 31 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Expected 1 blank line before closing function brace; 0 found Warning

Expected 1 blank line before closing function brace; 0 found

Check warning on line 31 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Expected 2 blank lines after function; 1 found Warning

Expected 2 blank lines after function; 1 found

Check warning on line 31 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Expected //end addQueryString() Warning

Expected //end addQueryString()

Check warning on line 33 in src/ShieldsIo.php

See this annotation in the file changed.

Code scanning / Phpcs (reported by Codacy)

Missing doc comment for function generateBadgeUrl() Warning

Missing doc comment for function generateBadgeUrl()