Skip to content

Commit df34ce8

Browse files
committed
chore: Upgrade to Laravel 11
Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
1 parent 07651fc commit df34ce8

18 files changed

+70
-69
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ language: php
33
dist: bionic
44

55
php:
6-
- 8.1
6+
- 8.2
7+
- 8.3
78

89
cache:
910
directories:

CHANGELOG.md

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

3+
### v14.0.0 - TBA
4+
5+
- Add Laravel 11 support
6+
37
### v13.0.0 - 2023-02-17
48

59
- Add Laravel 10 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-2023, Cartalyst LLC
2+
Copyright (c) 2011-2024, 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
@@ -12,7 +12,8 @@ An open source package by [Cartalyst](https://cartalyst.com), code well, rock on
1212
## Version Matrix
1313

1414
Version | Laravel | PHP Version
15-
------- | --------- | ------------
15+
------- |-----------| ------------
16+
14.x | 11.x | >= 8.2
1617
13.x | 10.x | >= 8.1
1718
12.x | 9.x | >= 8.0
1819
11.x | 8.x | >= 7.3
@@ -53,7 +54,7 @@ This software is released under the [BSD 3-Clause](LICENSE) License.
5354
[link-license]: https://opensource.org/licenses/MIT
5455
[link-packagist]: https://packagist.org/packages/cartalyst/tags
5556

56-
[icon-travis]: https://travis-ci.com/cartalyst/tags.svg?branch=13.x
57+
[icon-travis]: https://travis-ci.com/cartalyst/tags.svg?branch=14.x
5758
[icon-license]: https://poser.pugx.org/cartalyst/tags/license
5859
[icon-version]: https://poser.pugx.org/cartalyst/tags/version
5960
[icon-downloads]: https://poser.pugx.org/cartalyst/tags/downloads

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1",
20-
"illuminate/database": "^10.0"
19+
"php": "^8.2",
20+
"illuminate/database": "^11.0"
2121
},
2222
"require-dev": {
2323
"cartalyst/php-cs-fixer-config": "^2.0",
2424
"mockery/mockery": "^1.0",
25-
"orchestra/testbench": "^8.0",
26-
"phpunit/phpunit": "^9.0"
25+
"orchestra/testbench": "^9.0",
26+
"phpunit/phpunit": "^10.0"
2727
},
2828
"autoload": {
2929
"psr-4": {
@@ -43,7 +43,7 @@
4343
"extra": {
4444
"component": "package",
4545
"branch-alias": {
46-
"dev-master": "13.0.x-dev"
46+
"dev-master": "14.0.x-dev"
4747
},
4848
"laravel": {
4949
"providers": [

phpunit.dist.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
4+
backupGlobals="false"
5+
backupStaticProperties="false"
6+
beStrictAboutTestsThatDoNotTestAnything="true"
7+
beStrictAboutOutputDuringTests="true"
8+
bootstrap="vendor/autoload.php"
9+
cacheResult="false"
10+
colors="true"
11+
failOnRisky="true"
12+
failOnWarning="true"
13+
processIsolation="false"
14+
stopOnError="false"
15+
stopOnFailure="false"
16+
>
17+
<testsuites>
18+
<testsuite name="Tags Package Test Suite">
19+
<directory suffix="Test.php">./tests/</directory>
20+
</testsuite>
21+
</testsuites>
22+
<logging>
23+
<junit outputFile="./build/report.junit.xml"/>
24+
</logging>
25+
<source>
26+
<include>
27+
<directory suffix=".php">./src/</directory>
28+
</include>
29+
<exclude>
30+
<file>./src/TagsServiceProvider.php</file>
31+
</exclude>
32+
</source>
33+
</phpunit>

phpunit.xml

Lines changed: 0 additions & 38 deletions
This file was deleted.

resources/migrations/2014_10_29_202547_migration_cartalyst_tags_create_tables.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/IlluminateTag.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/IlluminateTagged.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/TaggableInterface.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/TaggableTrait.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

src/TagsServiceProvider.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

tests/FunctionalTestCase.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

tests/IlluminateTagTest.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

tests/Stubs/Post.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

tests/Stubs/Post2.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

tests/TaggableTraitTest.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 Tags
14-
* @version 13.0.0
14+
* @version 14.0.0
1515
* @author Cartalyst LLC
1616
* @license BSD License (3-clause)
17-
* @copyright (c) 2011-2023, Cartalyst LLC
17+
* @copyright (c) 2011-2024, Cartalyst LLC
1818
* @link https://cartalyst.com
1919
*/
2020

0 commit comments

Comments
 (0)