Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / diffusion / request / DiffusionSvnRequest.php
blob8c692aa3b935174d14056e5c1e7b79ba0ab0fe74
1 <?php
3 final class DiffusionSvnRequest extends DiffusionRequest {
5 protected function isStableCommit($symbol) {
6 return $symbol !== null && preg_match('/^[1-9]\d*\z/', $symbol);
9 protected function didInitialize() {
10 if ($this->path === null) {
11 $subpath = $this->repository->getDetail('svn-subpath');
12 if ($subpath) {
13 $this->path = $subpath;
18 protected function getArcanistBranch() {
19 return 'svn';