Skip to content

Commit 038a738

Browse files
committed
🐛 FIX: Rename everything because I'm stupid
1 parent 39ac01d commit 038a738

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "wordpress-plugin",
44
"autoload": {
55
"psr-4": {
6-
"PhpAnnotations\\": "src/"
6+
"PhpAttributes\\": "src/"
77
}
88
},
99
"authors": [

php-annotations.php renamed to php-attributes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?php
22
/*
3-
Plugin Name: PHP Annotations
3+
Plugin Name: PHP Atributes
44
Plugin URI: https://marcuskober.de
5-
Description: Example plugin that uses php annotation for registering hooks
5+
Description: Example plugin that uses php attributes for registering hooks
66
Version: 1.0.0
77
Requires at least: 6.0
88
Requires PHP: 8.1
99
Author: Marcus Kober
1010
Author URI: https://marcuskober.de
11-
Text Domain: phpannotations
11+
Text Domain: phpattributes
1212
*/
1313

14-
use PhpAnnotations\Main\App;
14+
use PhpAttributes\Main\App;
1515

1616
if (! defined('ABSPATH')) {
1717
die('Go away');

src/Hooks/AddStupidH1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types = 1);
44

5-
namespace PhpAnnotations\Hooks;
5+
namespace PhpAttributes\Hooks;
66

77
class AddStupidH1
88
{

src/Main/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types = 1);
44

5-
namespace PhpAnnotations\Main;
5+
namespace PhpAttributes\Main;
66

77
class App
88
{

0 commit comments

Comments
 (0)