Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed May 3, 2024
1 parent 6591638 commit ae53080
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 56 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1]
laravel: ['9.*', '10.*', '11.*']
php: [8.3, 8.2, 8.1]
laravel: ['10.*', '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
carbon: ^2.65
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
exclude:
- laravel: 11.*
php: 8.1

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

Expand All @@ -50,7 +46,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
Expand Down
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"pest_2.34.7","defects":[],"times":{"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_be_configured_to_not_keep_a_deleted_model":0.013,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_use_custom_deleted_model_class":0.003,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_remove_old_records":0.026,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_will_throw_an_exception_when_trying_to_restore_a_not_existing_model":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_uses_the_morph_map_to_determine_the_model":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_will_return_null_when_making_a_non_existing_model":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_will_copy_a_deleted_model_to_the_deleted_models_table":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_accepts_a_closure_to_customize_the_restored_model":0.003,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_determine_the_attributes_to_be_stored":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_will_not_save_relationship_objects":0.005,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_restore_a_deleted_model":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_will_save_hidden_attributes_as_well":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_make_a_restored_model_without_saving_it":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_will_throw_an_exception_when_the_model_cannot_be_restored":0.002,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_delete_a_model_without_keeping_it":0.001,"P\\Tests\\KeepsDeletedModelsTest::__pest_evaluable_it_can_uses_the_morph_map_when_restoring_a_model":0.001}}
18 changes: 8 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,21 @@
}
],
"require": {
"php": "^8.1",
"illuminate/contracts": "^9.0|^10|^11.0",
"php": "^8.2",
"illuminate/contracts": "^10|^11.0",
"spatie/laravel-package-tools": "^1.13.0"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0|^7.0|^8.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.21|^2.34",
"pestphp/pest-plugin-laravel": "^1.1|^2.3",
"nunomaduro/collision": "^7.0|^8.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-laravel": "^2.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5|^10.5",
"phpunit/phpunit": "^10.5",
"spatie/laravel-ray": "^1.26",
"spatie/pest-plugin-test-time": "^1.1|^2.1"
"spatie/pest-plugin-test-time": "^2.1"
},
"autoload": {
"psr-4": {
Expand Down
51 changes: 14 additions & 37 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,39 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="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="true"
verbose="true"
>
<testsuites>
<testsuite name="Spatie Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Spatie Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>

0 comments on commit ae53080

Please sign in to comment.