diff --git a/source/.htaccess b/source/.htaccess index 4dad3af3..015ac307 100644 --- a/source/.htaccess +++ b/source/.htaccess @@ -26,6 +26,7 @@ ErrorDocument 404 /404/index.html 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 /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 diff --git a/source/_daily_emails/2024-08-15.md b/source/_daily_emails/2024-08-15.md index c29cbaa3..af52d6c0 100644 --- a/source/_daily_emails/2024-08-15.md +++ b/source/_daily_emails/2024-08-15.md @@ -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.