Skip to content
Snippets Groups Projects
Commit ee01023c authored by Shelane French's avatar Shelane French
Browse files

Merge branch '3466253-add-initial-gitlab' into '2.x'

gitlab-ci

See merge request !7
parents 40f0e04c da8cd027
No related branches found
No related tags found
No related merge requests found
Pipeline #246015 passed with warnings
File moved
......@@ -5,4 +5,4 @@ node_access_rebuild_progressive.settings:
cron:
type: boolean
chunk:
type: integer
\ No newline at end of file
type: integer
<?php
/**
* @file
* The install file for install hooks, uninstall hooks, update hooks.
*/
/**
* Implements hook_uninstall().
*/
......
......@@ -2,4 +2,4 @@ node_access_rebuild_progressive.admin:
title: 'Node access rebuild'
description: 'Configure progressive rebuild of the node access permissions'
parent: system.admin_config_development
route_name: node_access_rebuild_progressive.settings
\ No newline at end of file
route_name: node_access_rebuild_progressive.settings
......@@ -34,7 +34,7 @@ function node_access_rebuild_progressive_cron(): void {
*/
function node_access_rebuild_progressive_trigger(): void {
$database = \Drupal::database();
// Prevents default message/behaviour.
// Prevents default message/behavior.
node_access_needs_rebuild(FALSE);
// Add default grants in the unlikely case
// no modules implement node_grants anymore.
......@@ -143,7 +143,7 @@ function node_access_rebuild_progressive_finished(): void {
/**
* Rebuilds the node access grants table.
*
* @param SiteAliasManagerInterface|null $aliasManager
* @param \Consolidation\SiteAlias\SiteAliasManagerInterface|null $aliasManager
* The site alias manager.
*/
function _drush_node_access_rebuild_progressive_rebuild(SiteAliasManagerInterface $aliasManager = NULL): CommandResult {
......
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
level: 1
paths:
- .
ignoreErrors:
# new static() is a best practice in Drupal, so we cannot fix that.
- "#^Unsafe usage of new static#"
......@@ -8,7 +8,7 @@ use Consolidation\SiteAlias\SiteAliasManagerAwareTrait;
use Drush\Commands\DrushCommands;
/**
* A Drush commandfile.
* A Drush command file.
*/
class NodeAccessRebuildProgressiveCommands extends DrushCommands implements SiteAliasManagerAwareInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment