Skip to content

Commit 8666e8c

Browse files
authored
Add PHP 8.3 support and update dependencies in composer.json (#31)
1 parent f494326 commit 8666e8c

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
JBZOO_COMPOSER_UPDATE_FLAGS: ${{ matrix.composer_flags }}
3535
strategy:
3636
matrix:
37-
php-version: [ 8.1, 8.2 ]
37+
php-version: [ 8.1, 8.2, 8.3 ]
3838
coverage: [ xdebug, none ]
3939
composer_flags: [ "--prefer-lowest", "" ]
4040
steps:
@@ -77,7 +77,7 @@ jobs:
7777
runs-on: ubuntu-latest
7878
strategy:
7979
matrix:
80-
php-version: [ 8.1, 8.2 ]
80+
php-version: [ 8.1, 8.2, 8.3 ]
8181
steps:
8282
- name: Checkout code
8383
uses: actions/checkout@v3
@@ -111,7 +111,7 @@ jobs:
111111
runs-on: ubuntu-latest
112112
strategy:
113113
matrix:
114-
php-version: [ 8.1, 8.2 ]
114+
php-version: [ 8.1, 8.2, 8.3 ]
115115
steps:
116116
- name: Checkout code
117117
uses: actions/checkout@v3

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@
3232
},
3333

3434
"require-dev" : {
35-
"jbzoo/toolbox-dev" : "^7.0",
35+
"jbzoo/toolbox-dev" : "^7.1",
3636
"jbzoo/utils" : "^7.1.1",
37-
"symfony/yaml" : ">=4.4",
37+
"symfony/yaml" : ">=6.4",
3838

39-
"symfony/polyfill-ctype" : ">=1.27.0",
40-
"symfony/polyfill-mbstring" : ">=1.27.0",
41-
"symfony/polyfill-php73" : ">=1.27.0",
42-
"symfony/polyfill-php80" : ">=1.27.0",
43-
"symfony/polyfill-php81" : ">=1.27.0"
39+
"symfony/polyfill-ctype" : ">=1.28.0",
40+
"symfony/polyfill-mbstring" : ">=1.28.0",
41+
"symfony/polyfill-php73" : ">=1.28.0",
42+
"symfony/polyfill-php80" : ">=1.28.0",
43+
"symfony/polyfill-php81" : ">=1.28.0"
4444
},
4545

4646
"suggest" : {
47-
"symfony/yaml" : ">=4.4",
48-
"jbzoo/utils" : ">=7.0"
47+
"symfony/yaml" : ">=6.4",
48+
"jbzoo/utils" : ">=7.1"
4949
},
5050

5151
"autoload" : {

tests/Fixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515
declare(strict_types=1);
1616

17-
class Fixtures extends \ArrayObject
17+
class Fixtures extends ArrayObject
1818
{
1919
}

tests/phpbench/CreateObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ public function init(): void
4545
*/
4646
public function benchArrayObjectOrig(): void
4747
{
48-
new \ArrayObject($this->data);
48+
new ArrayObject($this->data);
4949
}
5050

5151
/**
5252
* @Groups({"Native", "ArrayObject", "Extended"})
5353
*/
5454
public function benchArrayObjectExtOrig(): void
5555
{
56-
new \ArrayObjectExt($this->data);
56+
new ArrayObjectExt($this->data);
5757
}
5858

5959
/**

tests/phpbench/GetUndefinedValue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function init(): void
3838
{
3939
$this->array = DataFixture::createRandomArray();
4040
$this->data = new Data($this->array);
41-
$this->arrObj = new \ArrayObject($this->array);
42-
$this->arrObjExt = new \ArrayObjectExt($this->array);
41+
$this->arrObj = new ArrayObject($this->array);
42+
$this->arrObjExt = new ArrayObjectExt($this->array);
4343
}
4444

4545
/**

tests/phpbench/GetValue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public function init(): void
3939
{
4040
$this->array = Fixture::createRandomArray();
4141
$this->data = new Data($this->array);
42-
$this->arrObj = new \ArrayObject($this->array);
43-
$this->arrObjExt = new \ArrayObjectExt($this->array);
42+
$this->arrObj = new ArrayObject($this->array);
43+
$this->arrObjExt = new ArrayObjectExt($this->array);
4444
}
4545

4646
/**

tests/phpbench/GetValueInner.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public function init(): void
3939
{
4040
$this->array = Fixture::createRandomArray();
4141
$this->data = new Data($this->array);
42-
$this->arrObj = new \ArrayObject($this->array);
43-
$this->arrObjExt = new \ArrayObjectExt($this->array);
42+
$this->arrObj = new ArrayObject($this->array);
43+
$this->arrObjExt = new ArrayObjectExt($this->array);
4444
}
4545

4646
/**

0 commit comments

Comments
 (0)