File tree Expand file tree Collapse file tree 7 files changed +13
-11
lines changed
src/Core/src/App/src/Service Expand file tree Collapse file tree 7 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ jobs:
1818 - " 8.2"
1919 - " 8.3"
2020 - " 8.4"
21+ - " 8.5"
2122
2223 steps :
2324 - name : Checkout
24- uses : actions/checkout@v5
25+ uses : actions/checkout@v6
2526
2627 - name : Install PHP
2728 uses : shivammathur/setup-php@v2
3536 run : echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
3637
3738 - name : Cache dependencies installed with composer
38- uses : actions/cache@v4
39+ uses : actions/cache@v5
3940 with :
4041 path : ${{ env.COMPOSER_CACHE_DIR }}
4142 key : php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Original file line number Diff line number Diff line change 1616 checks : write
1717 strategy :
1818 matrix :
19- php-versions : [ '8.2', '8.3', '8.4' ]
19+ php-versions : [ '8.2', '8.3', '8.4', '8.5' ]
2020 steps :
21- - uses : actions/checkout@v5
21+ - uses : actions/checkout@v6
2222 with :
2323 ref : ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
2424 fetch-depth : 0 # a full history is required for pull request analysis
3434 run : echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
3535
3636 - name : Cache dependencies installed with composer
37- uses : actions/cache@v4
37+ uses : actions/cache@v5
3838 with :
3939 path : ${{ env.COMPOSER_CACHE_DIR }}
4040 key : php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ jobs:
1818 - " 8.2"
1919 - " 8.3"
2020 - " 8.4"
21+ - " 8.5"
2122
2223 steps :
2324 - name : Checkout
24- uses : actions/checkout@v5
25+ uses : actions/checkout@v6
2526
2627 - name : Install PHP
2728 uses : shivammathur/setup-php@v2
3536 run : echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
3637
3738 - name : Cache dependencies installed with composer
38- uses : actions/cache@v4
39+ uses : actions/cache@v5
3940 with :
4041 path : ${{ env.COMPOSER_CACHE_DIR }}
4142 key : php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Documentation is available at: https://docs.dotkernel.org/admin-documentation/
1616
1717| Branch | Release | PSR-11 | OSS Lifecycle | PHP Version |
1818| --------| ----------| --------| ----------------------------------------------------------------------------------------------------------------------------------------| -------------------------------------------------------------------------------------------------------|
19- | 7.0 | ` >= 7.0 ` | 1 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F7.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/7.0 .0 ) |
19+ | 7.0 | ` >= 7.0 ` | 1 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F7.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/7.1 .0 ) |
2020| 6.0 | ` < 7.0 ` | 1 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F6.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/6.2.0 ) |
2121| 5.0 | ` < 6.0 ` | 1 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F5.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/5.0.3 ) |
2222| 4.0 | ` < 5.0 ` | 1 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F4.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/4.3.1 ) |
Original file line number Diff line number Diff line change 44
55| Branch | OSS Lifecycle | PHP Version |
66| --------| ----------------------------------------------------------------------------------------------------------------------------------------| -------------------------------------------------------------------------------------------------------|
7- | 7.0 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F7.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/7.0 .0 ) |
7+ | 7.0 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F7.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/7.1 .0 ) |
88| 6.0 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F6.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/6.2.0 ) |
99| 5.0 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F5.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/5.0.3 ) |
1010| 4.0 | ![ OSS Lifecycle] ( https://img.shields.io/osslifecycle?file_url=https%3A%2F%2Fgithub.com%2Fdotkernel%2Fadmin%2Fblob%2F4.0%2FOSSMETADATA ) | ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/admin/4.3.1 ) |
Original file line number Diff line number Diff line change 2828 "process-timeout" : 0
2929 },
3030 "require" : {
31- "php" : " ~8.2.0 || ~8.3.0 || ~8.4.0" ,
31+ "php" : " ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 " ,
3232 "dotkernel/dot-cache" : " ^4.4.0" ,
3333 "dotkernel/dot-cli" : " ^3.10.0" ,
3434 "dotkernel/dot-data-fixtures" : " ^1.5.0" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public static function getUserIp(array $server): mixed
3232 } elseif (isset ($ server ['HTTP_CLIENT_IP ' ]) && self ::isPublicIp ($ server ['HTTP_CLIENT_IP ' ])) {
3333 $ realIp = $ server ['HTTP_CLIENT_IP ' ];
3434 } else {
35- $ realIp = $ server ['REMOTE_ADDR ' ];
35+ $ realIp = $ server ['REMOTE_ADDR ' ] ?? null ;
3636 }
3737 } else {
3838 // check if HTTP_X_FORWARDED_FOR is public network IP
You can’t perform that action at this time.
0 commit comments