-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
56 additions
and
122 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.github/workflows/run-tests.yml → .github/workflows/phpunit.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: run-tests | ||
name: phpunit | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: pint | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
phpcs: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
- run: composer install --no-interaction --no-scripts | ||
- run: vendor/bin/pint --test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,8 +142,8 @@ public function vcard_with_fn_org(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->org('Google', 'GMail Team', 'Spam Detection Squad') | ||
->fullName('John Adam Smith') | ||
->org('Google', 'GMail Team', 'Spam Detection Squad') | ||
); | ||
} | ||
|
||
|
@@ -152,8 +152,8 @@ public function vcard_with_fn_org_missing_unit(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->org('Google', null, 'Spam Detection Squad') | ||
->fullName('John Adam Smith') | ||
->org('Google', null, 'Spam Detection Squad') | ||
); | ||
} | ||
|
||
|
@@ -162,8 +162,8 @@ public function vcard_with_fn_role(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->role('Excecutive') | ||
->fullName('John Adam Smith') | ||
->role('Excecutive') | ||
); | ||
} | ||
|
||
|
@@ -172,8 +172,8 @@ public function vcard_with_fn_title(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->title('V. P. Research and Development') | ||
->fullName('John Adam Smith') | ||
->title('V. P. Research and Development') | ||
); | ||
} | ||
|
||
|
@@ -182,8 +182,8 @@ public function vcard_with_fn_member_mail(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->member('mailto:[email protected]') | ||
->fullName('John Adam Smith') | ||
->member('mailto:[email protected]') | ||
); | ||
} | ||
|
||
|
@@ -192,8 +192,8 @@ public function vcard_with_fn_member_uuid(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->member(null, 'urn:uuid:550e8400-e29b-11d4-a716-446655440000') | ||
->fullName('John Adam Smith') | ||
->member(null, 'urn:uuid:550e8400-e29b-11d4-a716-446655440000') | ||
); | ||
} | ||
|
||
|
@@ -202,8 +202,8 @@ public function vcard_with_fn_member_uuid_and_mail(): void | |
{ | ||
$this->assertMatchesVcardSnapshot( | ||
Vcard::make() | ||
->fullName('John Adam Smith') | ||
->member('[email protected]', '550e8400-e29b-11d4-a716-446655440000') | ||
->fullName('John Adam Smith') | ||
->member('[email protected]', '550e8400-e29b-11d4-a716-446655440000') | ||
); | ||
} | ||
|
||
|
@@ -238,7 +238,7 @@ public function vcard_to_response_header(): void | |
$this->assertEquals($response->headers->get('content-length'), 129); | ||
$this->assertEquals($response->headers->get('Content-Disposition'), 'attachment; filename=john_adam_smith.vcf'); | ||
} | ||
|
||
/** @test */ | ||
public function vcard_with_single_note(): void | ||
{ | ||
|