Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Nov 2022 at 22:55 UTC
Updated:
2 Dec 2022 at 11:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
poker10 commentedAdding a patch which should declare hopefully all of them.
I have not added comments to the properties, because there are minimum properties with comments in tests currently. Also once have used the
#[AllowDynamicProperties]on theFakeRecordclass. But all others are declared correctly (no#[AllowDynamicProperties]).Let's check the testbot.
Comment #4
poker10 commentedIt seems like that filetransfer properties should be defined in the
FileTransferclass, so removing them. Also added two missed declarations.Comment #5
poker10 commentedForgot to add an interdiff..
Comment #6
mcdruid commentedI've not looked closely, but why are we doing this in just this one class?
Comment #7
poker10 commentedThe
FakeRecordclass looks like this:It seems to me that anything can be fetched to the properties of this class. So I have not chosen to declare the three currently problematic properties:
But instead generally marked the class with the
#[AllowDynamicProperties](potentially to the future).Comment #9
mcdruid commentedMakes sense, thanks!
I made one change on commit -
s/An/A