diff --git a/composer.json b/composer.json index 13d1072..dc2a08f 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ }, "autoload": { "psr-4": { - "SilverStripe\\SpamProtection\\": "code/", + "SilverStripe\\SpamProtection\\": "src/", "SilverStripe\\SpamProtection\\Tests\\": "tests/" } }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 794aa0f..57c7cdd 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,7 +8,7 @@ - code/ + src/ tests/ diff --git a/code/EditableSpamProtectionField.php b/src/EditableSpamProtectionField.php similarity index 100% rename from code/EditableSpamProtectionField.php rename to src/EditableSpamProtectionField.php diff --git a/code/Extension/CommentSpamProtection.php b/src/Extension/CommentSpamProtection.php similarity index 100% rename from code/Extension/CommentSpamProtection.php rename to src/Extension/CommentSpamProtection.php diff --git a/code/Extension/FormSpamProtectionExtension.php b/src/Extension/FormSpamProtectionExtension.php similarity index 100% rename from code/Extension/FormSpamProtectionExtension.php rename to src/Extension/FormSpamProtectionExtension.php diff --git a/code/SpamProtector.php b/src/SpamProtector.php similarity index 100% rename from code/SpamProtector.php rename to src/SpamProtector.php