This project is mirrored from https://github.com/heiseonline/shariff-backend-php.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Feb 28, 2020
-
-
Richard Fath authored
-
- Feb 24, 2020
-
-
Alexander Pluhar authored
-
Alexander Pluhar authored
-
- Feb 18, 2020
-
-
Alexander Pluhar authored
-
- Jan 13, 2020
-
-
Vladimir Khramtsov authored
-
Vladimir Khramtsov authored
-
- Jan 09, 2020
-
-
Alexander Pluhar authored
-
Alexander Pluhar authored
-
Alexander Pluhar authored
The tests fail with the following error if run with PHP >=7.4: Trying to access array offset on value of type null The error is caused by Backend/Facebook.php L34: $accessToken = urlencode($this->config['app_id']) .'|'.urlencode($this->config['secret']); $this->config is NULL in ShariffTest::testShariff and ShariffTest::testCacheOptions because the 'Facebook' key does not exist in the supplied test configurations. I _think_ before PHP 7.4. this happened: Backend/Facebook.php L34 would not throw an error but result in an invalid accessToken, which would result in an invalid Facebook Graph API URL. Calling this URL would result in an invalid API response which would result in an empty share count for Facebook. The tests 'worked', because the Facebook service was loaded but its return values were never checked. A problem is that Backend/Facebook.php tries to fail in its setConfig function if the API credentials are missing. But the Backend/ServiceFactory.php only calls setConfig if the service has actually been configured. So not configuring the Facebook service but loading it results in an unconfigured service that cannot be used and generates invalid accessTokens and Graph API URLs.
-
Alexander Pluhar authored
-
Alexander Pluhar authored
PHP 7.1 is EOL https://www.php.net/supported-versions.php
-
Alexander Pluhar authored
- update dependencies - update phpunit to 8.x - fix tests
-
Alexander Pluhar authored
-
Alexander Pluhar authored
-
Alexander Pluhar authored
-
- Nov 15, 2019
-
-
Richard Fath authored
-
- Aug 20, 2019
-
-
Alexander Pluhar authored
-
Alexander Pluhar authored
-
- Aug 04, 2019
-
-
Richard Fath authored
-
- Jun 27, 2019
-
-
apl authored
-
apl authored
Merge branch 'remove-service-linkedin' of git://github.com/richard67/shariff-backend-php into richard67-remove-service-linkedin
- Jun 19, 2019
-
-
apl authored
-
- Jun 17, 2019
-
-
Richard Fath authored
-
- Jun 12, 2019
-
-
apl authored
- Jun 04, 2019
-
-
Markus Klein authored
-
- May 27, 2019
-
-
apl authored
- May 02, 2019
-
-
Richard Fath authored
-
- Apr 01, 2019
- Mar 23, 2019
-
-
Richard Fath authored
-
Richard Fath authored
-
- Nov 29, 2018