Skip to content

Commit

Permalink
Add PHP8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Jan 1, 2021
1 parent 0dda036 commit e67ba73
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 78 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/.styleci.yml export-ignore
/.travis.yml export-ignore
/CODE_OF_CONDUCT.md export-ignore
Expand Down
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
vendor/
.php_cs.cache
composer.lock
composer.phar
phpunit.xml
64 changes: 0 additions & 64 deletions .php_cs

This file was deleted.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

env:
global:
Expand Down
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to `cybercog/laravel-nova-ban` will be documented in this fi

## [Unreleased]

## [1.2.0] - 2021-01-01

### Added

- Added PHP 8.x support

## [1.1.1] - 2020-03-11

### Fixed

- ([#9]) Removed unused `symfony/process` dependency

## [1.1.0] - 2019-02-26

### Added
Expand All @@ -14,5 +26,7 @@ All notable changes to `cybercog/laravel-nova-ban` will be documented in this fi

- Initial release

[Unreleased]: https://github.com/cybercog/laravel-ban/compare/1.1.0...master
[Unreleased]: https://github.com/cybercog/laravel-ban/compare/1.2.0...master
[1.2.0]: https://github.com/cybercog/laravel-ban/compare/1.1.1...1.2.0
[1.1.1]: https://github.com/cybercog/laravel-ban/compare/1.1.0...1.1.1
[1.1.0]: https://github.com/cybercog/laravel-ban/compare/1.0.0...1.1.0
14 changes: 8 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ Due to time constraints, we are not always able to respond as quickly as we woul

## Coding Guidelines

This project comes with a configuration file for php-cs-fixer (.php_cs) that you can use to (re)format your sourcecode for compliance with this project's coding guidelines:

```shell script
$ vendor/bin/php-cs-fixer fix
```
This package attempts to comply with [PSR-4] autoloader, [PSR-1] basic coding standard and [PSR-12] coding style guide.
If you notice compliance oversights, please send a patch via pull request.

## PHPUnit tests

Expand All @@ -35,4 +32,9 @@ $ vendor/bin/phpunit

## Reporting issues

- [General problems](https://github.com/cybercog/laravel-nova-ban/issues)
- [General problems]

[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md
[PSR-12]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md
[General problems]: https://github.com/cybercog/laravel-nova-ban/issues
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Behind the scenes [cybercog/laravel-ban](https://github.com/cybercog/laravel-ban

## Installation

First, pull in the package through Composer:
Pull in the package through Composer.

```shell script
$ composer require cybercog/laravel-nova-ban
Expand Down Expand Up @@ -139,11 +139,11 @@ If you discover any security related issues, please email open@cybercog.su inste

## About CyberCog

[CyberCog](https://cybercog.su) is a Social Unity of enthusiasts. Research best solutions in product & software development is our passion.
[CyberCog] is a Social Unity of enthusiasts. Research best solutions in product & software development is our passion.

- [Follow us on Twitter](https://twitter.com/cybercog)
- [Read our articles on Medium](https://medium.com/cybercog)

<a href="https://cybercog.su"><img src="https://cloud.githubusercontent.com/assets/1849174/18418932/e9edb390-7860-11e6-8a43-aa3fad524664.png" alt="CyberCog"></a>

[Anton Komarev]: https://komarev.com
[CyberCog]: https://cybercog.su
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"docs": "https://github.com/cybercog/laravel-nova-ban/wiki"
},
"require": {
"php": "^7.1.3",
"php": "^7.1.3|^8.0",
"laravel/nova": "*",
"cybercog/laravel-ban": "^3.0|^4.0"
},
Expand Down

0 comments on commit e67ba73

Please sign in to comment.