Attributes, not annotations
This commit is contained in:
parent
a407655791
commit
079e413a6f
2 changed files with 4 additions and 3 deletions
|
@ -1,14 +1,14 @@
|
|||
---
|
||||
title: Docblocks or annotations?
|
||||
title: Docblocks or attributes?
|
||||
date: 2024-08-15
|
||||
permalink: daily/2024/08/15/docblocks-or-annotations
|
||||
permalink: daily/2024/08/15/docblocks-or-attributes
|
||||
tags:
|
||||
- software-development
|
||||
- php
|
||||
- automated-testing
|
||||
cta: ~
|
||||
snippet: |
|
||||
Docblocks or annotations. Which do you prefer?
|
||||
Docblocks or attributes. Which do you prefer?
|
||||
---
|
||||
|
||||
As Drupal 11 uses PHPUnit 10, we can now use the `#[Test]` attribute instead of the `/** @test */` annotation for our test methods.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue