Skip to content

Laravel 11 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 28, 2025
Merged
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/psalm.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none

7 changes: 2 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -15,11 +15,8 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ 8.2, 8.3 ]
laravel: [ 10.* ]
laravel: [ 11.* ]
stability: [ prefer-lowest, prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*

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

@@ -41,7 +38,7 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: Set phpunit.xml
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -21,16 +21,16 @@
}
],
"require": {
"php": "^8.1",
"php": ">=8.2",
"guzzlehttp/guzzle": "^7.8",
"illuminate/contracts": "^10.0",
"illuminate/contracts": "^11.0",
"spatie/laravel-package-tools": "^1.16"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.46",
"nunomaduro/collision": "^8.1",
"orchestra/testbench": "^9.0",
"laravel/pint": "^1.14",
"nunomaduro/collision": "^7.10",
"orchestra/testbench": "^8.20",
"pestphp/pest": "^2.31",
"phpunit/phpunit": "^10.5",
"spatie/laravel-ray": "^1.35",
4 changes: 2 additions & 2 deletions tests/Feature/TwilioVerifyTest.php
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ public function it_does_start_a_verification_with_sms()
Event::fake();
$phoneNumber = '+12085059915';

$verification = (new TwilioVerify())->start(to: $phoneNumber);
$verification = (new TwilioVerify)->start(to: $phoneNumber);

$this->assertInstanceOf(VerificationStart::class, $verification);
$this->assertSame($phoneNumber, $verification->to);
@@ -37,7 +37,7 @@ public function it_does_check_a_verification_with_sms()
$code = '4804';
$phoneNumber = '+12085059915';

$verification = (new TwilioVerify())->check(
$verification = (new TwilioVerify)->check(
to: $phoneNumber,
code: $code,
);
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

class TestCase extends Orchestra
{
public function setUp(): void
protected function setUp(): void
{
parent::setUp();