Drupal 9 Readiness

Created on 23 May 2020, about 4 years ago
Updated 26 October 2023, 8 months ago

Problem/Motivation

Drupal 9 is coming so prepare module for it

vendor/bin/rector process modules/contrib/jsonapi_aliases --dry-run
Rector 0.8.x-dev@80f429b
Config file: rector.yml

 9/9 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100%

1 file with changes
===================

1) modules/contrib/jsonapi_aliases/src/StackMiddleware/PathAndFormatSetter.php

    ---------- begin diff ----------
--- Original
+++ New
@@ -2,6 +2,7 @@

 namespace Drupal\jsonapi_aliases\StackMiddleware;

+use Drupal\Core\Config\ConfigFactory;
 use Drupal\Core\KeyValueStore\KeyValueStoreInterface;
 use Drupal\Core\Path\AliasManagerInterface;
 use Drupal\jsonapi_aliases\KeyValueStore\Store;
@@ -62,7 +63,7 @@
     HttpKernelInterface $http_kernel,
     AliasManagerInterface $alias_manager,
     Store $store,
-    \Drupal\Core\Config\ConfigFactory $configFactory
+    ConfigFactory $configFactory
   ) {
     $this->httpKernel = $http_kernel;
     $this->aliasManager = $alias_manager;
    ----------- end diff -----------



 [OK] Rector is done! 1 file would have changed (dry-run).
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland dmitry.korhov Poland, Warsaw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024