Skip to content

Commit

Permalink
Merge pull request #4 from cybercog/add/laravel-ban-v4-support
Browse files Browse the repository at this point in the history
Add Laravel Ban v4 support
  • Loading branch information
antonkomarev authored Feb 26, 2019
2 parents 92c6cae + b79e980 commit bc0e017
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: php

sudo: false

php:
- 7.1
- 7.2
- 7.3

env:
global:
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to `laravel-ban` will be documented in this file.

## [1.1.0] - 2019-02-26

### Added

- Laravel Ban v4 support

## 1.1.0 - 2018-09-23

- Initial release

[1.1.0]: https://github.com/cybercog/laravel-ban/compare/1.0.0...v1.1.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ use Illuminate\Support\Facades\Schema;

class AddBannedAtColumnToUsersTable extends Migration
{
public function up()
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->timestamp('banned_at')->nullable();
});
}

public function down()
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('banned_at');
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@
"require": {
"php": "^7.1.3",
"laravel/nova": "*",
"cybercog/laravel-ban": "^3.0",
"cybercog/laravel-ban": "^3.0|^4.0",
"symfony/process": "^4.1"
},
"require-dev": {
"orchestra/testbench": "^3.6",
"phpunit/phpunit": "^7.1"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit bc0e017

Please sign in to comment.