File tree 5 files changed +546
-637
lines changed
5 files changed +546
-637
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ubuntu-20.04
6
6
strategy :
7
7
matrix :
8
- php : [ 7.4, 8.0, 8.1]
8
+ php : [ 8.0, 8.1]
9
9
laravel : [9.*, 8.*, 7.*]
10
10
exclude :
11
- - laravel : 9.*
12
- php : 7.4
13
11
- laravel : 7.*
14
12
php : 8.1
15
13
include :
62
60
token : ${{ secrets.CODECOV_TOKEN }}
63
61
file : ./clover.xml
64
62
65
- - name : send coverage to codacy.com
66
- uses : codacy/codacy-coverage-reporter-action@master
67
- with :
68
- project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
69
- coverage-reports : clover.xml
63
+ # - name: send coverage to codacy.com
64
+ # uses: codacy/codacy-coverage-reporter-action@master
65
+ # with:
66
+ # project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
67
+ # coverage-reports: clover.xml
Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ Automatic HashId generator for your eloquent model.
12
12
13
13
### Version Compatibilities
14
14
15
- | Laravel HashId | PHP Version | Laravel 5.* | Laravel 6.* | Laravel 7.* | Laravel 8.* | Laravel 9.* |
16
- | ---------------- | :---------------------: | :------------------: | :------------------: | :------------------: | :------------------: | :------------------: |
17
- | ` 1.x ` | ` >=7.0 ` | :white_check_mark : | :white_check_mark : | :x : | :x : | :x : |
18
- | ` 2.x ` | ` >=7.2 ` - ` <= 8.0 ` | :x : | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
19
- | ` 3.x ` | ` >=7.4 ` \|\| ` >= 8.0 ` | :x : | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
15
+ | Laravel HashId | PHP Version | Laravel 5.* | Laravel 6.* | Laravel 7.* | Laravel 8.* | Laravel 9.* |
16
+ | ------------------| :----------------------:| :------------------: | :------------------: | :------------------: | :------------------: | :------------------: |
17
+ | ` 1.x ` | ` >=7.0 ` | :white_check_mark : | :white_check_mark : | :x : | :x : | :x : |
18
+ | ` 2.x ` | ` >=7.2 ` - ` <= 8.0 ` | :x : | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
19
+ | ` 3.0 ` | ` >=7.4 ` \ | \| ` >= 8.0 ` | :x : | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
20
+ | ` 3.1 ` | ` >= 8.0 ` | :x : | :white_check_mark : | :white_check_mark : | :white_check_mark : | :white_check_mark : |
20
21
21
22
### Install
22
23
Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " ^7.4 || ^ 8.0" ,
13
+ "php" : " ^8.0" ,
14
14
"hashids/hashids" : " ^4.0" ,
15
15
"illuminate/contracts" : " >=6.18" ,
16
16
"illuminate/config" : " >=6.18" ,
Original file line number Diff line number Diff line change @@ -83,13 +83,13 @@ public function offsetGet($offset): Hashids
83
83
}
84
84
85
85
/** {@inheritdoc} */
86
- public function offsetSet ($ offset , $ value )
86
+ public function offsetSet (mixed $ offset , mixed $ value ): void
87
87
{
88
88
$ this ->set ($ offset , $ value );
89
89
}
90
90
91
91
/** {@inheritdoc} */
92
- public function offsetUnset ($ offset )
92
+ public function offsetUnset (mixed $ offset ): void
93
93
{
94
94
unset($ this ->hashes [$ offset ]);
95
95
}
You can’t perform that action at this time.
0 commit comments