Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D10-27: Use non-deprecated type. #19

Merged
merged 5 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
JojoVes marked this conversation as resolved.
Show resolved Hide resolved
JojoVes marked this conversation as resolved.
Show resolved Hide resolved
secrets: inherit
4 changes: 2 additions & 2 deletions src/Plugin/Block/EmbargoNotificationBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
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;
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\embargo\EmbargoInterface;
use Drupal\node\NodeInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;

/**
* Provides a "Embargo Notifications" block.
Expand Down Expand Up @@ -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.
Expand Down
Loading