Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from Sekonda/master
Browse files Browse the repository at this point in the history
PSR2 Standards
  • Loading branch information
BSN4 authored Oct 8, 2019
2 parents fa321c9 + 2d84eb6 commit 0c28eff
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: php
php:
- "7.1"
- "7.0"
- "5.6"
before_script:
- composer self-update
- composer install --prefer-source

script:
- ./vendor/bin/phpcs --standard=PSR2 src
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ auth()->user()->notifications()

`composer require if4lcon/laravel-clear-orders-by`

Then add this line `Bader\ClearOrdersBy\clearOrdersByServiceProvider::class` to service providers in `config/app.php`.
Then add this line `Bader\ClearOrdersBy\ClearOrdersByServiceProvider::class` to service providers in `config/app.php`.

## License

Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"illuminate/database": "5.*",
"illuminate/support": "5.*"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"Bader\\ClearOrdersBy\\": "src/"
Expand All @@ -21,7 +24,7 @@
"extra": {
"laravel": {
"providers": [
"Bader\\ClearOrdersBy\\clearOrdersByServiceProvider"
"Bader\\ClearOrdersBy\\ClearOrdersByServiceProvider"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Illuminate\Database\Query\Builder;
use Illuminate\Support\ServiceProvider;

class clearOrdersByServiceProvider extends ServiceProvider
class ClearOrdersByServiceProvider extends ServiceProvider
{

/**
Expand Down

0 comments on commit 0c28eff

Please sign in to comment.