Skip to content

Commit 5fb0b3f

Browse files
authored
bedita github-workflows v2 and php 8.3 (#49)
* feat: php 8.3 * feat: add dependabot conf * fix: tests * chore fix: provider entry name * test: restore as it was before * fix: test
1 parent dd0e271 commit 5fb0b3f

File tree

5 files changed

+32
-13
lines changed

5 files changed

+32
-13
lines changed

.github/dependabot.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"
13+
groups:
14+
gh-actions:
15+
patterns: ['actions/*']
16+
docker:
17+
patterns: ['docker/*']
18+
codecov:
19+
patterns: ['codecov/*']

.github/workflows/php.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ on:
1616

1717
jobs:
1818
cs:
19-
uses: bedita/github-workflows/.github/workflows/php-cs.yml@v1
19+
uses: bedita/github-workflows/.github/workflows/php-cs.yml@v2
2020
with:
21-
php_versions: '["7.4","8.1","8.2"]'
21+
php_versions: '["7.4","8.1","8.2","8.3"]'
2222

2323
psalm:
24-
uses: bedita/github-workflows/.github/workflows/php-psalm.yml@v1
24+
uses: bedita/github-workflows/.github/workflows/php-psalm.yml@v2
2525
with:
26-
php_versions: '["7.4", "8.1", "8.2"]'
26+
php_versions: '["7.4","8.1","8.2","8.3"]'
2727

2828
stan:
29-
uses: bedita/github-workflows/.github/workflows/php-stan.yml@v1
29+
uses: bedita/github-workflows/.github/workflows/php-stan.yml@v2
3030
with:
31-
php_versions: '["7.4","8.1","8.2"]'
31+
php_versions: '["7.4","8.1","8.2","8.3"]'
3232

3333
unit-4:
34-
uses: bedita/github-workflows/.github/workflows/php-unit.yml@v1
34+
uses: bedita/github-workflows/.github/workflows/php-unit.yml@v2
3535
with:
36-
php_versions: '["7.4","8.1","8.2"]'
36+
php_versions: '["7.4","8.1","8.2","8.3"]'
3737
bedita_version: '4'
3838

3939
unit-5:
40-
uses: bedita/github-workflows/.github/workflows/php-unit.yml@v1
40+
uses: bedita/github-workflows/.github/workflows/php-unit.yml@v2
4141
with:
42-
php_versions: '["7.4","8.1","8.2"]'
42+
php_versions: '["7.4","8.1","8.2","8.3"]'
4343
bedita_version: '5'

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
release-job:
20-
uses: bedita/github-workflows/.github/workflows/release.yml@v1
20+
uses: bedita/github-workflows/.github/workflows/release.yml@v2
2121
with:
2222
main_branch: 'master'
2323
dist_branches: '["master"]'

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BEdita4 PHP Official PHP SDK
1212

1313
## Prerequisites
1414

15-
* PHP 7.4, 8.0, 8.1 or 8.2
15+
* PHP 7.4, 8.0, 8.1, 8.2, 8.3
1616
* [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)
1717

1818
## Install

tests/TestCase/BEditaClientTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ public function sendRequestProvider(): array
11541154
'absolute path with 404' => [
11551155
[
11561156
'method' => 'GET',
1157-
'path' => 'http://example.com/zzzzz',
1157+
'path' => getenv('BEDITA_API') . '/zzzzz',
11581158
'query' => null,
11591159
'headers' => null,
11601160
'body' => null,

0 commit comments

Comments
 (0)