Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3772621
D286.id675.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D286.id675.diff
View Options
diff --git a/app/Analyzers/Phabricator/ProjectGroupMapping.php b/app/Analyzers/Phabricator/PhabricatorGroupMapping.php
rename from app/Analyzers/Phabricator/ProjectGroupMapping.php
rename to app/Analyzers/Phabricator/PhabricatorGroupMapping.php
--- a/app/Analyzers/Phabricator/ProjectGroupMapping.php
+++ b/app/Analyzers/Phabricator/PhabricatorGroupMapping.php
@@ -4,7 +4,7 @@
use Nasqueron\Notifications\Phabricator\PhabricatorStory;
-class ProjectGroupMapping {
+class PhabricatorGroupMapping {
///
/// Properties
///
diff --git a/app/Analyzers/Phabricator/PhabricatorPayloadAnalyzerConfiguration.php b/app/Analyzers/Phabricator/PhabricatorPayloadAnalyzerConfiguration.php
--- a/app/Analyzers/Phabricator/PhabricatorPayloadAnalyzerConfiguration.php
+++ b/app/Analyzers/Phabricator/PhabricatorPayloadAnalyzerConfiguration.php
@@ -20,7 +20,7 @@
/**
* An array of RepositoryGroupMapping objects to match repositories & groups
*
- * @var ProjectGroupMapping[]
+ * @var PhabricatorGroupMapping[]
*/
public $groupsMapping;
}
diff --git a/tests/Analyzers/Phabricator/ProjetGroupMappingTest.php b/tests/Analyzers/Phabricator/PhabricatorGroupMappingTest.php
rename from tests/Analyzers/Phabricator/ProjetGroupMappingTest.php
rename to tests/Analyzers/Phabricator/PhabricatorGroupMappingTest.php
--- a/tests/Analyzers/Phabricator/ProjetGroupMappingTest.php
+++ b/tests/Analyzers/Phabricator/PhabricatorGroupMappingTest.php
@@ -2,15 +2,15 @@
namespace Nasqueron\Notifications\Tests\Analyzers\Phabricator;
-use Nasqueron\Notifications\Analyzers\Phabricator\ProjectGroupMapping;
+use Nasqueron\Notifications\Analyzers\Phabricator\PhabricatorGroupMapping;
use Nasqueron\Notifications\Tests\TestCase;
-class ProjectGroupMappingTest extends TestCase {
+class PhabricatorGroupMappingTest extends TestCase {
use WithConfiguration;
/**
- * @var ProjectGroupMapping|]
+ * @var PhabricatorGroupMapping|]
*/
private $mappings;
@@ -41,35 +41,35 @@
public function testDoesProjectMatch () {
$this->assertTrue(
- ProjectGroupMapping::doesProjectMatch(
+ PhabricatorGroupMapping::doesProjectMatch(
'quux*',
'quuxians'
)
);
$this->assertTrue(
- ProjectGroupMapping::doesProjectMatch(
+ PhabricatorGroupMapping::doesProjectMatch(
'quux*',
'quux'
)
);
$this->assertFalse(
- ProjectGroupMapping::doesProjectMatch(
+ PhabricatorGroupMapping::doesProjectMatch(
'foobar',
'quux'
)
);
$this->assertFalse(
- ProjectGroupMapping::doesProjectMatch(
+ PhabricatorGroupMapping::doesProjectMatch(
'',
'quuxians'
)
);
$this->assertFalse(
- ProjectGroupMapping::doesProjectMatch(
+ PhabricatorGroupMapping::doesProjectMatch(
'quux*',
''
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 04:21 (21 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260062
Default Alt Text
D286.id675.diff (3 KB)
Attached To
Mode
D286: ProjectGroupMapping renamed back to PhabricatorGroupMapping
Attached
Detach File
Event Timeline
Log In to Comment