Skip to content

Commit

Permalink
Merge pull request #79 from danichurras/78-laravel_10_support
Browse files Browse the repository at this point in the history
78 laravel 10 support
  • Loading branch information
nunomazer authored Jul 21, 2023
2 parents a4947b1 + 15bdca9 commit d3252b8
Show file tree
Hide file tree
Showing 13 changed files with 771 additions and 617 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
/vendor
composer.lock

.idea

phpunit.xml
.env.testing
/.phpunit.cache/test-results
/.phpunit.result.cache
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Add the following in the require section of your **composer.json**:
"uepg/laravel-sybase": "~2.0"
```

### Laravel 10.x

```json
"uepg/laravel-sybase": "~3.0"
```

Update the package dependencies executing:

```shell
Expand Down
23 changes: 17 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uepg/laravel-sybase",
"description": "Sybase based Eloquent module extension for Laravel 5.x.",
"description": "Sybase based Eloquent module extension for Laravel 10.x",
"keywords": [
"sybase"
],
Expand All @@ -20,10 +20,15 @@
"wiki": "https://github.com/uepg/laravel-sybase/wiki"
},
"require": {
"php": "^5.6.4 || ^7.0 || ^8.0",
"doctrine/dbal": "^2.5",
"illuminate/database": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*|9.*",
"illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*|9.*"
"php": "^8.1",
"doctrine/dbal": "^3.5.1",
"illuminate/database": "^10",
"illuminate/support": "^10",
"ext-pdo": "*"
},
"require-dev": {
"orchestra/testbench": "^8.5",
"nunomaduro/collision": "^7.4"
},
"extra": {
"laravel": {
Expand All @@ -37,7 +42,13 @@
},
"autoload": {
"psr-4": {
"Uepg\\LaravelSybase\\": "src/"
"Uepg\\LaravelSybase\\": "src/",
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"@php vendor/bin/testbench package:discover --ansi"
]
}
}
21 changes: 21 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
beStrictAboutTestsThatDoNotTestAnything="false"
colors="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="Laravel Sybase Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<php>
<ini name="date.timezone" value="UTC-3" />
<ini name="intl.default_locale" value="C.UTF-8" />
<ini name="memory_limit" value="2048M" />
<env name="DB_CONNECTION" value="testing" />
</php>
</phpunit>
Loading

0 comments on commit d3252b8

Please sign in to comment.