Showing 59 of 59 total issues
Parameter $event
has undeclared type \Phug\Parser\Event\NodeEvent
Open
Open
return [function (NodeEvent $event) use ($browserReloadPort) {
- Exclude checks
Call to method getName
from undeclared class \Phug\Parser\Node\ElementNode
Open
Open
if ($child instanceof ElementNode && strtolower($child->getName()) === 'body') {
- Exclude checks
Call to method cacheFile
from undeclared class \Phug\Phug
Open
Open
return Phug::cacheFile($path);
- Exclude checks
Call to method start
from undeclared class \JasonLewis\ResourceWatcher\Watcher
(Did you mean class \Phug\Watcher) Open
Open
$this->watcher->start($interval, $timeout, $callback);
- Exclude checks
Call to method getNode
from undeclared class \Phug\Parser\Event\NodeEvent
Open
Open
$document = $event->getNode();
- Exclude checks
Doc-block of $resource
in logEventChange
contains phpdoc param type string
which is incompatible with the param type \JasonLewis\ResourceWatcher\Resource\FileResource
declared in the signature Open
Open
* @param string $resource
- Exclude checks
Call to method addExtension
from undeclared class \Phug\Phug
Open
Open
\Phug\Phug::addExtension(\Phug\WatcherExtension::class);
- Exclude checks
Call to method setOptions
from undeclared class \Phug\Phug
Open
Open
\Phug\Phug::setOptions([
- Exclude checks
Property \Phug\Watcher->watcher
has undeclared type \JasonLewis\ResourceWatcher\Watcher
(Did you mean class \Phug\Watcher) Open
Open
private $watcher;
- Exclude checks
Call to method getOptions
from undeclared class \Phug\Phug
Open
Open
$options = Phug::getOptions();
- Exclude checks
Call to method getOption
from undeclared class \Phug\Phug
Open
Open
: (Phug::hasOption($name) ? Phug::getOption($name) : null)
- Exclude checks
Call to method hasOption
from undeclared class \Phug\Phug
Open
Open
: (Phug::hasOption($name) ? Phug::getOption($name) : null)
- Exclude checks
Reference to constant RESOURCE_MODIFIED
from undeclared class \JasonLewis\ResourceWatcher\Event
Open
Open
case JLEvent::RESOURCE_MODIFIED:
- Exclude checks
Return type of getWatcher()
is undeclared type \JasonLewis\ResourceWatcher\Watcher
(Did you mean class \Phug\Watcher) Open
Open
public function getWatcher()
- Exclude checks
Call to method __construct
from undeclared class \Illuminate\Filesystem\Filesystem
Open
Open
new Filesystem()
- Exclude checks
Call to method getCode
from undeclared class \JasonLewis\ResourceWatcher\Event
Open
Open
switch ($event->getCode()) {
- Exclude checks
Call to method getPath
from undeclared class \JasonLewis\ResourceWatcher\Resource\FileResource
Open
Open
$resourcePath = $path ?: $resource->getPath();
- Exclude checks
Reference to constant RESOURCE_DELETED
from undeclared class \JasonLewis\ResourceWatcher\Event
Open
Open
case JLEvent::RESOURCE_DELETED:
- Exclude checks
Call to method __construct
from undeclared class \Phug\Parser\Node\TextNode
Open
Open
$code = new TextNode();
- Exclude checks