In the latest versions of PHP, it is perfectly valid to use a constant (`const`) as a default for a function parameter. `public function __construct(int $flags = self::DEFAULT_FLAGS) {` This however, is detected as a syntax error by php.tmbundle, as show below. 