Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Mar 4, 2024
1 parent 20ad6ba commit 582f9d9
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 53 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ jobs:
matrix:
os: [ubuntu-latest]
php: [8.0, 8.1, 8.2]
laravel: ['9.*', '10.*', '11.*']
laravel: ['10.*', '11.*']
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 11.*
testbench: 9.*
exclude:
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.1","defects":[],"times":{"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_specific_guard":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_custom_key":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_specific_css_classes":0,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_custom_user_attributes":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_custom_label":0,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_specific_redirect_url":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link":0.007,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_custom_email":0,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_will_not_create_a_user_if_automatic_creation_is_turned_off":0.004,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_a_user_with_specific_id":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_throw_an_exception_when_a_user_model_is_not_configured":0.002,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_create_and_login_a_user_on_a_specific_guard":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_throw_an_exception_when_no_user_class_can_be_determined":0.001,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_login_an_existing_user_with_specific_attributes":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_not_create_a_new_user_if_one_already_exists":0.062,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_login_an_existing_user_with_a_specific_email":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_not_work_in_the_wrong_environment":0.001,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_create_and_login_a_user":0.082,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_a_user_with_both_email_and_custom_attributes":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_a_user_with_specific_email":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_login_an_existing_user_with_a_specific_id":0.062,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_and_login_a_user_with_specific_attributes":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_redirect_to_a_specific_url":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_redirect_to_the_configured_route_name_by_default":0.061}}
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
"require": {
"php": "^8.0",
"spatie/laravel-package-tools": "^1.9.2",
"illuminate/contracts": "^9.0|^10.0|^11.0"
"illuminate/contracts": "^10.0|^11.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"nunomaduro/collision": "^6.0|^8.0",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.21|^2.34",
"nunomaduro/collision": "^7.0|^8.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-laravel": "^1.1|^2.3",
"phpunit/phpunit": "^9.5|^10.5",
"spatie/laravel-ray": "^1.26",
"spatie/pest-plugin-snapshots": "^1.1|^2.1",
"spatie/phpunit-snapshot-assertions": "^4.2.12|^5.1"
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>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="freek@spatie.be">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="123">
<input type="hidden" name="redirect_url" value="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="http://localhost/custom-url">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html><body>
<form method="POST" action="http://localhost/laravel-login-link-login">
<input type="hidden" name="_token" value="">
<input type="hidden" name="_token" value="" autocomplete="off">
<input type="hidden" name="email" value="">
<input type="hidden" name="key" value="">
<input type="hidden" name="redirect_url" value="">
Expand Down

0 comments on commit 582f9d9

Please sign in to comment.