From 589322320bce178d67ae2220b82a43ab1523c7b4 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Tue, 10 Oct 2023 12:01:01 -0300 Subject: [PATCH 1/4] Use non-deprecated type. --- src/Plugin/Block/EmbargoNotificationBlock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin/Block/EmbargoNotificationBlock.php b/src/Plugin/Block/EmbargoNotificationBlock.php index 28045fd..7ad8d4d 100644 --- a/src/Plugin/Block/EmbargoNotificationBlock.php +++ b/src/Plugin/Block/EmbargoNotificationBlock.php @@ -7,7 +7,6 @@ use Drupal\Core\Cache\Cache; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; -use Drupal\Core\Http\RequestStack; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\Core\Render\RendererInterface; use Drupal\Core\Routing\ResettableStackedRouteMatchInterface; @@ -15,6 +14,7 @@ use Drupal\embargo\EmbargoInterface; use Drupal\node\NodeInterface; use Symfony\Component\DependencyInjection\ContainerInterface; +use Symfony\Component\HttpFoundation\RequestStack; /** * Provides a "Embargo Notifications" block. @@ -87,7 +87,7 @@ class EmbargoNotificationBlock extends BlockBase implements ContainerFactoryPlug * The plugin definition. * @param \Drupal\Core\Routing\ResettableStackedRouteMatchInterface $route_match * A route matching interface. - * @param \Drupal\Core\Http\RequestStack $request_stack + * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * The request being made to check access against. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * A configuration factory interface. From 93414e22ac18ee59f645272c9158f416d5f67311 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Tue, 10 Oct 2023 12:13:11 -0300 Subject: [PATCH 2/4] Use the `fix/auth` branch of the `phpunit-action` workflow. --- .github/workflows/phpunit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 0589725..0d3e7ad 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -8,5 +8,5 @@ on: jobs: PHPUnit: - uses: discoverygarden/phpunit-action/.github/workflows/phpunit.yml@v1 + uses: discoverygarden/phpunit-action/.github/workflows/phpunit.yml@fix/auth secrets: inherit From bcc4a11484d76d1c4687adf7f7719161d376b822 Mon Sep 17 00:00:00 2001 From: JojoVes Date: Thu, 19 Oct 2023 10:27:25 -0300 Subject: [PATCH 3/4] update phpunit-action version related PR was merged and created v1.1.0 --- .github/workflows/phpunit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 0d3e7ad..02baf77 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -8,5 +8,5 @@ on: jobs: PHPUnit: - uses: discoverygarden/phpunit-action/.github/workflows/phpunit.yml@fix/auth + uses: discoverygarden/phpunit-action/.github/workflows/phpunit.yml@v1.1.0 secrets: inherit From ba9d0a801c86d4bbcc5d9d3a26df4e1497c97dac Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Wed, 1 Nov 2023 15:42:13 -0300 Subject: [PATCH 4/4] Redirecting back to major version tag --- .github/workflows/phpunit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 02baf77..0589725 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -8,5 +8,5 @@ on: jobs: PHPUnit: - uses: discoverygarden/phpunit-action/.github/workflows/phpunit.yml@v1.1.0 + uses: discoverygarden/phpunit-action/.github/workflows/phpunit.yml@v1 secrets: inherit