Skip to content

Commit b19c276

Browse files
committed
Fix version constraint to exclude PHP 8
1 parent ae60876 commit b19c276

16 files changed

+18
-18
lines changed

.github/workflows/php.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323

2424
- name: Setup PHP
2525
uses: shivammathur/setup-php@v2
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Cache Composer packages
3434
id: composer-cache
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
path: vendor
3838
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -46,7 +46,7 @@ jobs:
4646
run: composer run-script test
4747

4848
- name: Upload artifacts
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
name: test-report
5252
path: review/

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2022 Random-Host.tv
3+
Copyright (c) 2024 Random-Host.tv
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
"require": {
23-
"php": ">=7.3.0",
23+
"php": "~7.3",
2424
"randomhost/image": "~2.0",
2525
"ext-mbstring": "*"
2626
},

src/php/API.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Provides methods for retrieving data from the Steam Web API.
99
*
1010
* @author Ch'Ih-Yu <chi-yu@web.de>
11-
* @copyright 2022 Random-Host.tv
11+
* @copyright 2024 Random-Host.tv
1212
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1313
*
1414
* @see https://github.random-host.tv

src/php/Dto/User/Game.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Represents private Steam user game data.
99
*
1010
* @author Ch'Ih-Yu <chi-yu@web.de>
11-
* @copyright 2022 Random-Host.tv
11+
* @copyright 2024 Random-Host.tv
1212
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1313
*
1414
* @see https://github.random-host.tv

src/php/Dto/User/General.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Represents public Steam user data.
99
*
1010
* @author Ch'Ih-Yu <chi-yu@web.de>
11-
* @copyright 2022 Random-Host.tv
11+
* @copyright 2024 Random-Host.tv
1212
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1313
*
1414
* @see https://github.random-host.tv

src/php/Dto/User/Location.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Represents private Steam user location data.
99
*
1010
* @author Ch'Ih-Yu <chi-yu@web.de>
11-
* @copyright 2022 Random-Host.tv
11+
* @copyright 2024 Random-Host.tv
1212
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1313
*
1414
* @see https://github.random-host.tv

src/php/Dto/User/Profile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Represents a Steam user profile available under a 64 bit Steam community id.
99
*
1010
* @author Ch'Ih-Yu <chi-yu@web.de>
11-
* @copyright 2022 Random-Host.tv
11+
* @copyright 2024 Random-Host.tv
1212
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1313
*
1414
* @see https://github.random-host.tv

src/php/Dto/User/Restricted.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Represents private Steam user data.
99
*
1010
* @author Ch'Ih-Yu <chi-yu@web.de>
11-
* @copyright 2022 Random-Host.tv
11+
* @copyright 2024 Random-Host.tv
1212
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1313
*
1414
* @see https://github.random-host.tv

src/php/Signature.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Main class for displaying the Steam status signature images.
1414
*
1515
* @author Ch'Ih-Yu <chi-yu@web.de>
16-
* @copyright 2022 Random-Host.tv
16+
* @copyright 2024 Random-Host.tv
1717
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1818
*
1919
* @see https://github.random-host.tv

src/tests/php/Dto/User/GameTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Unit test for {@see Game}.
1212
*
1313
* @author Ch'Ih-Yu <chi-yu@web.de>
14-
* @copyright 2022 Random-Host.tv
14+
* @copyright 2024 Random-Host.tv
1515
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1616
*
1717
* @see https://github.random-host.tv

src/tests/php/Dto/User/GeneralTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Unit test for {@see General}.
1212
*
1313
* @author Ch'Ih-Yu <chi-yu@web.de>
14-
* @copyright 2022 Random-Host.tv
14+
* @copyright 2024 Random-Host.tv
1515
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1616
*
1717
* @see https://github.random-host.tv

src/tests/php/Dto/User/LocationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Unit test for {@see Location}.
1212
*
1313
* @author Ch'Ih-Yu <chi-yu@web.de>
14-
* @copyright 2022 Random-Host.tv
14+
* @copyright 2024 Random-Host.tv
1515
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1616
*
1717
* @see https://github.random-host.tv

src/tests/php/Dto/User/ProfileTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Unit test for {@see Profile}.
1414
*
1515
* @author Ch'Ih-Yu <chi-yu@web.de>
16-
* @copyright 2022 Random-Host.tv
16+
* @copyright 2024 Random-Host.tv
1717
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1818
*
1919
* @see https://github.random-host.tv

src/tests/php/Dto/User/RestrictedTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Unit test for {@see Restricted}.
1414
*
1515
* @author Ch'Ih-Yu <chi-yu@web.de>
16-
* @copyright 2022 Random-Host.tv
16+
* @copyright 2024 Random-Host.tv
1717
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
1818
*
1919
* @see https://github.random-host.tv

src/www/signature.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Steam Signature test script.
44
*
55
* @author Ch'Ih-Yu <chi-yu@web.de>
6-
* @copyright 2022 Random-Host.tv
6+
* @copyright 2024 Random-Host.tv
77
* @license https://opensource.org/licenses/BSD-3-Clause BSD License (3 Clause)
88
*
99
* @see https://github.random-host.tv

0 commit comments

Comments
 (0)