Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Sep 16, 2024
1 parent 50aaa63 commit 3e32f40
Show file tree
Hide file tree
Showing 8 changed files with 288 additions and 320 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,22 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Cache PHPStan cache
uses: actions/cache@v4
id: phpstan-cache
with:
path: storage/tmp/phpstan
key: ${{ runner.os }}-phpstan-${{ github.ref }}-${{ hashFiles('phpstan.neon') }}
restore-keys: |
${{ runner.os }}-phpstan-${{ github.ref }}-
${{ runner.os }}-phpstan-
- name: Run PHPStan
run: |
cp .env.testing.template .env.testing
composer phpstan:ci
env:
APP_ENV: 'testing'
timeout-minutes: 15

security:
name: security
Expand Down
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
$config = new PhpCsFixer\Config;

$config
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setRules([
'@Symfony' => true,

Expand Down
2 changes: 1 addition & 1 deletion app/TrendsProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TrendsProvider
*
* @var \Illuminate\Support\Collection|null
*/
private ?Collection $data;
private ?Collection $data = null;

/**
* TrendsQuery constructor.
Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@
"google/cloud-bigquery": "1.30.*",
"guzzlehttp/guzzle": "7.9.*",
"laracasts/utilities": "3.2.*",
"laravel/framework": "11.20.*",
"laravel/framework": "11.23.*",
"laravel/helpers": "1.7.*",
"laravel/horizon": "5.27.*",
"laravel/horizon": "5.28.*",
"laravel/tinker": "2.9.*",
"sentry/sentry-laravel": "4.7.*",
"statview/satellite": "1.3.*",
"sentry/sentry-laravel": "4.8.*",
"stayallive/laravel-eloquent-uuid": "1.0.*"
},
"require-dev": {
"barryvdh/laravel-debugbar": "3.13.*",
"barryvdh/laravel-ide-helper": "3.1.*",
"friendsofphp/php-cs-fixer": "3.62.*",
"friendsofphp/php-cs-fixer": "3.64.*",
"larastan/larastan": "2.9.*",
"nunomaduro/collision": "8.4.*",
"wnx/laravel-stats": "2.13.*"
Expand Down Expand Up @@ -75,7 +74,7 @@
"phpcs": "vendor/bin/php-cs-fixer fix",
"phpcs:ci": "vendor/bin/php-cs-fixer fix --dry-run --diff",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=2G",
"phpstan:ci": "vendor/bin/phpstan analyse --memory-limit=2G --error-format github",
"phpstan:ci": "vendor/bin/phpstan analyse --memory-limit=2G --error-format=github",
"generate:ide": [
"@php artisan ide-helper:meta"
]
Expand Down
Loading

0 comments on commit 3e32f40

Please sign in to comment.