diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 892a28c..fd1f737 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 }} @@ -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 diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..289feff --- /dev/null +++ b/.phpunit.cache/test-results @@ -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}} \ No newline at end of file diff --git a/composer.json b/composer.json index adf91d3..35dfb61 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 94c0e39..e132a58 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,16 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + ./src + +