Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/owners/lipsum/PhabricatorOwnersPackageContextFreeGrammar.php
12256 views
1
<?php
2
3
final class PhabricatorOwnersPackageContextFreeGrammar
4
extends PhutilContextFreeGrammar {
5
6
protected function getRules() {
7
return array(
8
'start' => array(
9
'[package]',
10
),
11
'package' => array(
12
'[adjective] [noun]',
13
'[adjective] [noun]',
14
'[adjective] [noun]',
15
'[adjective] [noun]',
16
'[adjective] [adjective] [noun]',
17
'[adjective] [noun] [noun]',
18
'[adjective] [adjective] [noun] [noun]',
19
),
20
'adjective' => array(
21
'Temporary',
22
'Backend',
23
'External',
24
'Emergency',
25
'Applied',
26
'Advanced',
27
'Experimental',
28
'Logging',
29
'Test',
30
'Network',
31
'Ephemeral',
32
'Clustered',
33
'Mining',
34
'Core',
35
'Remote',
36
),
37
'noun' => array(
38
'Support',
39
'Services',
40
'Infrastructure',
41
'Mail',
42
'Security',
43
'Application',
44
'Microservices',
45
'Monoservices',
46
'Megaservices',
47
'API',
48
'Storage',
49
'Records',
50
'Package',
51
'Directories',
52
'Library',
53
'Concern',
54
'Cluster',
55
'Engine',
56
),
57
);
58
}
59
60
}
61
62