8000 minor #23043 minor #23043 add \ to PHP_VERSION_ID fixes #22650 (vince… · symfony/symfony@3594bb4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3594bb4

Browse files
committed
minor #23043 minor #23043 add \ to PHP_VERSION_ID fixes #22650 (vincentaubert)
This PR was squashed before being merged into the 3.3 branch (closes #23043). Discussion ---------- minor #23043 add \ to PHP_VERSION_ID fixes #22650 | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22650 | License | MIT | Doc PR | n/a this PR is the last one fixing the \ before PHP_VERSION_ID closes definitively #22650 Commits ------- d3e6a2d minor #23043 add \ to PHP_VERSION_ID fixes #22650
2 parents 2a29369 + d3e6a2d commit 3594bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/DataCollector/TwigDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getHtmlCallGraph()
9696
public function getProfile()
9797
{
9898
if (null === $this->profile) {
99-
if (PHP_VERSION_ID >= 70000) {
99+
if (\PHP_VERSION_ID >= 70000) {
100100
$this->profile = unserialize($this->data['profile'], array('allowed_classes' => array('Twig_Profiler_Profile', 'Twig\Profiler\Profile')));
101101
} else {
102102
$this->profile = unserialize($this->data['profile']);

0 commit comments

Comments
 (0)
0