@@ -69,8 +69,8 @@ public static function handleSPCException(SPCException $e): void
69
69
self ::logError ('Failed module: ' . ConsoleColor::yellow ("library {$ lib_info ['library_name ' ]} builder for {$ lib_info ['os ' ]}" ));
70
70
} elseif ($ ext_info = $ e ->getExtensionInfo ()) {
71
71
self ::logError ('Failed module: ' . ConsoleColor::yellow ("shared extension {$ ext_info ['extension_name ' ]} builder " ));
72
- } elseif (self ::$ bind_builder ) {
73
- $ os = match (get_class (self ::$ bind_builder )) {
72
+ } elseif (self ::$ builder ) {
73
+ $ os = match (get_class (self ::$ builder )) {
74
74
WindowsBuilder::class => 'Windows ' ,
75
75
MacOSBuilder::class => 'macOS ' ,
76
76
LinuxBuilder::class => 'Linux ' ,
@@ -122,7 +122,7 @@ public static function handleSPCException(SPCException $e): void
122
122
}
123
123
124
124
// get the full build info if possible
125
- if ($ info = ExceptionHandler::$ bind_build_php_extra_info ) {
125
+ if ($ info = ExceptionHandler::$ build_php_extra_info ) {
126
126
self ::logError ('' , output_log: defined ('DEBUG_MODE ' ));
127
127
self ::logError ('Build PHP extra info: ' , output_log: defined ('DEBUG_MODE ' ));
128
128
self ::printArrayInfo ($ info );
@@ -133,9 +133,9 @@ public static function handleSPCException(SPCException $e): void
133
133
$ info = $ e ->getBuildPHPInfo ();
134
134
self ::logError ('' , output_log: defined ('DEBUG_MODE ' ));
135
135
self ::logError ('Builder function: ' . ConsoleColor::yellow ($ info ['builder_function ' ]), output_log: defined ('DEBUG_MODE ' ));
136
- if (self ::$ bind_builder ) {
136
+ if (self ::$ builder ) {
137
137
self ::logError ('Builder options: ' , output_log: defined ('DEBUG_MODE ' ));
138
- self ::printArrayInfo (self ::$ bind_builder ->getOptions ());
138
+ self ::printArrayInfo (self ::$ builder ->getOptions ());
139
139
}
140
140
}
141
141
@@ -166,7 +166,7 @@ public static function handleDefaultException(\Throwable $e): void
166
166
167
167
public static function bindBuilder (?BuilderBase $ bind_builder ): void
168
168
{
169
- self ::$ bind_builder = $ bind_builder ;
169
+ self ::$ builder = $ bind_builder ;
170
170
}
171
171
172
172
public static function bindBuildPhpExtraInfo (array $ build_php_extra_info ): void
0 commit comments