File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ public function toPendingResult(PromiseInterface $raw)
201201 */
202202 public function runtime ()
203203 {
204- return ' nodejs14.x ' ;
204+ return Runtime:: NODEJS_14 ;
205205 }
206206
207207 /**
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Hammerstone \Sidecar ;
4+
5+ abstract class Runtime
6+ {
7+ public const NODEJS_14 = 'nodejs14.x ' ;
8+ public const NODEJS_12 = 'nodejs12.x ' ;
9+ public const NODEJS_10 = 'nodejs10.x ' ;
10+ public const PYTHON_39 = 'python3.9 ' ;
11+ public const PYTHON_38 = 'python3.8 ' ;
12+ public const PYTHON_37 = 'python3.7 ' ;
13+ public const PYTHON_36 = 'python3.6 ' ;
14+ public const PYTHON_27 = 'python2.7 ' ;
15+ public const RUBY_27 = 'ruby2.7 ' ;
16+ public const RUBY_25 = 'ruby2.5 ' ;
17+ public const JAVA_11 = 'java11 ' ;
18+ public const JAVA_8_LINUX2 = 'java8.al2 ' ;
19+ public const JAVA_8 = 'java8 ' ;
20+ public const GO_1X = 'go1.x ' ;
21+ public const DOT_NET_31 = 'dotnetcore3.1 ' ;
22+ public const DOT_NET_21 = 'dotnetcore2.1 ' ;
23+ }
You can’t perform that action at this time.
0 commit comments