Skip to content

Commit

Permalink
zendframework#7095 - removing T_TRAIT polyfill: T_TRAIT is availa…
Browse files Browse the repository at this point in the history
…ble since PHP 5.4
  • Loading branch information
Ocramius committed Jan 13, 2015
1 parent 2897fca commit 58e2126
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions library/Zend/Code/Scanner/TokenArrayScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,6 @@ protected function scan()
throw new Exception\RuntimeException('No tokens were provided');
}

/**
* Define PHP 5.4 'trait' token constant.
*/
if (!defined('T_TRAIT')) {
define('T_TRAIT', 42001);
}

/**
* Variables & Setup
*/
Expand Down

0 comments on commit 58e2126

Please sign in to comment.