-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop PHP 7.4 on master #34997
Drop PHP 7.4 on master #34997
Conversation
@@ -470,8 +470,7 @@ | |||
*/ | |||
protected function isValidPrivateKey($plainKey) { | |||
$res = openssl_get_privatekey($plainKey); | |||
// TODO: remove resource check one php7.4 is not longer supported | |||
if (is_resource($res) || (is_object($res) && get_class($res) === 'OpenSSLAsymmetricKey')) { | |||
if (is_object($res) && get_class($res) === 'OpenSSLAsymmetricKey') { |
Check notice
Code scanning / Psalm
TypeDoesNotContainType
apps/encryption/lib/Crypto/Crypt.php
Outdated
@@ -160,11 +160,11 @@ | |||
/** | |||
* Generates a new private key | |||
* | |||
* @return resource | |||
* @return \OpenSSLAsymmetricKey|false |
Check failure
Code scanning / Psalm
UndefinedDocblockClass
apps/user_ldap/ajax/wizard.php
Outdated
\OC_JSON::error(['message' => $l->t('No data specified')]); | ||
exit; | ||
} | ||
if (is_array($key)) { | ||
\OC_JSON::error(['message' => $l->t('Invalid data specified')]); |
Check notice
Code scanning / Psalm
DeprecatedMethod
ref #35025 |
9b748c9
to
ccc9792
Compare
3deaae5
to
f3a7d32
Compare
This comment was marked as outdated.
This comment was marked as outdated.
@icewind1991 Would you be able to publish icewind1991/samba-krb-test-apache with PHP 8 so that CI using that can run? |
This comment was marked as outdated.
This comment was marked as outdated.
3068f16
to
9681038
Compare
This comment was marked as outdated.
This comment was marked as outdated.
23dc847
to
275e9ab
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
05ba539
to
4a71f1b
Compare
I merged the psalm-* workflows into the static-code-analysis one and it seems to work 👍 |
This comment was marked as outdated.
This comment was marked as outdated.
Are there any parts of this PR that you could extract and submit separately? |
4a71f1b
to
f6f0a78
Compare
Rebased with latest actions changes. This PR should be a bit lighter now :) |
Considering the 891 files in from php cs, we can tackle that as a followup maybe! 🙈 |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
It runs on a docker image on which we cannot control which PHP version runs. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
bf9ab85
to
f32d18d
Compare
- DietPi-Software | Nextcloud: Assure that Nextcloud 25 is downloaded on Bullseye, since Nextcloud 26 won't support PHP 7.4 anymore: nextcloud/server#34997
Nextcloud 26 will require PHP 8.0 at least, see nextcloud/server#34997 Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Nextcloud 26 will require PHP 8.0 at least, see nextcloud/server#34997
hello @come-nc |
At least here the PHP requirements table needs to be adjusted: https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/system_requirements.rst There are further pages where PHP 7.4 is used as example, which should be updated to 8.1 or 8.2:
|
|
Starting with 26 we will no longer support PHP 7.4
Bump the minimum version and start removing workaround specific to PHP 7.4
Parent issue: #35025