Skip to content

Commit

Permalink
laravel 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
reliq committed Mar 5, 2020
1 parent 8efe1ab commit 296f466
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 22 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ php:
env:
- LARAVEL='^6.0' COMPOSER_FLAGS='--prefer-stable'
- LARAVEL='6.x-dev'
- LARAVEL='^7.0' COMPOSER_FLAGS='--prefer-stable'
- LARAVEL='dev-master'

matrix:
fast_finish: true
allow_failures:
- env: LARAVEL='6.x-dev'
- env: LARAVEL='dev-master'

cache:
directories:
Expand Down
24 changes: 13 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "reliqarts/laravel-docweaver",
"description": "Highly configurable Laravel 5.x package for product documentation.",
"description": "An easy-to-use product documentation package for Laravel.",
"keywords": [
"doc",
"package",
"generation",
"documentation",
"laravel5",
"laravel",
"content"
],
"type": "library",
Expand All @@ -20,23 +20,22 @@
"require": {
"php": "^7.4",
"ext-json": "*",
"illuminate/support": "^6.0",
"illuminate/support": "6 - 7",
"league/commonmark": "^1.1",
"league/commonmark-extras": "^1.1",
"monolog/monolog": "~1.11",
"monolog/monolog": "1.24 - 2",
"nesbot/carbon": "^2.0",
"reliqarts/laravel-common": "^5.0",
"symfony/browser-kit": "^4.3",
"symfony/process": "~4.0",
"symfony/process": "4 - 5",
"symfony/yaml": "^4.3"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"orchestra/testbench-browser-kit": "^4.0",
"goaop/framework": "^2.3.3",
"codeception/aspect-mock": "^3.0",
"phpro/grumphp": "^0.15.2",
"wearejust/grumphp-extra-tasks": "^2.2"
"orchestra/testbench-browser-kit": "4 - 5",
"goaop/framework": "^3.0@rc",
"codeception/aspect-mock": "^3.1",
"phpro/grumphp": "^0.18.0"
},
"autoload": {
"psr-4": {
Expand All @@ -58,7 +57,10 @@
}
},
"scripts": {
"test": "vendor/bin/phpunit"
"test": "phpunit",
"test:ci": "phpunit --verbose --colors=auto --coverage-clover=coverage.xml",
"test:unit": "phpunit --testsuite=Unit --verbose --coverage-clover=coverage.xml",
"test:integration": "phpunit --testsuite=Integration --verbose"
},
"config": {
"sort-packages": true,
Expand Down
15 changes: 9 additions & 6 deletions grumphp.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
parameters:
extensions:
- Wearejust\GrumPHPExtra\Extension\Loader
tasks:
php_cs_auto_fixerv2:
allow_risky: true
phpcsfixer2:
allow_risky: ~
cache_file: ~
config: .php_cs
config: ~
rules: []
using_cache: ~
config_contains_finder: true
verbose: true
diff: false
triggered_by: ['php']
triggered_by: ['php']
phpunit:
config_file: ~
testsuite: Unit
group: []
always_execute: false
5 changes: 2 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Docweaver Feature Tests">
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>

<testsuite name="Docweaver Unit Tests">
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Laravel Docweaver

A simple Laravel 5.x/6.x product documentation package.
An easy-to-use product documentation package for Laravel.

Docweaver is suitable for product documentation and/or knowledge bases. Converts folder(s) of .md files into full-bread complete documentation. Docweaver is inspired by Laravel's very own documentation.

Expand Down

0 comments on commit 296f466

Please sign in to comment.