Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / paste / lipsum / PhabricatorPasteFilenameContextFreeGrammar.php
blob584e06f99f155ee8754d80cecb74ab84e8c6b6c5
1 <?php
3 final class PhabricatorPasteFilenameContextFreeGrammar
4 extends PhutilContextFreeGrammar {
6 protected function getRules() {
7 return array(
8 'start' => array(
9 '[scripty]',
11 'scripty' => array(
12 '[thing]',
13 '[thing]',
14 '[thing]_[tail]',
15 '[action]_[thing]',
16 '[action]_[thing]',
17 '[action]_[thing]_[tail]',
18 '[scripty]_and_[scripty]',
20 'tail' => array(
21 'script',
22 'helper',
23 'backup',
24 'pro',
25 '[tail]_[tail]',
27 'thing' => array(
28 '[thingnoun]',
29 '[thingadjective]_[thingnoun]',
30 '[thingadjective]_[thingadjective]_[thingnoun]',
32 'thingnoun' => array(
33 'backup',
34 'backups',
35 'database',
36 'databases',
37 'table',
38 'tables',
39 'memory',
40 'disk',
41 'disks',
42 'user',
43 'users',
44 'account',
45 'accounts',
46 'shard',
47 'shards',
48 'node',
49 'nodes',
50 'host',
51 'hosts',
52 'account',
53 'accounts',
55 'thingadjective' => array(
56 'backup',
57 'database',
58 'memory',
59 'disk',
60 'user',
61 'account',
62 'forgotten',
63 'lost',
64 'elder',
65 'ancient',
66 'legendary',
68 'action' => array(
69 'manage',
70 'update',
71 'compact',
72 'quick',
73 'probe',
74 'sync',
75 'undo',
76 'administrate',
77 'assess',
78 'purge',
79 'cancel',
80 'entomb',
81 'accelerate',
82 'plan',