Skip to content

Commit edde8cc

Browse files
committed
Improve Package public API
1 parent fd89b4e commit edde8cc

40 files changed

Lines changed: 1474 additions & 1573 deletions

.github/workflows/build.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
matrix:
1313
php: ['8.1', '8.2', '8.3', '8.4']
1414
stability: [prefer-lowest, prefer-stable]
15+
include:
16+
- php: '8.5'
17+
flags: "--ignore-platform-req=php"
18+
stability: prefer-stable
1519
steps:
1620
- name: Checkout code
1721
uses: actions/checkout@v4
@@ -45,11 +49,16 @@ jobs:
4549

4650
- name: Run Unit tests with coverage
4751
run: composer phpunit -- ${{ matrix.phpunit-flags }}
52+
if: ${{ matrix.php != '8.5' }}
53+
54+
- name: Run Unit tests without coverage
55+
run: vendor/bin/phpunit --no-coverage -vvv
56+
if: ${{ matrix.php == '8.5' }}
4857

4958
- name: Run static analysis
5059
run: composer phpstan
51-
if: ${{ matrix.php == '8.3' && matrix.stability == 'prefer-stable'}}
60+
if: ${{ matrix.php == '8.4' && matrix.stability == 'prefer-stable'}}
5261

5362
- name: Run Coding style rules
5463
run: composer phpcs:fix
55-
if: ${{ matrix.php == '8.3' && matrix.stability == 'prefer-stable'}}
64+
if: ${{ matrix.php == '8.4' && matrix.stability == 'prefer-stable'}}

.php-cs-fixer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
$finder = PhpCsFixer\Finder::create()
44
->in(__DIR__.'/src')
5-
->in(__DIR__.'/benchmark')
65
->in(__DIR__.'/bin')
76
;
87

benchmark/Benchmark.php

Lines changed: 0 additions & 205 deletions
This file was deleted.

benchmark/overhead.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

composer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@
4949
"src/functions_include.php"
5050
]
5151
},
52-
"autoload-dev": {
53-
"files": [
54-
"benchmark/Benchmark.php"
55-
]
56-
},
5752
"bin": [
5853
"bin/stackwatch"
5954
],

0 commit comments

Comments
 (0)