Re-add syntax highlighting to daily emails and
...ATDC lessons
This commit is contained in:
parent
0d9bb37503
commit
5fbf48d9ac
48 changed files with 186 additions and 165 deletions
|
@ -16,7 +16,7 @@ In PHPUnit, there are different ways to write test methods.
|
|||
|
||||
The standard way is to use camel-case method names with a `test` prefix, for example:
|
||||
|
||||
```php
|
||||
```language-php
|
||||
public function testTheProjectNameShouldBeAString(): void
|
||||
{
|
||||
// ...
|
||||
|
@ -25,7 +25,7 @@ public function testTheProjectNameShouldBeAString(): void
|
|||
|
||||
Another popular way, particularly in some frameworks, is to use snake-case method names:
|
||||
|
||||
```php
|
||||
```language-php
|
||||
/** @test */
|
||||
public function the_project_name_should_be_a_string(): void
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue