Skip to content

Commit

Permalink
Merge pull request #133 from sitegeist/bugfix/checkEscapingNoFiles
Browse files Browse the repository at this point in the history
[BUGFIX] Support new versions of typo3-composer-installers
  • Loading branch information
s2b authored Mar 24, 2023
2 parents fb38b17 + b5dfdcf commit 6c734dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Classes/Command/CheckContentEscapingCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ protected function discoverTemplateFiles(): array
{
// All extensions in local extension directory
$activeExtensions = array_filter($this->packageManager->getActivePackages(), function ($package) {
return strpos($package->getPackagePath(), Environment::getExtensionsPath()) === 0;
return strpos($package->getPackagePath(), Environment::getExtensionsPath()) === 0
|| $package->getPackageMetaData()->getPackageType() === 'typo3-cms-extension';
});

// All template paths (Resources/Private/)
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'state' => 'stable',
'uploadfolder' => false,
'clearCacheOnLoad' => false,
'version' => '3.5.0',
'version' => '3.5.1',
'constraints' => [
'depends' => [
'typo3' => '10.4.0-11.9.99',
Expand Down

0 comments on commit 6c734dd

Please sign in to comment.