Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
php: [8.0]
dependency-version: [highest, lowest]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
php: ["8.1", "8.2"]
dependency-version: ["highest", "lowest"]
steps:
- uses: actions/checkout@v2

Expand Down
4 changes: 0 additions & 4 deletions .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@ preset: laravel

risky: false

enabled:
- phpdoc_order
- phpdoc_separation

disabled:
- not_operator_with_successor_space
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
}
],
"require": {
"php": "^8.0",
"phpunit/phpunit": "^9.0",
"laravel/framework": "^8.0"
"php": "^8.1",
"phpunit/phpunit": "^9.0 || ^10.0",
"laravel/framework": "^9.0 || ^10.0"
},
"require-dev": {
"orchestra/testbench": "^6.0"
"orchestra/testbench": "^7.0 || ^8.0"
},
"autoload": {
"psr-4": {
Expand Down
21 changes: 10 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
>
<testsuites>
<testsuite name="Laravel View Assertions Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<testsuites>
<testsuite name="Laravel View Assertions Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
2 changes: 1 addition & 1 deletion src/Constraints/ViewDoesNotEqual.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function matches($other): bool

protected function failureDescription($other): string
{
return 'the content of the view ' . parent::failureDescription($other);
return 'the content of the view '.parent::failureDescription($other);
}

public function toString(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Constraints/ViewEquals.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function matches($other): bool

protected function failureDescription($other): string
{
return 'the content of the view ' . parent::failureDescription($other);
return 'the content of the view '.parent::failureDescription($other);
}

public function toString(): string
Expand Down