diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index f7d1ce2..a4da8ba 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -15,25 +15,25 @@ jobs:
php: ['8.2']
fail-fast: false
steps:
+
- name: Checkout code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
- tools: composer:v2
+ tools: composer
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Composer dependencies
- run: composer install --no-progress --no-suggest --prefer-dist --ignore-platform-reqs --optimize-autoloader
+ run: composer install --no-progress --prefer-dist --optimize-autoloader --ansi
- name: Run tests
run: composer test
- - name: Setup problem matchers for PHP
- run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
-
- - name: Setup problem matchers for PHPUnit
- run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
+ - name: Setup problem matchers
+ run: |
+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
diff --git a/composer.json b/composer.json
index 6b2453c..b91c538 100644
--- a/composer.json
+++ b/composer.json
@@ -23,9 +23,9 @@
},
"require-dev": {
"roave/security-advisories": "dev-latest",
- "pestphp/pest": "^1.22.3",
+ "pestphp/pest": "^2.0",
"mockery/mockery": "^1.5.1",
- "worksome/coding-style": "^2.3"
+ "worksome/coding-style": "^2.5"
},
"autoload": {
"psr-4": {
diff --git a/phpunit.xml b/phpunit.xml
index ec8702d..e57bdd1 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -9,7 +9,7 @@
./tests
-
+
./src
diff --git a/tests/Helpers.php b/tests/Helpers.php
deleted file mode 100644
index b63c4fb..0000000
--- a/tests/Helpers.php
+++ /dev/null
@@ -1,5 +0,0 @@
-