Skip to content

Commit

Permalink
Revert "add support for Laravel 11"
Browse files Browse the repository at this point in the history
  • Loading branch information
YunusEmreNalbant committed Jun 26, 2024
1 parent b94b05b commit c431459
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 62 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2, 8.3]
laravel: [11.*, 10.*, 9.*]
php: [8.1, 8.2]
laravel: [10.*, 9.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ vendor
composer.lock
.phpunit.result.cache
.phpunit.cache
phpunit.xml.dist.bak
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"homepage": "https://github.com/deligoez/tckimlikno",
"keywords": ["laravel", "package", "validation", "tckimlikno", "mernis"],
"require": {
"php": "^8.1 | ^8.2 | ^8.3",
"illuminate/support": "^9.0 | ^10.0 | ^11.0",
"ricorocks-digital-agency/soap": "^1.6 | 2.*",
"php": "^8.1 | ^8.2",
"illuminate/support": "^9.0 | ^10.0",
"ricorocks-digital-agency/soap": "^1.6",
"guzzlehttp/guzzle": "^7.2.0"
},
"require-dev": {
"mockery/mockery": "^1.5",
"fakerphp/faker": "^1.19",
"orchestra/testbench": "^7.5 | ^8.0 | ^9.0",
"phpunit/phpunit": "^9.5 | ^10.5"
"orchestra/testbench": "^7.5",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
Expand Down
42 changes: 24 additions & 18 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
verbose="true"
>
<testsuites>
<testsuite name="Spatie Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
<testsuites>
<testsuite name="Spatie Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
</phpunit>
31 changes: 0 additions & 31 deletions phpunit.xml.dist.bak

This file was deleted.

0 comments on commit c431459

Please sign in to comment.