Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/phpstan-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
php-version: '8.5'
coverage: none

- name: Install composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
php-version: '8.5'
coverage: none

- name: Install composer dependencies
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-latest ]
php: [ 8.3, 8.4 ]
php: [ 8.3, 8.4, 8.5 ]
laravel: [ ^11.0, ^12.0 ]
stability: [ prefer-lowest, prefer-stable ]
include:
Expand All @@ -25,6 +25,9 @@ jobs:
- php: 8.4
laravel: ^11.0
stability: prefer-lowest
- php: 8.5
laravel: ^11.0
stability: prefer-lowest

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.10",
"orchestra/testbench": "^9.0|^10.0",
"pestphp/pest": "^3.0",
"pestphp/pest": "^3.0|^4.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
Expand Down
46 changes: 20 additions & 26 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,33 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
backupStaticProperties="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="false"
verbose="true"
beStrictAboutOutputDuringTests="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerWarnings="true"
>
<testsuites>
<testsuite name="Soyhuce Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<server name="DB_CONNECTION" value="testing"/>
</php>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="phpunit/coverage"/>
<text outputFile="phpunit/coverage.txt"/>
</report>
</coverage>
<logging>
<junit outputFile="phpunit/test-result.xml"/>
</logging>
<testsuites>
<testsuite name="Soyhuce Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<server name="DB_CONNECTION" value="testing"/>
</php>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
<logging>
<junit outputFile="phpunit/test-result.xml"/>
</logging>
</phpunit>