Skip to content

Commit

Permalink
drop laravel 5
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Mar 20, 2024
1 parent 02795e4 commit 5777989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
php: [ 8.2, 8.1, 8.0, 7.4 ]
laravel: [ 11.*, 10.*, 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.5.* ]
laravel: [ 11.*, 10.*, 9.*, 8.*, 7.*, 6.*]
dependency-version: [ prefer-stable ]
os: [ ubuntu-latest ]
include:
Expand All @@ -31,23 +31,7 @@ jobs:
testbench: 5.*
- laravel: 6.*
testbench: 4.*
- laravel: 5.8.*
testbench: 3.*
- laravel: 5.5.*
testbench: 3.*
exclude:
- laravel: 5.5.*
php: 8
- laravel: 5.5.*
php: 8.1
- laravel: 5.5.*
php: 8.2
- laravel: 5.8.*
php: 8
- laravel: 5.8.*
php: 8.1
- laravel: 5.8.*
php: 8.2
- laravel: 6.*
php: 8
- laravel: 6.*
Expand Down
2 changes: 1 addition & 1 deletion src/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ public static function dataJuliano($date, $format = 'Y-m-d')
*/
public static function fatorVencimentoBack($factor, $format = 'Y-m-d')
{
$date = Carbon::create(1997, 10, 7, 0, 0, 0)->addDays($factor);
$date = Carbon::create(1997, 10, 7, 0, 0, 0)->addDays((int) $factor);

return $format ? $date->format($format) : $date;
}
Expand Down

0 comments on commit 5777989

Please sign in to comment.