for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Symplify
* Copyright (c) 2016 Tomas Votruba (http://tomasvotruba.cz).
*/
namespace Symplify\PHP7_CodeSniffer\EventDispatcher\Event;
use PHP_CodeSniffer\Files\File;
use Symfony\Component\EventDispatcher\Event;
final class CheckFileTokenEvent extends Event
{
/**
* @var File
private $file;
* @var int
private $stackPointer;
public function __construct(File $file, int $stackPointer)
$this->file = $file;
$this->stackPointer = $stackPointer;
}
public function getFile() : File
return $this->file;
public function getStackPointer() : int
return $this->stackPointer;