Skip to content

Commit 792e42c

Browse files
authored
[9.x] Split Conditionable into package (#38457)
* [9.x] Split Conditionable into package * Fix issue with 8.x merge
1 parent 908c4e4 commit 792e42c

File tree

8 files changed

+64
-1
lines changed

8 files changed

+64
-1
lines changed

bin/split.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ remote broadcasting [email protected]:illuminate/broadcasting.git
2323
remote bus [email protected]:illuminate/bus.git
2424
remote cache [email protected]:illuminate/cache.git
2525
remote collections [email protected]:illuminate/collections.git
26+
remote conditionable [email protected]:illuminate/conditionable.git
2627
remote config [email protected]:illuminate/config.git
2728
remote console [email protected]:illuminate/console.git
2829
remote container [email protected]:illuminate/container.git
@@ -55,6 +56,7 @@ split 'src/Illuminate/Broadcasting' broadcasting
5556
split 'src/Illuminate/Bus' bus
5657
split 'src/Illuminate/Cache' cache
5758
split 'src/Illuminate/Collections' collections
59+
split 'src/Illuminate/Conditionable' conditionable
5860
split 'src/Illuminate/Config' config
5961
split 'src/Illuminate/Console' console
6062
split 'src/Illuminate/Container' container

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"illuminate/bus": "self.version",
5050
"illuminate/cache": "self.version",
5151
"illuminate/collections": "self.version",
52+
"illuminate/conditionable": "self.version",
5253
"illuminate/config": "self.version",
5354
"illuminate/console": "self.version",
5455
"illuminate/container": "self.version",
@@ -106,7 +107,11 @@
106107
],
107108
"psr-4": {
108109
"Illuminate\\": "src/Illuminate/",
109-
"Illuminate\\Support\\": ["src/Illuminate/Macroable/", "src/Illuminate/Collections/"]
110+
"Illuminate\\Support\\": [
111+
"src/Illuminate/Macroable/",
112+
"src/Illuminate/Collections/",
113+
"src/Illuminate/Conditionable/"
114+
]
110115
}
111116
},
112117
"autoload-dev": {

src/Illuminate/Collections/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
],
1616
"require": {
1717
"php": "^7.4|^8.0",
18+
"illuminate/conditionable": "^9.0",
1819
"illuminate/contracts": "^9.0",
1920
"illuminate/macroable": "^9.0"
2021
},
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Taylor Otwell
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "illuminate/conditionable",
3+
"description": "The Illuminate Conditionable package.",
4+
"license": "MIT",
5+
"homepage": "https://laravel.com",
6+
"support": {
7+
"issues": "https://github.com/laravel/framework/issues",
8+
"source": "https://github.com/laravel/framework"
9+
},
10+
"authors": [
11+
{
12+
"name": "Taylor Otwell",
13+
"email": "[email protected]"
14+
}
15+
],
16+
"require": {
17+
"php": "^7.4|^8.0"
18+
},
19+
"autoload": {
20+
"psr-4": {
21+
"Illuminate\\Support\\": ""
22+
}
23+
},
24+
"extra": {
25+
"branch-alias": {
26+
"dev-master": "9.x-dev"
27+
}
28+
},
29+
"config": {
30+
"sort-packages": true
31+
},
32+
"minimum-stability": "dev"
33+
}

src/Illuminate/Support/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"ext-mbstring": "*",
2020
"doctrine/inflector": "^2.0",
2121
"illuminate/collections": "^9.0",
22+
"illuminate/conditionable": "^9.0",
2223
"illuminate/contracts": "^9.0",
2324
"illuminate/macroable": "^9.0",
2425
"nesbot/carbon": "^2.31",

0 commit comments

Comments
 (0)