Problem/Motivation
There is a deprecation message right after a successful Drupal 10 installation:
Deprecated function: Creation of dynamic property Drupal\pathauto\AliasCleaner::$punctuationCharacters is deprecated in Drupal\pathauto\AliasCleaner->getPunctuationCharacters() (line 332 of modules/contrib/pathauto/src/AliasCleaner.php).
Drupal\pathauto\AliasCleaner->getPunctuationCharacters() (Line: 177)
Drupal\pathauto\AliasCleaner->cleanString(Object, Array) (Line: 348)
Drupal\pathauto\AliasCleaner->cleanTokenValues(Array, Array, Array, Object) (Line: 263)
Drupal\Core\Utility\Token->doReplace(1, '/articles/[node:title]', Array, Array, Object) (Line: 189)
Drupal\Core\Utility\Token->replace('/articles/[node:title]', Array, Array, Object) (Line: 223)
Drupal\pathauto\PathautoGenerator->createEntityAlias(Object, 'insert') (Line: 381)
Drupal\pathauto\PathautoGenerator->updateEntityAlias(Object, 'insert') (Line: 86)
pathauto_entity_insert(Object)
call_user_func_array(Object, Array) (Line: 409)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'pathauto') (Line: 388)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('entity_insert', Object) (Line: 408)
Drupal\Core\Extension\ModuleHandler->invokeAll('entity_insert', Array) (Line: 217)
Drupal\Core\Entity\EntityStorageBase->invokeHook('insert', Object) (Line: 903)
Drupal\Core\Entity\ContentEntityStorageBase->invokeHook('insert', Object) (Line: 564)
Drupal\Core\Entity\EntityStorageBase->doPostSave(Object, ) (Line: 784)
Drupal\Core\Entity\ContentEntityStorageBase->doPostSave(Object, ) (Line: 489)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 804)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object) (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 275)
Drupal\default_content\Importer->importContent('pantheon_decoupled_example') (Line: 15)
default_content_modules_installed(Array, )
call_user_func_array(Object, Array) (Line: 409)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'default_content') (Line: 388)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('modules_installed', Object) (Line: 408)
Drupal\Core\Extension\ModuleHandler->invokeAll('modules_installed', Array) (Line: 373)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 40)
pantheon_decoupled_install_demo_content(Array) (Line: 704)
install_run_task(Array, Array) (Line: 575)
install_run_tasks(Array, NULL) (Line: 119)
install_drupal(Object) (Line: 48)
Steps to reproduce
Install Drupal 10 using a D10 ready upstream like https://github.com/pantheon-upstreams/decoupled-drupal-10-composer-managed and the decoupled profile.
Proposed resolution
Maybe update one or some module dependencies (?)
Remaining tasks
User interface changes
API changes
Data model changes