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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:

strategy:
matrix:
php: ['8.0', 8.1, 8.2]
php: [8.2, 8.3, 8.4]
lib:
- { laravel: ^11.0 }
- { laravel: ^10.0 }
- { laravel: ^9.0 }
- laravel: ^13.0.x-dev
- laravel: ^12.0
- laravel: ^11.0
exclude:
- { php: 8.0, lib: { laravel: ^10.0 } }
- { php: 8.0, lib: { laravel: ^11.0 } }
- { php: 8.1, lib: { laravel: ^11.0 } }
- php: 8.2
lib:
laravel: ^13.0.x-dev

steps:
- uses: actions/checkout@v3
Expand Down
34 changes: 0 additions & 34 deletions .scrutinizer.yml

This file was deleted.

9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Laravel File Errors [![Build Status](https://github.com/mpyw/laravel-file-errors/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/mpyw/laravel-file-errors/actions) [![Coverage Status](https://coveralls.io/repos/github/mpyw/laravel-file-errors/badge.svg?branch=master)](https://coveralls.io/github/mpyw/laravel-file-errors?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mpyw/laravel-file-errors/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mpyw/laravel-file-errors/?branch=master)
# Laravel File Errors [![Build Status](https://github.com/mpyw/laravel-file-errors/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/mpyw/laravel-file-errors/actions) [![Coverage Status](https://coveralls.io/repos/github/mpyw/laravel-file-errors/badge.svg?branch=master)](https://coveralls.io/github/mpyw/laravel-file-errors?branch=master)

A tiny extension that reports validation error details about uploaded files

## Requirements

- PHP: `^8.0`
- Laravel: `^9.0 || ^10.0`
- PHP: `^8.2`
- Laravel: `^11.0 || ^12.0`

> [!NOTE]
> Older versions have outdated dependency requirements. If you cannot prepare the latest environment, please refer to past releases.

## Installing

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
},
"require": {
"php": "^8.0",
"illuminate/http": "^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
"illuminate/validation": "^9.0 || ^10.0 || ^11.0"
"illuminate/http": "^11.0 || ^12.0 || ^13.0",
"illuminate/support": "^11.0 || ^12.0 || ^13.0",
"illuminate/validation": "^11.0 || ^12.0 || ^13.0"
},
"require-dev": {
"orchestra/testbench": "*",
"orchestra/testbench-core": ">=7.0",
"phpunit/phpunit": ">=9.5"
"orchestra/testbench-core": ">=9.0",
"phpunit/phpunit": ">=11.0"
},
"minimum-stability": "dev",
"prefer-stable": true
Expand Down
20 changes: 15 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage>
<phpunit backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
processIsolation="false"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">

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

<coverage/>

<testsuites>
<testsuite name="Package Test Suite">
<directory suffix="Test.php">./tests/</directory>
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>