Error in bitbucket usage #7

Closed
opened 2015-09-30 09:04:06 +00:00 by jjkiers · 6 comments
jjkiers commented 2015-09-30 09:04:06 +00:00 (Migrated from code.kiers.eu)

Hello when using this lib with bitbucket API i get the following fatal error

PHP Fatal error: Can't inherit abstract function JacobKiers\OAuth\SignatureMethod\SignatureMethodInterface::getName() (previously declared abstract in JacobKiers\OAuth\SignatureMethod\SignatureMethod) in /var/www/ideiasfrescas/data/www/seed.ideiasfrescas.com/vendor/jacobkiers/oauth/src/JacobKiers/OAuth/SignatureMethod/SignatureMethod.php on line 29

Hello when using this lib with bitbucket API i get the following fatal error PHP Fatal error: Can't inherit abstract function JacobKiers\OAuth\SignatureMethod\SignatureMethodInterface::getName() (previously declared abstract in JacobKiers\OAuth\SignatureMethod\SignatureMethod) in /var/www/ideiasfrescas/data/www/seed.ideiasfrescas.com/vendor/jacobkiers/oauth/src/JacobKiers/OAuth/SignatureMethod/SignatureMethod.php on line 29
jjkiers commented 2015-10-02 08:15:06 +00:00 (Migrated from code.kiers.eu)

Hi @jarodium, thank you for reporting this. I'll see if I can get around to fixing it during the week end.

Or, if you fixed it already, I'd also appreciate a PR 😄.

Hi @jarodium, thank you for reporting this. I'll see if I can get around to fixing it during the week end. Or, if you fixed it already, I'd also appreciate a PR :smile:.
jjkiers commented 2015-10-02 13:08:32 +00:00 (Migrated from code.kiers.eu)

Hello, I think I have solved this ssue.
I was using php 5.3, but upon moving the app to a hosting account with php 5.4 it works.

Dunno if php >= 5.4 is specifically required also for this lib, but I thought you should know about it.

Hello, I think I have solved this ssue. I was using php 5.3, but upon moving the app to a hosting account with php 5.4 it works. Dunno if php >= 5.4 is specifically required also for this lib, but I thought you should know about it.
jjkiers commented 2015-10-02 13:13:45 +00:00 (Migrated from code.kiers.eu)

Thank you for writing that up. I will check it, and if it is, I'll also update the PHP version requirement in composer.json.

Thank you for writing that up. I will check it, and if it is, I'll also update the PHP version requirement in `composer.json`.
jjkiers commented 2015-10-02 13:28:01 +00:00 (Migrated from code.kiers.eu)

@jarodium Do you know the exact PHP version and OS you were using with PHP 5.3? It seems related to PHP bug 43200, which was fixed in PHP 5.3.9.

@jarodium Do you know the exact PHP version and OS you were using with PHP 5.3? It seems related to [PHP bug 43200](https://bugs.php.net/bug.php?id=43200), which was fixed in PHP 5.3.9.
jjkiers commented 2015-10-02 13:55:21 +00:00 (Migrated from code.kiers.eu)

@jarodium Fixed in version 1.0.12.

@jarodium Fixed in version 1.0.12.
jjkiers commented 2015-10-03 01:12:51 +00:00 (Migrated from code.kiers.eu)

Yes it was 5.3.3 to be exact

Yes it was 5.3.3 to be exact
This discussion has been locked. Commenting is limited to contributors.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jjkiers/OAuth#7
No description provided.