Functions are: Connection::query, Schema::fieldSetDefault, and Schema::fieldSetNoDefault, db_add_index()
There are kernel tests in DatabaseLegacyTest which verify that deprecation errors are triggered for specific functions or conditions. The format of some of these errors is incorrect. There are periods at the end of some, and instead of using the format 'drupal:9.0.0' it says 'Drupal 9.0.0'. I am working on a contrib database driver. I would like my driver to be able to both pass the core test suite, and pass phpcs. In this case, I have to either choose one, or disable phpcs for the lines that create the triggers.
Comment | File | Size | Author |
---|---|---|---|
#11 | 3108540-11.patch | 5.27 KB | Beakerboy |
#3 | drupal-3108540-deprecationErrors-3.patch | 14.39 KB | Beakerboy |
Comments
Comment #2
daffie CreditAttribution: daffie commentedComment #3
BeakerboyPatch for deprecation formatiing.
Comment #4
BeakerboyComment #5
bronk CreditAttribution: bronk at VMLY&R commentedPatch applied. Tests passed and I'm not seeing any PHPCS errors related to this after applying. I also reviewed each file manually for consistency. Patch in #3 covers all instances.
Comment #6
bronk CreditAttribution: bronk at VMLY&R commentedComment #8
catchCommitted aca5ddd and pushed to 8.9.x. Thanks!
Cherry-picked to 8.8.x
Comment #11
BeakerboyApperantly a ".x" is now not allowed in the version.