diff --git a/.phpcq.yaml.dist b/.phpcq.yaml.dist index a45bb5d..0f48f94 100644 --- a/.phpcq.yaml.dist +++ b/.phpcq.yaml.dist @@ -94,7 +94,13 @@ tasks: <<: *phpcs-config fix: true + composer-normalize: + config: &composer-normalize-config + ignore_output: + - '#> pre-command-run: Contao\\ManagerPlugin\\Composer\\ArtifactsPlugin->preCommandRun#' + composer-normalize-fix: plugin: composer-normalize config: + <<: *composer-normalize-config dry_run: false diff --git a/composer.json b/composer.json index a62de7f..147ae54 100644 --- a/composer.json +++ b/composer.json @@ -56,8 +56,8 @@ }, "extra": { "branch-alias": { - "dev-develop": "2.2.x-dev", - "dev-master": "2.1.x-dev" + "dev-develop": "2.3.x-dev", + "dev-master": "2.2.x-dev" }, "contao-manager-plugin": "Hofff\\Contao\\FacebookPixel\\ContaoManager\\Plugin" } diff --git a/src/EventListener/HookSubscriber.php b/src/EventListener/HookSubscriber.php index 2235c43..f57abcf 100644 --- a/src/EventListener/HookSubscriber.php +++ b/src/EventListener/HookSubscriber.php @@ -31,7 +31,7 @@ public function onParseFrontendTemplate(string $content): string { static $processed = false; - if ($processed || ! isset ($GLOBALS['objPage'])) { + if ($processed || ! isset($GLOBALS['objPage'])) { return $content; }