@@ -46,12 +46,12 @@ public static function patchBeforeBuildconf(BuilderBase $builder): void
4646 {
4747 foreach ($ builder ->getExts () as $ ext ) {
4848 if ($ ext ->patchBeforeBuildconf () === true ) {
49- logger ()->info (' Extension [ ' . $ ext ->getName () . ' ] patched before buildconf ' );
49+ logger ()->info (" Extension [ { $ ext ->getName ()} ] patched before buildconf " );
5050 }
5151 }
5252 foreach ($ builder ->getLibs () as $ lib ) {
5353 if ($ lib ->patchBeforeBuildconf () === true ) {
54- logger ()->info (' Library [ ' . $ lib ->getName () . ' ] patched before buildconf' );
54+ logger ()->info (" Library [ { $ lib ->getName ()} ] patched before buildconf" );
5555 }
5656 }
5757 // patch windows php 8.1 bug
@@ -79,15 +79,6 @@ public static function patchBeforeBuildconf(BuilderBase $builder): void
7979 }
8080 }
8181
82- public static function patchBeforeSharedBuild (BuilderBase $ builder ): void
83- {
84- foreach ($ builder ->getExts () as $ ext ) {
85- if ($ ext ->patchBeforeSharedBuild () === true ) {
86- logger ()->info ('Extension [ ' . $ ext ->getName () . '] patched before shared build ' );
87- }
88- }
89- }
90-
9182 /**
9283 * Source patcher runner before configure
9384 *
@@ -98,12 +89,12 @@ public static function patchBeforeConfigure(BuilderBase $builder): void
9889 {
9990 foreach ($ builder ->getExts () as $ ext ) {
10091 if ($ ext ->patchBeforeConfigure () === true ) {
101- logger ()->info (' Extension [ ' . $ ext ->getName () . ' ] patched before configure ' );
92+ logger ()->info (" Extension [ { $ ext ->getName ()} ] patched before configure " );
10293 }
10394 }
10495 foreach ($ builder ->getLibs () as $ lib ) {
10596 if ($ lib ->patchBeforeConfigure () === true ) {
106- logger ()->info (' Library [ ' . $ lib ->getName () . ' ] patched before configure ' );
97+ logger ()->info (" Library [ { $ lib ->getName ()} ] patched before configure " );
10798 }
10899 }
109100 // patch capstone
@@ -279,12 +270,12 @@ public static function patchBeforeMake(BuilderBase $builder): void
279270 // call extension patch before make
280271 foreach ($ builder ->getExts (false ) as $ ext ) {
281272 if ($ ext ->patchBeforeMake () === true ) {
282- logger ()->info (' Extension [ ' . $ ext ->getName () . ' ] patched before make ' );
273+ logger ()->info (" Extension [ { $ ext ->getName ()} ] patched before make " );
283274 }
284275 }
285276 foreach ($ builder ->getLibs () as $ lib ) {
286277 if ($ lib ->patchBeforeMake () === true ) {
287- logger ()->info (' Library [ ' . $ lib ->getName () . ' ] patched before make ' );
278+ logger ()->info (" Library [ { $ lib ->getName ()} ] patched before make " );
288279 }
289280 }
290281 }
0 commit comments