moodle/enrol/lti
Daniel Ziegenberg 87267da39d
MDL-81281 phpunit: assertObjectNotHasAttribute is deprecated
To be integrated as part of MDL-81266

When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectNotHasProperty() instead."

So we replace all instances of assertObjectNotHasAttribute with
assertObjectNotHasProperty.

PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit.  PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-03-25 16:21:07 +01:00
..
amd MDL-77559 js: Rebuild all JS with Node 16 2023-03-09 09:53:19 +08:00
backup/moodle2 MDL-69542 enrol_lti: backup changes for LTI Advantage 2022-02-11 10:52:40 +08:00
classes MDL-80835 enrol_lti: add partitioning support for OIDC state cookie 2024-03-21 15:35:48 +08:00
db MDL-78496 core: Address phpcs issues with upgrade.php files 2023-11-19 21:20:53 +08:00
ims-blti Merge branch 'MDL-77350-master' of https://github.com/meirzamoodle/moodle 2023-05-17 08:27:26 +02:00
lang/en MDL-80835 enrol_lti: add cookies required notice to auth login endpoint 2024-03-21 15:35:48 +08:00
pix NOBUG: Fixed SVG browser compatibility 2022-07-21 21:29:45 +04:00
templates MDL-80835 enrol_lti: add cookies required notice to auth login endpoint 2024-03-21 15:35:48 +08:00
tests MDL-81281 phpunit: assertObjectNotHasAttribute is deprecated 2024-03-25 16:21:07 +01:00
xml
cartridge.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
configure.php MDL-79675 enrol_lti: fix class instantiation after library upgrade 2024-03-06 08:44:14 +08:00
index.php MDL-69542 enrol_lti: add version based resource publication 2022-02-11 10:51:59 +08:00
jwks.php MDL-79675 enrol_lti: fix JWKS generation after library removals 2024-03-06 08:44:14 +08:00
launch.php MDL-79675 enrol_lti: fix class instantiation after library upgrade 2024-03-06 08:44:14 +08:00
launch_deeplink.php MDL-79675 enrol_lti: fix class instantiation after library upgrade 2024-03-06 08:44:14 +08:00
lib.php MDL-68843 enrol_lti: auto disable orphaned enrolment instances 2022-07-18 16:08:18 +08:00
login.php MDL-80835 enrol_lti: add cookies required notice to auth login endpoint 2024-03-21 15:35:48 +08:00
manage_deployment.php MDL-74221 enrol_lti: change registration workflow to support drafts 2022-03-31 12:15:46 +08:00
proxy.php MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
register.php MDL-77933 enrol_lti: return site name and logo during registration 2023-06-08 11:28:26 +08:00
register_platform.php MDL-74221 enrol_lti: change registration workflow to support drafts 2022-03-31 12:15:46 +08:00
settings.php MDL-74221 enrol_lti: change registration workflow to support drafts 2022-03-31 12:15:46 +08:00
styles.css MDL-74312 enrol_lti: fix copytoclipboard trigger element 2022-04-20 09:31:48 +08:00
thirdpartylibs.xml MDL-74697 libraries: Update all third-party libraries with more metadata 2022-07-22 07:28:47 +02:00
tool.php MDL-76821 enrol_lti: prevent legacy launches via upgraded enrolment 2023-05-05 17:07:21 +08:00
upgradelib.php MDL-69542 enrol_lti: add upgrade and install code updating tables 2022-02-11 10:10:05 +08:00
version.php MDL-79551 versions: bump all versions and requires near release 2023-10-04 13:57:17 +08:00