Skip to content

Support PHP 7.3#319

Merged
ChristophWurst merged 2 commits intonextcloud:masterfrom
xf-:task/php7_3
Dec 4, 2018
Merged

Support PHP 7.3#319
ChristophWurst merged 2 commits intonextcloud:masterfrom
xf-:task/php7_3

Conversation

@xf-
Copy link
Contributor

@xf- xf- commented Nov 16, 2018

PHP 7.3 works in my instance

@ChristophWurst
Copy link
Member

ChristophWurst commented Nov 16, 2018

Thanks!

@xf-
Copy link
Contributor Author

xf- commented Nov 16, 2018

CI fails https://travis-ci.org/nextcloud/twofactor_u2f/jobs/455794009#L1739

Yes, travis didn't start for 30m and i gone to sleep :) Maybe a plugin is missing (travis PHP 7.3 support ticket had some build issues of extensions)

Requires a Nextcloud server with php7.3 support

Nextcloud backported only known issue i had to v14.0.1 (no official support) and according to github issue v15 will release with official PHP v7.3 support

@ChristophWurst
Copy link
Member

Nextcloud backported only known issue i had to v14.0.1 (no official support) and according to github issue v15 will release with official PHP v7.3 support

I totally missed that. nextcloud/server#11745 🚀

@ChristophWurst
Copy link
Member

Yes, travis didn't start for 30m and i gone to sleep :) Maybe a plugin is missing (travis PHP 7.3 support ticket had some build issues of extensions)

I doubt it's a temporary issue, but I've restarted the build anyway.

@xf-
Copy link
Contributor Author

xf- commented Nov 16, 2018

I mean xdebug is missing and you can't remove the ini.

Solutions:

  • ${TRAVIS_PHP_VERSION:0:3} != "7.3" - xdebug could be added after an new xdebug release.
  • Test if file exists but phpenv has minor version in path (no feature like phpenv config-exists xdebug.ini)
  • Ignore the error - disable for speed is only possible if extension is loaded. I will try to avoid the error and exit

@xf-
Copy link
Contributor Author

xf- commented Nov 16, 2018

@ChristophWurst looks like saucelabs failed

@ChristophWurst
Copy link
Member

@ChristophWurst looks like saucelabs failed

That's because Travis hides the API keys for PRs from forked repositories.

@xf-
Copy link
Contributor Author

xf- commented Nov 19, 2018

@ChristophWurst works like u2f

@DrissiReda
Copy link

any way I can integrate this to my own nextcloud installation?

@ChristophWurst
Copy link
Member

any way I can integrate this to my own nextcloud installation?

You can of course just edit your local copy of the source code. As usual, you're on your own if anything breaks. I recommend waiting for an official release. Testing and feedback is highly appreciated in the meantime.

@xf-
Copy link
Contributor Author

xf- commented Dec 4, 2018

@DrissiReda you can always load the patch on github with append .patch
https://patch-diff.githubusercontent.com/raw/nextcloud/twofactor_totp/pull/319.patch
and apply it with patch

@ChristophWurst ChristophWurst merged commit f797935 into nextcloud:master Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants