Skip to content

Commit 472d0c0

Browse files
author
Francisc
committed
Upgrade composer to PHP 8.3. Drop support for older PHP versions.
1 parent 517a2a3 commit 472d0c0

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
"sort-packages": true
3636
},
3737
"require": {
38-
"php": "^7.4|^8.0",
38+
"php": "~8.3.0",
3939
"ext-curl": "*",
4040
"ext-json": "*",
41-
"laminas/laminas-http": "^2.15",
42-
"laminas/laminas-json": "^3.3",
43-
"laminas/laminas-stdlib": "^3.6"
41+
"laminas/laminas-http": "^2.19.0",
42+
"laminas/laminas-json": "^3.6.0",
43+
"laminas/laminas-stdlib": "^3.19.0"
4444
},
4545
"require-dev": {
4646
"friendsofphp/php-cs-fixer": "^3.4",

src/GTrends/GTrends.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222

2323
class GTrends
2424
{
25-
private const GENERAL_ENDPOINT = 'https://trends.google.com/trends/api/explore';
26-
private const INTEREST_OVER_TIME_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/multiline';
27-
private const RELATED_QUERIES_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/relatedsearches';
28-
private const SUGGESTIONS_AUTOCOMPLETE_ENDPOINT = 'https://trends.google.com/trends/api/autocomplete';
29-
private const COMPARED_GEO_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/comparedgeo';
30-
private const CATEGORIES_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/category';
31-
private const GEO_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/geo';
32-
private const DAILY_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/dailytrends';
33-
private const REAL_TIME_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/realtimetrends';
25+
private const string GENERAL_ENDPOINT = 'https://trends.google.com/trends/api/explore';
26+
private const string INTEREST_OVER_TIME_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/multiline';
27+
private const string RELATED_QUERIES_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/relatedsearches';
28+
private const string SUGGESTIONS_AUTOCOMPLETE_ENDPOINT = 'https://trends.google.com/trends/api/autocomplete';
29+
private const string COMPARED_GEO_ENDPOINT = 'https://trends.google.com/trends/api/widgetdata/comparedgeo';
30+
private const string CATEGORIES_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/category';
31+
private const string GEO_ENDPOINT = 'https://trends.google.com/trends/api/explore/pickers/geo';
32+
private const string DAILY_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/dailytrends';
33+
private const string REAL_TIME_SEARCH_TRENDS_ENDPOINT = 'https://trends.google.com/trends/api/realtimetrends';
3434

3535
private array $options = [
3636
'hl' => 'en-US',

0 commit comments

Comments
 (0)