Skip to content

Commit

Permalink
Reached phpstan level 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Naktibalda committed Mar 11, 2022
1 parent 68bb678 commit 13d5745
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: phpcs src/ tests/

- name: Static analysis
run: phpstan analyze src/ tests/
run: phpstan analyze --level=5 src/ tests/

- name: Run tests
run: ./vendor/bin/phpunit tests/
3 changes: 0 additions & 3 deletions src/Lib/Interfaces/ElementLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Codeception\Lib\Interfaces;

use Symfony\Component\DomCrawler\Crawler;

interface ElementLocator
{
/**
Expand All @@ -27,7 +25,6 @@ interface ElementLocator
* WebDriver module returns `Facebook\WebDriver\Remote\RemoteWebElement` instances
* PhpBrowser and Framework modules return `Symfony\Component\DomCrawler\Crawler` instances
*
* @return Crawler|array of interactive elements
* @api
*/
public function _findElements(mixed $locator): iterable;
Expand Down

0 comments on commit 13d5745

Please sign in to comment.