Skip to content

Commit

Permalink
Merge branch 'master' of github.com:yireo/Yireo_GoogleTagManager2
Browse files Browse the repository at this point in the history
  • Loading branch information
jissereitsma committed Aug 26, 2024
2 parents 9ec0b4a + 61e160a commit 17efb91
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/extdn-integration-tests-pre-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
composer config minimum-stability dev
composer config prefer-stable false

composer require yireo/magento2-integration-test-helper --no-update
composer require --dev yireo/magento2-integration-test-helper --no-update

composer require yireo/magento2-replace-bundled:^4.0 --no-update
composer require yireo/magento2-replace-inventory:^4.0 --no-update
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/extdn-phpstan-pre-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ composer config prefer-stable false
composer require yireo/magento2-integration-test-helper --no-update

composer config --no-plugins allow-plugins true

composer require --dev phpstan/extension-installer --no-update
composer require --dev bitexpert/phpstan-magento --no-update

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/extdn-phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
uses: actions/cache@v2
with:
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}"
#path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: extdn/github-actions-m2/magento-phpstan/8.3@master
Expand Down
2 changes: 1 addition & 1 deletion Plugin/AddCspInlineScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct(
public function afterToHtml(Template $block, $html): string
{
if (false === strstr((string)$block->getNameInLayout(), 'yireo_googletagmanager2.')) {
return $html;
return (string)$html;
}

return $this->replaceInlineScripts->replace((string)$html);
Expand Down

0 comments on commit 17efb91

Please sign in to comment.