This repository was archived by the owner on Dec 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ public static function fixNamespaceDeclarations($source)
232
232
233
233
$ output .= self ::compressCode ($ rawChunk );
234
234
235
- if (PHP_VERSION_ID >= 70000 ) {
235
+ if (\ PHP_VERSION_ID >= 70000 ) {
236
236
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
237
237
unset($ tokens , $ rawChunk );
238
238
gc_mem_caches ();
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \ClassLoader ;
13
13
14
14
if (!defined ('SYMFONY_TRAIT ' )) {
15
- if (PHP_VERSION_ID >= 50400 ) {
15
+ if (\ PHP_VERSION_ID >= 50400 ) {
16
16
define ('SYMFONY_TRAIT ' , T_TRAIT );
17
17
} else {
18
18
define ('SYMFONY_TRAIT ' , 0 );
@@ -72,7 +72,7 @@ public static function createMap($dir)
72
72
73
73
$ classes = self ::findClasses ($ path );
74
74
75
- if (PHP_VERSION_ID >= 70000 ) {
75
+ if (\ PHP_VERSION_ID >= 70000 ) {
76
76
// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
77
77
gc_mem_caches ();
78
78
}
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public function getTestCreateMapTests()
108
108
)),
109
109
);
110
110
111
- if (PHP_VERSION_ID >= 50400 ) {
111
+ if (\ PHP_VERSION_ID >= 50400 ) {
112
112
$ data [] = array (__DIR__ .'/Fixtures/php5.4 ' , array (
113
113
'TFoo ' => __DIR__ .'/Fixtures/php5.4/traits.php ' ,
114
114
'CFoo ' => __DIR__ .'/Fixtures/php5.4/traits.php ' ,
@@ -119,7 +119,7 @@ public function getTestCreateMapTests()
119
119
));
120
120
}
121
121
122
- if (PHP_VERSION_ID >= 50500 ) {
122
+ if (\ PHP_VERSION_ID >= 50500 ) {
123
123
$ data [] = array (__DIR__ .'/Fixtures/php5.5 ' , array (
124
124
'ClassCons \\Foo ' => __DIR__ .'/Fixtures/php5.5/class_cons.php ' ,
125
125
));
You can’t perform that action at this time.
0 commit comments