Skip to content

Commit

Permalink
Update psr/cache and pestphp/pest
Browse files Browse the repository at this point in the history
Drop support for PHP 8.0
  • Loading branch information
Lisa Hoffelner committed Feb 26, 2024
1 parent daec83b commit 40f7d28
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ "8.0", "8.1", "8.2" ]
php: [ "8.1", "8.2" ]

runs-on: ubuntu-latest
name: PHP@${{ matrix.php }}
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ 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).

## [3.1.0] - 2024-02-xx
### Added
- Support for PHP 8.3
- Support for `psr/cache` ^2.0 and ^3.0
- Support for `illuminate/support` v11
- Support for `illuminate/session` v11

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

### Removed
- Support for PHP 8.0
- Support for `illuminate/support` v9
- Support for `illuminate/session` v9

## [3.0.0] - 2023-03-01
### Added
- Support for PHP 8.2.
Expand Down
12 changes: 6 additions & 6 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.*",
"illuminate/support": "^9.0 || ^10.0",
"illuminate/session": "^9.0 || ^10.0",
"psr/cache": "^1.0"
"php": "8.1.* || 8.2.*|| 8.3.*",
"illuminate/support": "^10.0 || ^11.0",
"illuminate/session": "^10.0 || ^11.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.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 40f7d28

Please sign in to comment.