Skip to content

Commit

Permalink
Merge pull request #1 from spiral-packages/hotfix/composer
Browse files Browse the repository at this point in the history
Fixes composer dependencies and GH actions
  • Loading branch information
butschster authored Sep 16, 2022
2 parents f9a82f9 + 325700f commit 1b73f79
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 146 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- master
pull_request: null

name: phpunit

jobs:
phpunit:
uses: spiral/gh-actions/.github/workflows/phpunit.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.1', '8.2']
stability: >-
['prefer-stable']
16 changes: 16 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
branches:
- master
pull_request: null

name: static analysis

jobs:
psalm:
uses: spiral/gh-actions/.github/workflows/psalm.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.1']
53 changes: 0 additions & 53 deletions .github/workflows/run-tests.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/static-analysis.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/update-changelog.yml

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"spiral/console": "^3.0"
},
"require-dev": {
"spiral/framework": "^3.0.x-dev",
"phpunit/phpunit": "^9.5",
"spiral/testing": "^2.0",
"vimeo/psalm": "^4.9"
Expand Down
2 changes: 1 addition & 1 deletion src/Config/MaintenanceConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class MaintenanceConfig extends InjectableConfig
{
public const CONFIG = 'maintenance';
protected array $config = [
'default' => '',
'default' => null,
'drivers' => [],
];

Expand Down

0 comments on commit 1b73f79

Please sign in to comment.