Skip to content

Commit

Permalink
Allow PhpWebDriver to match html files
Browse files Browse the repository at this point in the history
  • Loading branch information
robbplo committed Apr 4, 2022
1 parent 4a5d919 commit 2d652c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/PhpWebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function matches(): bool
];

return $this->repository->dir()->find()
->name('*.php')
->name(['*.php', '*.html'])
->contains($patterns)
->count() > 0;
}
Expand Down
1 change: 1 addition & 0 deletions src/ProjectClassifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Autopilot\Drivers\PhpWebDriver;
use Autopilot\Drivers\PythonScriptDriver;
use Autopilot\Drivers\PythonVirtualEnvDriver;
use Autopilot\Drivers\StaticHtmlDriver;

class ProjectClassifier
{
Expand Down

0 comments on commit 2d652c6

Please sign in to comment.