diff --git a/composer.json b/composer.json index 126bd60..1fcc45d 100644 --- a/composer.json +++ b/composer.json @@ -8,8 +8,11 @@ "email": "jeremy@dormitzer.net", "homepage": "https://jeremydormitzer.com", "role": "Developer" - }, + } ], + "scripts": { + "test": "phpunit test" + }, "repositories": [ { "type": "vcs", @@ -22,6 +25,11 @@ "require-dev": { "phpunit/phpunit": "^7.4" }, + "autoload": { + "psr-4": { + "ActivityPub\\": "src/" + } + }, "config": { "sort-packages": true } diff --git a/ActivityPub.php b/src/ActivityPub.php similarity index 56% rename from ActivityPub.php rename to src/ActivityPub.php index 5886cb5..283bfd9 100644 --- a/ActivityPub.php +++ b/src/ActivityPub.php @@ -1,5 +1,5 @@ assertSame( 1, 0 ); + } +} +?>