Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Nov 28, 2023
2 parents a2c4a73 + 48ad18e commit bc18e0f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']

fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']

fail-fast: false

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"classmap": ["tests/phpstan/DibiFluentDynamicReturnTypeExtension.php"]
},
"require": {
"php": ">= 7.2",
"php": "7.2 - 8.3",
"dibi/dibi": "^4.0 || ^5.0"
},
"require-dev": {
Expand All @@ -40,8 +40,8 @@
},
"scripts": {
"coverage": "tester -C -d zend_extension=xdebug --coverage tests/coverage.html --coverage-src src tests",
"phpstan": "phpstan analyse --configuration tests/phpstan.neon",
"tests": "tester -C -p php8.3 tests"
"phpstan": "phpstan analyse --configuration phpstan.neon",
"tests": "tester -C tests"
},
"extra": {
"branch-alias": {
Expand Down
8 changes: 7 additions & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ You need to install [Nette Tester](https://tester.nette.org/). The easiest way i
Now you should be able to run tests. On unix-like systems run following command in your terminal:

```
vendor/bin/tester -p php -c tests/php-unix.ini
vendor/bin/tester -C tests
```

or use Composer script:

```
composer tests
```

**Note:** the tests require these PHP extensions:
Expand Down
2 changes: 1 addition & 1 deletion tests/phpstan.neon → phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:
level: 7

paths:
- ../src
- src

treatPhpDocTypesAsCertain: false

Expand Down
7 changes: 0 additions & 7 deletions tests/php-unix.ini

This file was deleted.

0 comments on commit bc18e0f

Please sign in to comment.