Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3594bb4

Browse filesBrowse 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
Copy full SHA for 3594bb4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/DataCollector/TwigDataCollector.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.