@@ -2495,7 +2495,7 @@ private function parseDeclaration() {
24952495				// Custom property values get permissive parsing 
24962496				if  ( is_array ( $ namearray_key_exists ( 0 , $ name// to satisfy phan 
24972497					&& $ name0 ] instanceof  Less_Tree_Keyword
2498- 					&& $ name0 ]->value  && strpos ( $ name0 ]->value , '-- '  ) ===  0  ) {
2498+ 					&& $ name0 ]->value  && str_starts_with ( $ name0 ]->value , '-- '  ) ) {
24992499					$ value$ this parsePermissiveValue ( [ '; ' , '} '  ] );
25002500				} else  {
25012501					// Try to store values as anonymous 
@@ -3354,7 +3354,7 @@ public static function serializeVars( $vars ) {
33543354			if  ( strval ( $ value""  ) {
33553355				$ value'~"" ' ;
33563356			}
3357- 			$ s$ name[ 0 ] ===  '@ '  ) ? ''  : '@ '  ) . $ name':  '  . $ value(  substr (  $ value - 1  ) ===  '; '  ) ? ''  : '; '  );
3357+ 			$ sstr_starts_with ( $ name,  '@ '  ) ? ''  : '@ '  ) . $ name':  '  . $ valuestr_ends_with (  $ value'; '  ) ? ''  : '; '  );
33583358		}
33593359
33603360		return  $ s
@@ -3389,7 +3389,7 @@ public static function WinPath( $path ) {
33893389	}
33903390
33913391	public  static  function  AbsPath ( $ path$ winPathfalse  ) {
3392- 		if  ( strpos ( $ path'// '  ) !==  false  && preg_match ( '/^(https?:)?\/\//i ' , $ path
3392+ 		if  ( str_contains ( $ path'// '  ) && preg_match ( '/^(https?:)?\/\//i ' , $ path
33933393			return  $ winPath''  : false ;
33943394		} else  {
33953395			$ pathrealpath ( $ path
0 commit comments