Problem/Motivation
PHP deprecation notice:
Deprecated function: Creation of dynamic property Drupal\pathauto\AliasCleaner::$punctuationCharacters is deprecated in Drupal\pathauto\AliasCleaner->getPunctuationCharacters() (line 332 of /var/www/html/web/modules/contrib/pathauto/src/AliasCleaner.php)
Steps to reproduce
Save an entity configured to autogenerate an alias
| Comment | File | Size | Author |
|---|---|---|---|
| #27 | php8-2-notice-pathauto-3328670-27.patch | 2.75 KB | andre.bonon |
| #2 | php8.2notice-pathauto-3328670.patch | 424 bytes | hugronaphor |
Issue fork pathauto-3328670
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
hugronaphor commentedComment #4
j-vee commentedTested & works fine!
Comment #5
berdirThere's another strange test fail on PHP 8.2.
Comment #6
xen commentedTried running the tests on PHP 8.2 and Drupal 10 locally, and they ran fine. Think the failures might be a fluke.
Comment #7
bronismateusz commentedI can confirm that with me the patch also works as expected.
Comment #8
ewout goosmannI can also confirm that the patch is working.
Comment #10
urvashi_vora commentedThe patch looks great and works fine for me as well.
RTBC ++
Thanks for the work.
Comment #13
arnaud-brugnon commentedWorks like a charm (even if code quality can be better).
Be aware that if you don't use this patch is 8.2, you may have cache issue.
Because this patch solve a warning.
Warning are display by MessengerService
MessengerService kill cache when you display a message (surprise !)
Comment #14
rajeshreeputra+1 RTBC
Comment #15
murrow commented+1 RTBC
Comment #16
raveen_thakur51 commentedThe patch is working fine for me. Can be moved to RTBC! And Thank You!!
Comment #17
szato commentedSame work done in Deprecated function: Creation of dynamic property Drupal\pathauto\AliasCleaner::$punctuationCharacters is deprecated, also RTBC, so this issue is 2x ;)
Comment #18
pfructuoso commentedThis works to me too!
Comment #19
jhedstromAs noted above, the failing test still needs to be addressed in 8.2.
Comment #20
jhedstromHmm, these aren't failing locally for me.
Comment #21
berdirThe entity ID test fail seems to be related to MySQL 8. The UI test fail is due to changes in 10.1 and not PHP 8.2, pretty tedious to fix.
Comment #23
berdirMerged.
Comment #24
rajeshreeputra@Berdir when can we expect the release for the same.
Comment #26
vipin.mittal18@berdir: When we can expect the stable release with this fixes?
Comment #27
andre.bononAttaching patch from the MR diff to use in composer.json
Comment #28
santhosh@21 commented#2 works for me with php 8.2 and drupal 10.1.3
Comment #29
rymcveighIt would be really nice if we could get this (now merged) change released to the most recent stable version of the module.
Comment #30
gregglesI filed #3388122: 8.x-1.12 Release Plan for php 8.2 and Drupal 10 support to plan the next release.
Based on reviewing the issue queue for critical/major issues, I think it could happen without any additional commits, but there is one additional issue that could be useful to commit.
Comment #31
damienmckenna