Attributes, not annotations
This commit is contained in:
parent
a407655791
commit
079e413a6f
|
@ -26,6 +26,7 @@ ErrorDocument 404 /404/index.html
|
||||||
|
|
||||||
RewriteRule ^articles/(.*) /blog/$1 [L,R=301]
|
RewriteRule ^articles/(.*) /blog/$1 [L,R=301]
|
||||||
|
|
||||||
|
Redirect 301 /daily/2024/08/15/docblocks-or-annotations /daily/2024/08/15/docblocks-or-attributes
|
||||||
Redirect 301 /10-useful-drupal-6-modules-i-use-every-project /blog/10-useful-drupal-6-modules
|
Redirect 301 /10-useful-drupal-6-modules-i-use-every-project /blog/10-useful-drupal-6-modules
|
||||||
Redirect 301 /2010/04/05/styling-drupal-6s-taxonomy-lists-with-php-css-and-jquery /blog/style-drupal-6s-taxonomy-lists-php-css-jquery
|
Redirect 301 /2010/04/05/styling-drupal-6s-taxonomy-lists-with-php-css-and-jquery /blog/style-drupal-6s-taxonomy-lists-php-css-jquery
|
||||||
Redirect 301 /2010/04/28/using-imagecache-and-imagecrop-for-my-portfolio /blog/using-imagecache-imagecrop-my-portfolio
|
Redirect 301 /2010/04/28/using-imagecache-and-imagecrop-for-my-portfolio /blog/using-imagecache-imagecrop-my-portfolio
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
---
|
---
|
||||||
title: Docblocks or annotations?
|
title: Docblocks or attributes?
|
||||||
date: 2024-08-15
|
date: 2024-08-15
|
||||||
permalink: daily/2024/08/15/docblocks-or-annotations
|
permalink: daily/2024/08/15/docblocks-or-attributes
|
||||||
tags:
|
tags:
|
||||||
- software-development
|
- software-development
|
||||||
- php
|
- php
|
||||||
- automated-testing
|
- automated-testing
|
||||||
cta: ~
|
cta: ~
|
||||||
snippet: |
|
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.
|
As Drupal 11 uses PHPUnit 10, we can now use the `#[Test]` attribute instead of the `/** @test */` annotation for our test methods.
|
||||||
|
|
Loading…
Reference in a new issue