Skip to content

Commit

Permalink
Add Laravel 8 support (#13)
Browse files Browse the repository at this point in the history
Add Laravel 8 support
  • Loading branch information
antonkomarev authored Sep 13, 2020
1 parent 1741fd2 commit fac99df
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

1 change: 0 additions & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ disabled:
- concat_without_spaces
- phpdoc_no_package
- logical_not_operators_with_successor_space
- simplified_null_return
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to `cybercog/laravel-youtrack-sdk` will be documented in thi

## [Unreleased]

## [5.3.0] - 2020-09-13

### Added

- ([#13]) Laravel 8 support

## [5.2.0] - 2020-03-07

### Added
Expand Down Expand Up @@ -71,7 +77,8 @@ All notable changes to `cybercog/laravel-youtrack-sdk` will be documented in thi

- Initial release

[Unreleased]: https://github.com/cybercog/laravel-youtrack-sdk/compare/5.2.0...master
[Unreleased]: https://github.com/cybercog/laravel-youtrack-sdk/compare/5.3.0...master
[5.3.0]: https://github.com/cybercog/laravel-youtrack-sdk/compare/5.2.0...5.3.0
[5.2.0]: https://github.com/cybercog/laravel-youtrack-sdk/compare/5.1.0...5.2.0
[5.1.0]: https://github.com/cybercog/laravel-youtrack-sdk/compare/5.0.0...5.1.0
[5.0.0]: https://github.com/cybercog/laravel-youtrack-sdk/compare/4.2.0...5.0.0
Expand All @@ -81,5 +88,6 @@ All notable changes to `cybercog/laravel-youtrack-sdk` will be documented in thi
[3.0.0]: https://github.com/cybercog/laravel-youtrack-sdk/compare/2.0.0...3.0.0
[2.0.0]: https://github.com/cybercog/laravel-youtrack-sdk/compare/1.0.0...2.0.0

[#13]: https://github.com/cybercog/laravel-youtrack-sdk/pull/13
[#12]: https://github.com/cybercog/laravel-youtrack-sdk/pull/12
[#9]: https://github.com/cybercog/laravel-youtrack-sdk/pull/9
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This project follows [PSR-12 coding style guide](https://www.php-fig.org/psr/psr

The phpunit script can be used to invoke the PHPUnit test runner:

```sh
```shell script
$ vendor/bin/phpunit
```

Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ composer installed.

Once composer is installed, execute the following command in your project root to install this library:

```sh
$ composer require cybercog/laravel-youtrack-sdk
```shell script
composer require cybercog/laravel-youtrack-sdk
```

## Configuration

Laravel YouTrack SDK designed to work with default config, but it always could be modified. First of all publish it:

```bash
```shell script
php artisan vendor:publish --tag="youtrack-config"
```

Expand All @@ -79,7 +79,7 @@ This will create a `config/youtrack.php` file in your app that you can modify to

YouTrack instance location could be defined in `.env` file:

```
```dotenv
YOUTRACK_BASE_URI=https://youtrack.custom.domain
```

Expand All @@ -91,14 +91,14 @@ By default Token authorization will be used. You could redefine it in `.env` fil

#### Token authorization

```
```dotenv
YOUTRACK_AUTH=token
YOUTRACK_TOKEN=your-permanents-token
```

#### Cookie authorization

```
```dotenv
YOUTRACK_AUTH=cookie
YOUTRACK_USERNAME=username
YOUTRACK_PASSWORD=secret
Expand Down Expand Up @@ -229,8 +229,8 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Run the tests with:

```sh
$ composer test
```shell script
vendor/bin/phpunit
```

## Security
Expand All @@ -239,8 +239,8 @@ If you discover any security related issues, please email open@cybercog.su inste

## Contributors

| <a href="https://github.com/antonkomarev">![@antonkomarev](https://avatars.githubusercontent.com/u/1849174?s=110)<br />Anton Komarev</a> |
| :---: |
| <a href="https://github.com/antonkomarev">![@antonkomarev](https://avatars.githubusercontent.com/u/1849174?s=110)<br />Anton Komarev</a> | <a href="https://github.com/sergiy-petrov">sergiy-petrov</a> |
| :---: | :---: |

[Laravel YouTrack SDK contributors list](../../contributors)

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"require": {
"php": "^7.1",
"cybercog/youtrack-php-sdk": "^4.0",
"illuminate/support": "^5.8|^6.0|^7.0"
"illuminate/support": "^5.8|^6.0|^7.0|^8.0"
},
"require-dev": {
"orchestra/testbench": "^3.8|^4.0|^5.0",
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0",
"phpunit/phpunit": "^7.0|^8.0|^9.0"
},
"autoload": {
Expand Down

0 comments on commit fac99df

Please sign in to comment.