Skip to content

Commit

Permalink
add L5.5 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 30, 2017
1 parent 538bdb6 commit fc77a8e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
preset: laravel

linting: true
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php
php:
- 7.0
- 7.1
- 7.2

env:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ This package can be installed through Composer.
composer require spatie/laravel-analytics
```

You must install this service provider.
In Laravel 5.5 the package will autoregister the service provider. In Laravel 5.4 you must install this service provider.

```php
// config/app.php
Expand All @@ -55,7 +55,7 @@ You must install this service provider.
];
```

This package also comes with a facade, which provides an easy way to call the the class.
In Laravel 5.5 the package will autoregister the facade. In Laravel 5.4 you most install the facade manually.

```php
// config/app.php
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"require": {
"php" : "^7.0",
"google/apiclient" : "^2.0",
"illuminate/contracts": "~5.4.0",
"illuminate/support": "~5.4.0",
"illuminate/contracts": "~5.4.0|~5.5.0",
"illuminate/support": "~5.4.0|~5.5.0",
"madewithlove/illuminate-psr-cache-bridge": "^1.0",
"nesbot/carbon": "^1.21"

},
"require-dev": {
"mockery/mockery": "^0.9.5",
"orchestra/testbench" : "~3.4.6",
"orchestra/testbench" : "~3.4.6|~3.5.0",
"phpunit/phpunit" : "^6.1"
},
"autoload": {
Expand Down
7 changes: 0 additions & 7 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>

0 comments on commit fc77a8e

Please sign in to comment.