Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Mar 14, 2024
1 parent 62b00bd commit 99dffe9
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 47 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 8.0, 8.1, 8.2 ]
laravel: [ 8.*, 9.*, 10.* ]
php: [ 8.0, 8.1, 8.2, 8.3 ]
laravel: [ 8.*, 9.*, 10.*, 11.* ]
include:
- laravel: 8.*
testbench: 6.*
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- php: 8.0
laravel: 10.*
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ composer.lock
phpinsights.json
coverage.xml
composer.phar
/.phpunit.cache/
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,19 +196,19 @@ composer test

## 🔰 Version Support

| Larex | L5.8 | L6.x | L7.x | L8.x | L9.x | L10.x |
|:----------------:|:----:|:----:|:----:|:----:|:----:|:-----:|
| ^1.0 |||||||
| ^1.2 | ^2.0 |||||||
| ^3.0 |||||||
| ^4.0 |||||||

| Larex | PHP7.2 | PHP7.3 | PHP7.4 | PHP8.0 | PHP8.1 | PHP8.2 |
|:----------------:|:------:|:------:|:------:|:------:|:------:|:------:|
| ^1.0 |||||||
| ^1.6 | ^2.0 |||||||
| ^3.0 |||||| |
| ^4.0 |||||||
| Larex | L5.8 | L6.x | L7.x | L8.x | L9.x | L10.x | L11.x |
|:----------------:|:----:|:----:|:----:|:----:|:----:|:-----:|-------|
| ^1.0 ||||||||
| ^1.2 | ^2.0 ||||||||
| ^3.0 ||||||||
| ^4.0 ||||||||

| Larex | PHP7.2 | PHP7.3 | PHP7.4 | PHP8.0 | PHP8.1 | PHP8.2 | PHP8.3 |
|:----------------:|:------:|:------:|:------:|:------:|:------:|:------:|--------|
| ^1.0 ||||||||
| ^1.6 | ^2.0 ||||||||
| ^3.0 |||||| | |
| ^4.0 ||||||||


## 📃 Changelog
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
"php": "^8.0",
"ext-dom": "*",
"ext-json": "*",
"illuminate/support": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0",
"loilo/fuse": "^6.4.6",
"spatie/simple-excel": "^3.0.1",
"spatie/laravel-collection-macros": "^7.12"
},
"require-dev": {
"orchestra/testbench": "^6.0|^7.0|^8.0",
"pestphp/pest": "^1.21",
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
"pestphp/pest": "^2.0",
"psalm/plugin-laravel": "^2.0",
"vimeo/psalm": "^4.24"
"vimeo/psalm": "^5.0"
},
"autoload": {
"psr-4": {
Expand Down
57 changes: 30 additions & 27 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
cacheResult="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">src/Support</directory>
</exclude>
</whitelist>
</filter>
<php>
<env name="CACHE_DRIVER" value="array"/>
</php>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
colors="true"
processIsolation="false"
cacheResult="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">

<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>

<php>
<env name="CACHE_DRIVER" value="array"/>
</php>

<source>
<include>
<directory suffix=".php">src/</directory>
</include>
<exclude>
<directory suffix=".php">src/Support</directory>
</exclude>
</source>

</phpunit>
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
|
*/

expect()->extend('fileContent', fn () => $this->and(File::get($this->value)));
expect()->extend('fileContent', fn () => $this->and($this->value = File::get($this->value)));
expect()->extend('toEqualStub', fn (string $name, $eol = "\n") => $this->toEqual(getTestStub($name, $eol)));

/*
Expand Down

0 comments on commit 99dffe9

Please sign in to comment.