Skip to content

Commit

Permalink
Update psr/cache and pestphp/pest
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisa Hoffelner committed Feb 21, 2024
1 parent daec83b commit 498b876
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 25 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0] - 2024-02-xx
### Added
- Support for `psr/cache` ^2.0 and ^3.0

### Updated
- `pestphp/pest` to v2

### Removed
- Support for PHP 8.0

## [3.0.0] - 2023-03-01
### Added
- Support for PHP 8.2.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
],
"license": "Apache-2.0",
"require": {
"php": "8.0.* | 8.1.* | 8.2.*",
"php": "8.1.* || 8.2.*",
"illuminate/support": "^9.0 || ^10.0",
"illuminate/session": "^9.0 || ^10.0",
"psr/cache": "^1.0"
"psr/cache": "^1.0 || ^2.0 || ^3.0 "
},
"require-dev": {
"mockery/mockery": "^1.0",
"pestphp/pest": "^1.22",
"laravel/pint": "^1.5 | ^1.6",
"pestphp/pest": "^2.0",
"laravel/pint": "^1.5 || ^1.6",
"phpstan/phpstan": "^1.10"
},
"extra": {
Expand Down
36 changes: 15 additions & 21 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
verbose="true"
convertDeprecationsToExceptions="true"
>
<testsuites>
<testsuite name="State Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>./src/StateServiceProvider.php</file>
<file>./src/StoreFacade.php</file>
</exclude>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="State Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>./src/StateServiceProvider.php</file>
<file>./src/StoreFacade.php</file>
</exclude>
</source>
</phpunit>

0 comments on commit 498b876

Please sign in to comment.