Skip to content

Commit

Permalink
Force the PHPStan job to install a version of PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrunwell committed Dec 12, 2023
1 parent ee498a8 commit 895c8d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v2

- name: Install PHPUnit
run: composer test -- --version

- name: Run PHPStan
run: composer static-analysis
3 changes: 3 additions & 0 deletions src/Exceptions/SelectorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace SteveGrunwell\PHPUnit_Markup_Assertions\Exceptions;

/**
* Base exception for selector-related issues.
*/
class SelectorException extends \InvalidArgumentException
{
}

0 comments on commit 895c8d0

Please sign in to comment.