Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F5422441
D243.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
D243.id.diff
View Options
diff --git a/app/Analyzers/GitHubPayloadAnalyzer.php b/app/Analyzers/GitHub/GitHubPayloadAnalyzer.php
rename from app/Analyzers/GitHubPayloadAnalyzer.php
rename to app/Analyzers/GitHub/GitHubPayloadAnalyzer.php
--- a/app/Analyzers/GitHubPayloadAnalyzer.php
+++ b/app/Analyzers/GitHub/GitHubPayloadAnalyzer.php
@@ -1,6 +1,6 @@
<?php
-namespace Nasqueron\Notifications\Analyzers;
+namespace Nasqueron\Notifications\Analyzers\GitHub;
use Config;
use Storage;
diff --git a/app/Analyzers/GitHubPayloadAnalyzerConfiguration.php b/app/Analyzers/GitHub/GitHubPayloadAnalyzerConfiguration.php
rename from app/Analyzers/GitHubPayloadAnalyzerConfiguration.php
rename to app/Analyzers/GitHub/GitHubPayloadAnalyzerConfiguration.php
--- a/app/Analyzers/GitHubPayloadAnalyzerConfiguration.php
+++ b/app/Analyzers/GitHub/GitHubPayloadAnalyzerConfiguration.php
@@ -1,6 +1,6 @@
<?php
-namespace Nasqueron\Notifications\Analyzers;
+namespace Nasqueron\Notifications\Analyzers\GitHub;
class GitHubPayloadAnalyzerConfiguration {
/**
diff --git a/app/Analyzers/RepositoryGroupMapping.php b/app/Analyzers/GitHub/RepositoryGroupMapping.php
rename from app/Analyzers/RepositoryGroupMapping.php
rename to app/Analyzers/GitHub/RepositoryGroupMapping.php
--- a/app/Analyzers/RepositoryGroupMapping.php
+++ b/app/Analyzers/GitHub/RepositoryGroupMapping.php
@@ -1,6 +1,6 @@
<?php
-namespace Nasqueron\Notifications\Analyzers;
+namespace Nasqueron\Notifications\Analyzers\GitHub;
class RepositoryGroupMapping {
///
diff --git a/app/Listeners/AMQPEventListener.php b/app/Listeners/AMQPEventListener.php
--- a/app/Listeners/AMQPEventListener.php
+++ b/app/Listeners/AMQPEventListener.php
@@ -4,7 +4,7 @@
use Nasqueron\Notifications\Events\GitHubPayloadEvent;
use Nasqueron\Notifications\Events\NotificationEvent;
-use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzer;
+use Nasqueron\Notifications\Analyzers\GitHub\GitHubPayloadAnalyzer;
use Nasqueron\Notifications\Jobs\SendMessageToBroker;
use Nasqueron\Notifications\Notification;
diff --git a/app/Notifications/GitHubNotification.php b/app/Notifications/GitHubNotification.php
--- a/app/Notifications/GitHubNotification.php
+++ b/app/Notifications/GitHubNotification.php
@@ -2,7 +2,7 @@
namespace Nasqueron\Notifications\Notifications;
-use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzer;
+use Nasqueron\Notifications\Analyzers\GitHub\GitHubPayloadAnalyzer;
use Nasqueron\Notifications\Notification;
class GitHubNotification extends Notification {
diff --git a/tests/Analyzers/GitHubPayloadAnalyzerTest.php b/tests/Analyzers/GitHubPayloadAnalyzerTest.php
--- a/tests/Analyzers/GitHubPayloadAnalyzerTest.php
+++ b/tests/Analyzers/GitHubPayloadAnalyzerTest.php
@@ -4,8 +4,8 @@
use Illuminate\Foundation\Testing\WithoutMiddleware;
-use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzer;
-use Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzerConfiguration;
+use Nasqueron\Notifications\Analyzers\GitHub\GitHubPayloadAnalyzer;
+use Nasqueron\Notifications\Analyzers\GitHub\GitHubPayloadAnalyzerConfiguration;
use Nasqueron\Notifications\Tests\TestCase;
class GitHubPayloadAnalyzerConfigurationTest extends TestCase {
@@ -13,7 +13,7 @@
/**
* Configuration
*
- * @var Nasqueron\Notifications\Analyzers\GitHubPayloadAnalyzerConfiguration
+ * @var Nasqueron\Notifications\Analyzers\GitHub\GitHubPayloadAnalyzerConfiguration
*/
protected $configuration;
@@ -38,7 +38,7 @@
foreach ($this->configuration->repositoryMapping as $item) {
$this->assertInstanceOf(
- 'Nasqueron\Notifications\Analyzers\RepositoryGroupMapping',
+ 'Nasqueron\Notifications\Analyzers\GitHub\RepositoryGroupMapping',
$item
);
}
diff --git a/tests/Analyzers/RepositoryGroupMappingTest.php b/tests/Analyzers/RepositoryGroupMappingTest.php
--- a/tests/Analyzers/RepositoryGroupMappingTest.php
+++ b/tests/Analyzers/RepositoryGroupMappingTest.php
@@ -4,7 +4,7 @@
use Illuminate\Foundation\Testing\WithoutMiddleware;
-use Nasqueron\Notifications\Analyzers\RepositoryGroupMapping;
+use Nasqueron\Notifications\Analyzers\GitHub\RepositoryGroupMapping;
use Nasqueron\Notifications\Tests\TestCase;
class RepositoryGroupMappingTest extends TestCase {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 20:05 (6 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2471466
Default Alt Text
D243.id.diff (4 KB)
Attached To
Mode
D243: New namespace Nasqueron\Notifications\Analyzers\GitHub
Attached
Detach File
Event Timeline
Log In to Comment