diff --git a/src/Connector/ConnectorDefinitionInterface.php b/src/Connector/ConnectorDefinitionInterface.php index ddb74bd1..e5c79b62 100644 --- a/src/Connector/ConnectorDefinitionInterface.php +++ b/src/Connector/ConnectorDefinitionInterface.php @@ -1,5 +1,16 @@ $this->getAppId(), diff --git a/src/Connector/Facebook/FeedGenerator.php b/src/Connector/Facebook/FeedGenerator.php index 36cff602..16186d9c 100644 --- a/src/Connector/Facebook/FeedGenerator.php +++ b/src/Connector/Facebook/FeedGenerator.php @@ -1,5 +1,16 @@ + * * @throws \Exception */ public function resolveContextItems(string $contextName, ConnectorDefinitionInterface $connectorDefinition, array $contextParameter): array; diff --git a/src/Context/ResolvedItem.php b/src/Context/ResolvedItem.php index 66ada7c8..0a4d084d 100644 --- a/src/Context/ResolvedItem.php +++ b/src/Context/ResolvedItem.php @@ -1,5 +1,16 @@ hash_hmac('sha256', $engineConfiguration->getAccessToken(), $engineConfiguration->getAppSecret()), ], 'form_params' => $params - ], $params)); return json_decode($response->getBody()->getContents(), true, 512, JSON_THROW_ON_ERROR); @@ -298,5 +308,4 @@ protected function generateRedirectUri(string $token): string { return $this->generateUrl('jobs_facebook_connect_check', ['token' => $token], UrlGeneratorInterface::ABSOLUTE_URL); } - } diff --git a/src/Controller/ProviderController.php b/src/Controller/ProviderController.php index dd95f4dd..188740ca 100644 --- a/src/Controller/ProviderController.php +++ b/src/Controller/ProviderController.php @@ -1,5 +1,16 @@ setId(null); diff --git a/src/DependencyInjection/Compiler/ConnectorDefinitionPass.php b/src/DependencyInjection/Compiler/ConnectorDefinitionPass.php index 82be78b7..af3ee205 100644 --- a/src/DependencyInjection/Compiler/ConnectorDefinitionPass.php +++ b/src/DependencyInjection/Compiler/ConnectorDefinitionPass.php @@ -1,5 +1,16 @@ getParameter('kernel.bundles'); - /** @phpstan-ignore-next-line */ + /* @phpstan-ignore-next-line */ if (array_key_exists('SeoBundle', $bundles) && array_key_exists('SchemaBundle', $bundles)) { $container->setParameter('jobs.connector.google.dependencies_installed', true); $loader->load('external/seo.yaml'); diff --git a/src/EventListener/Admin/AssetListener.php b/src/EventListener/Admin/AssetListener.php index 6c08becd..f6a5b3e5 100644 --- a/src/EventListener/Admin/AssetListener.php +++ b/src/EventListener/Admin/AssetListener.php @@ -1,5 +1,16 @@ repository->findBy(['objectId' => $objectId, 'connectorEngine' => $connectorEngineId]); } - } diff --git a/src/Repository/ConnectorContextItemRepositoryInterface.php b/src/Repository/ConnectorContextItemRepositoryInterface.php index a6a298e0..c3d156c1 100644 --- a/src/Repository/ConnectorContextItemRepositoryInterface.php +++ b/src/Repository/ConnectorContextItemRepositoryInterface.php @@ -1,5 +1,16 @@ getContextDefinition(); $context = []; diff --git a/src/Service/LinkGeneratorServiceInterface.php b/src/Service/LinkGeneratorServiceInterface.php index 7db61e5d..42539b74 100644 --- a/src/Service/LinkGeneratorServiceInterface.php +++ b/src/Service/LinkGeneratorServiceInterface.php @@ -1,5 +1,16 @@