File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export interface Config {
86
86
readonly ignorePhpPlatformRequirements : IgnorePhpPlatformRequirements ;
87
87
readonly additionalComposerArguments : string [ ] ;
88
88
readonly backwardCompatibilityCheck : boolean ;
89
- readonly targetReference : string | null ;
89
+ readonly baseReference : string | null ;
90
90
}
91
91
export interface Requirements {
92
92
readonly codeChecks : boolean ;
@@ -480,7 +480,7 @@ export default function createConfig(
480
480
ignorePhpPlatformRequirements : configurationFromFile . ignore_php_platform_requirements ?? { } ,
481
481
additionalComposerArguments : [ ... new Set ( configurationFromFile . additional_composer_arguments ?? [ ] ) ] ,
482
482
backwardCompatibilityCheck : configurationFromFile . backwardCompatibilityCheck ?? false ,
483
- targetReference : process . env . GITHUB_BASE_REF ?? null ,
483
+ baseReference : process . env . GITHUB_BASE_REF ?? null ,
484
484
} ;
485
485
}
486
486
Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ function backwardCompatibilityCheckTool(config: Config): ToolRunningContainerDef
51
51
return null ;
52
52
}
53
53
54
- if ( config . targetReference === null ) {
54
+ if ( config . baseReference === null ) {
55
55
return null ;
56
56
}
57
57
58
58
return {
59
59
// @TODO need to `git fetch baseSha1` from source repo!
60
60
executionType : ToolExecutionType . STATIC ,
61
61
name : 'Backward Compatibility Check' ,
62
- command : `roave-backward-compatibility-check check --from="${ config . targetReference } " --install-development-dependencies` ,
62
+ command : `roave-backward-compatibility-check check --from="${ config . baseReference } " --install-development-dependencies` ,
63
63
filesToCheck : [ 'composer.json' ] ,
64
64
toolType : ToolType . CODE_CHECK ,
65
65
php : CONTAINER_DEFAULT_PHP_VERSION ,
You can’t perform that action at this time.
0 commit comments