[various] Address a couple of PHP8.1 deprecation notices #1319

Merged
MrPetovan merged 2 commits from bug/deprecated into develop 2022-11-25 23:32:50 +01:00
MrPetovan commented 2022-11-23 19:44:01 +01:00 (Migrated from github.com)
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513 - Hopefully address https://github.com/friendica/friendica/issues/12011#issuecomment-1321196332 Depends on https://github.com/friendica/friendica/pull/12249
Quix0r (Migrated from github.com) reviewed 2022-11-24 19:24:36 +01:00
Quix0r (Migrated from github.com) left a comment

Do we need to include vendor directly here again or can this somehow be prevented?

Do we need to include `vendor` directly here again or can this somehow be prevented?
MrPetovan commented 2022-11-24 19:42:09 +01:00 (Migrated from github.com)

Do we need to include vendor directly here again or can this somehow be prevented?

So, I looked into it, and we are using phpseclib in the core, which means we don't need to include it in any addon. Furthermore, the openpgp dependency was upgraded to support PHP 8 and phpseclib 3, so we could upgrade everything at once (core phpseclib 3 and openphp lib in addon)

> Do we need to include `vendor` directly here again or can this somehow be prevented? So, I looked into it, and we are using phpseclib in the core, which means we don't need to include it in any addon. Furthermore, the openpgp dependency was upgraded to support PHP 8 and phpseclib 3, so we could upgrade everything at once (core phpseclib 3 and openphp lib in addon)
Quix0r (Migrated from github.com) approved these changes 2022-11-24 22:28:08 +01:00
Sign in to join this conversation.
No description provided.