Skip to content

Commit 741d47c

Browse files
committed
chore: Upgrade to Laravel 10
Signed-off-by: Bruno Gaspar <[email protected]>
1 parent 11d84ed commit 741d47c

File tree

95 files changed

+246
-212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+246
-212
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 8.0
54
- 8.1
65

76
cache:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### v7.0.0 - TBA
4+
5+
- Add Laravel 10 support
6+
37
### v6.0.0 - 2022-04-06
48

59
- Add Laravel 9 support

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The BSD 3-Clause License
2-
Copyright (c) 2011-2022, Cartalyst LLC
2+
Copyright (c) 2011-2023, Cartalyst LLC
33
All rights reserved.
44

55
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
[![Latest Version on Packagist][icon-version]][link-packagist]
66
[![Total Downloads][icon-downloads]][link-packagist]
77

8-
Sentinel is a PHP 7.3+ framework agnostic fully-featured authentication & authorization system. It also provides additional features such as user roles and additional security features.
8+
Sentinel is a PHP 8.1+ framework agnostic fully-featured authentication & authorization system. It also provides additional features such as user roles and additional security features.
99

1010
An open source package by [Cartalyst](https://cartalyst.com), code well, rock on!
1111

1212
## Version Matrix
1313

1414
Version | Laravel | PHP Version
1515
------- | --------- | ------------
16+
7.x | 10.0 | >= 8.1
1617
6.x | 9.0 | >= 8.0
1718
5.x | 8.0 | >= 7.3
1819
4.x | 7.0 | >= 7.2.5
@@ -46,7 +47,7 @@ This software is released under the [BSD 3-Clause](LICENSE) License.
4647
[link-license]: https://opensource.org/licenses/MIT
4748
[link-packagist]: https://packagist.org/packages/cartalyst/sentinel
4849

49-
[icon-travis]: https://travis-ci.com/cartalyst/sentinel.svg?branch=5.x
50+
[icon-travis]: https://travis-ci.com/cartalyst/sentinel.svg?branch=7.x
5051
[icon-license]: https://poser.pugx.org/cartalyst/sentinel/license
5152
[icon-version]: https://poser.pugx.org/cartalyst/sentinel/version
5253
[icon-downloads]: https://poser.pugx.org/cartalyst/sentinel/downloads

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^8.0",
21-
"cartalyst/support": "^6.0",
22-
"illuminate/support": "^9.0"
20+
"php": "^8.1",
21+
"cartalyst/support": "^7.0",
22+
"illuminate/support": "^10.0"
2323
},
2424
"require-dev": {
2525
"cartalyst/php-cs-fixer-config": "^2.0",
26-
"illuminate/cookie": "^9.0",
27-
"illuminate/database": "^9.0",
28-
"illuminate/events": "^9.0",
29-
"illuminate/http": "^9.0",
30-
"illuminate/session": "^9.0",
26+
"illuminate/cookie": "^10.0",
27+
"illuminate/database": "^10.0",
28+
"illuminate/events": "^10.0",
29+
"illuminate/http": "^10.0",
30+
"illuminate/session": "^10.0",
3131
"mockery/mockery": "^1.0",
3232
"phpunit/phpunit": "^9.0"
3333
},
@@ -54,7 +54,7 @@
5454
"extra": {
5555
"component": "package",
5656
"branch-alias": {
57-
"dev-master": "6.0.x-dev"
57+
"dev-master": "7.0.x-dev"
5858
},
5959
"laravel": {
6060
"providers": [
@@ -70,6 +70,6 @@
7070
"scripts": {
7171
"cs:check": "./vendor/bin/php-cs-fixer fix --verbose --ansi --show-progress=estimating --diff --dry-run --config .php_cs.php",
7272
"cs:fix": "./vendor/bin/php-cs-fixer fix --verbose --ansi --show-progress=estimating --config .php_cs.php",
73-
"test": "./vendor/bin/phpunit --verbose --colors=always"
73+
"test": "./vendor/bin/phpunit --colors=always"
7474
}
7575
}

src/Activations/ActivationInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* bundled with this package in the LICENSE file.
1212
*
1313
* @package Sentinel
14-
* @version 6.0.0
14+
* @version 7.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2022, Cartalyst LLC
17+
* @copyright (c) 2011-2023, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/Activations/ActivationRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* bundled with this package in the LICENSE file.
1212
*
1313
* @package Sentinel
14-
* @version 6.0.0
14+
* @version 7.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2022, Cartalyst LLC
17+
* @copyright (c) 2011-2023, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/Activations/EloquentActivation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* bundled with this package in the LICENSE file.
1212
*
1313
* @package Sentinel
14-
* @version 6.0.0
14+
* @version 7.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2022, Cartalyst LLC
17+
* @copyright (c) 2011-2023, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/Activations/IlluminateActivationRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* bundled with this package in the LICENSE file.
1212
*
1313
* @package Sentinel
14-
* @version 6.0.0
14+
* @version 7.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2022, Cartalyst LLC
17+
* @copyright (c) 2011-2023, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/Checkpoints/ActivationCheckpoint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* bundled with this package in the LICENSE file.
1212
*
1313
* @package Sentinel
14-
* @version 6.0.0
14+
* @version 7.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2022, Cartalyst LLC
17+
* @copyright (c) 2011-2023, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

0 commit comments

Comments
 (0)