This repository was archived by the owner on Jul 1, 2023. It is now read-only.
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 @@ -176,7 +176,7 @@ protected function translateTokens($message)
176176 'T_XOR_EQUAL ' => '^= ' ,
177177 );
178178
179- return preg_replace_callback ('~T_([A-Z_]*)~ ' , function ($ matches ) use ($ translateTokens ) {
179+ return preg_replace_callback ('~T_([A-Z_]*)~ ' , function ($ matches ) use ($ translateTokens ) {
180180 list ($ tokenName ) = $ matches ;
181181 if (isset ($ translateTokens [$ tokenName ])) {
182182 $ operator = $ translateTokens [$ tokenName ];
Original file line number Diff line number Diff line change @@ -176,9 +176,9 @@ protected function getPhpExecutableVersion($phpExecutable)
176176 */
177177 protected function phpVersionIdToString ($ phpVersionId )
178178 {
179- $ releaseVersion = (int )substr ($ phpVersionId , -2 , 2 );
180- $ minorVersion = (int )substr ($ phpVersionId , -4 , 2 );
181- $ majorVersion = (int )substr ($ phpVersionId , 0 , strlen ($ phpVersionId )-4 );
179+ $ releaseVersion = (int ) substr ($ phpVersionId , -2 , 2 );
180+ $ minorVersion = (int ) substr ($ phpVersionId , -4 , 2 );
181+ $ majorVersion = (int ) substr ($ phpVersionId , 0 , strlen ($ phpVersionId )-4 );
182182
183183 return "$ majorVersion. $ minorVersion. $ releaseVersion " ;
184184 }
You can’t perform that action at this time.
0 commit comments