Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
foreach ($attributesToGet as $attribute) {
$data = $this->transport->getAttribute($attribute);
$attributes[$attribute] = in_array($attribute,
['changelog', 'license', 'readme']) ? $parseDown->text(htmlentities($data)) : $data;
['changelog', 'license', 'readme']) ? $parseDown->text(htmlspecialchars($data)) : $data;

Check failure on line 81 in core/src/Revolution/Processors/Workspace/Packages/GetAttribute.php

View workflow job for this annotation

GitHub Actions / phpcs

Multi-line function call not indented correctly; expected 12 spaces but found 16

Check failure on line 81 in core/src/Revolution/Processors/Workspace/Packages/GetAttribute.php

View workflow job for this annotation

GitHub Actions / phpcs

Closing parenthesis of a multi-line function call must be on a line by itself

Check warning on line 81 in core/src/Revolution/Processors/Workspace/Packages/GetAttribute.php

View check run for this annotation

Codecov / codecov/patch

core/src/Revolution/Processors/Workspace/Packages/GetAttribute.php#L81

Added line #L81 was not covered by tests

/* if setup options, include setup file */
if ($attribute === 'setup-options') {
Expand Down
Loading