-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from msmakouz/update-ci
Removing framework, adding CI, updating readme
- Loading branch information
Showing
11 changed files
with
95 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- 2.0 | ||
|
||
name: phpunit | ||
|
||
jobs: | ||
phpunit: | ||
uses: spiral/gh-actions/.github/workflows/phpunit.yml@master | ||
with: | ||
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.1', '8.2'] | ||
stability: >- | ||
['prefer-lowest', 'prefer-stable'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- 2.0 | ||
|
||
name: static analysis | ||
|
||
jobs: | ||
psalm: | ||
uses: spiral/gh-actions/.github/workflows/psalm.yml@master | ||
with: | ||
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.1'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
Sentry Exception Handler for Spiral | ||
================================ | ||
[![Latest Stable Version](https://poser.pugx.org/spiral/sentry-bridge/version)](https://packagist.org/packages/spiral/sentry-bridge) | ||
[![Build Status](https://travis-ci.org/spiral/sentry-bridge.svg?branch=master)](https://travis-ci.org/spiral/sentry-bridge) | ||
# Sentry Exception Handler for Spiral | ||
|
||
[![PHP Version Require](https://poser.pugx.org/spiral/sentry-bridge/require/php)](https://packagist.org/packages/spiral/sentry-bridge) | ||
[![Latest Stable Version](https://poser.pugx.org/spiral/sentry-bridge/v/stable)](https://packagist.org/packages/spiral/sentry-bridge) | ||
[![phpunit](https://github.com/spiral/sentry-bridge/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/sentry-bridge/actions) | ||
[![psalm](https://github.com/spiral/sentry-bridge/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/sentry-bridge/actions) | ||
[![Codecov](https://codecov.io/gh/spiral/sentry-bridge/branch/master/graph/badge.svg)](https://codecov.io/gh/spiral/sentry-bridge/) | ||
[![Total Downloads](https://poser.pugx.org/spiral/sentry-bridge/downloads)](https://packagist.org/packages/spiral/sentry-bridge) | ||
[![type-coverage](https://shepherd.dev/github/spiral/sentry-bridge/coverage.svg)](https://shepherd.dev/github/spiral/sentry-bridge) | ||
[![psalm-level](https://shepherd.dev/github/spiral/sentry-bridge/level.svg)](https://shepherd.dev/github/spiral/sentry-bridge) | ||
|
||
<b>[Documentation](https://spiral.dev/docs/extension-sentry)</b> | [Framework Bundle](https://github.com/spiral/framework) | ||
|
||
## License: | ||
|
||
MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
errorLevel="2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
> | ||
<projectFiles> | ||
<directory name="src"/> | ||
<ignoreFiles> | ||
<directory name="tests"/> | ||
<directory name="vendor"/> | ||
</ignoreFiles> | ||
</projectFiles> | ||
<issueHandlers> | ||
<UndefinedAttributeClass> | ||
<errorLevel type="suppress"> | ||
<referencedClass name="JetBrains\PhpStorm\ExpectedValues"/> | ||
<referencedClass name="JetBrains\PhpStorm\ArrayShape"/> | ||
</errorLevel> | ||
</UndefinedAttributeClass> | ||
</issueHandlers> | ||
</psalm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
<?php | ||
|
||
/** | ||
* Spiral Framework. | ||
* | ||
* @license MIT | ||
* @author Anton Titov (Wolfy-J) | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Spiral\Tests\Sentry; | ||
|
@@ -40,7 +33,7 @@ public function testBootloader(): void | |
'dsn' => 'test' | ||
]); | ||
|
||
(new BootloadManager($c, new Initializer($c)))->bootload([SentryBootloader::class]); | ||
(new BootloadManager($c, $c, $c, new Initializer($c, $c)))->bootload([SentryBootloader::class]); | ||
|
||
$c->bind(SentryConfig::class, new SentryConfig([ | ||
'dsn' => 'https://[email protected]/2' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters