Skip to content

Commit

Permalink
Merge pull request #5107 from Catrobat/dependabot/composer/phpstan-b8…
Browse files Browse the repository at this point in the history
…71ce0a9f

Build(deps-dev): Bump phpstan/phpstan from 1.11.8 to 1.11.9 in the phpstan group
  • Loading branch information
dmetzner authored Aug 2, 2024
2 parents ee97cf4 + e405c01 commit a502525
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Project/CatrobatFile/ExtractedCatrobatFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(protected string $path, protected string $web_path,
$content = str_replace('�', '', $content);

preg_match_all('@fileName=?[">](.*?)[<"]@', $content, $matches);
$this->xml_filenames = count($matches) > 1 ? $matches[1] : [];
$this->xml_filenames = $matches[1];
$counter = count($this->xml_filenames);
for ($i = 0; $i < $counter; ++$i) {
$this->xml_filenames[$i] = $this->decodeXmlEntities($this->xml_filenames[$i]);
Expand Down

0 comments on commit a502525

Please sign in to comment.