Skip to content

Commit 8fac7c2

Browse files
authored
feat: Use php sdk 2.0 (#166)
* feat: Use laravel client and options * fix: TestCommand * feat: Use integration instead of overwriting client/options * meta: Change travis to only run on >= 7.1 * fix: php cs * feat: Add version handling * fix: CS * fix: Remove user_context option * feat: Add laravel 5.7 example * fix: Use new SentryHandler for monolog * feat: Add log support * fix: Branch alias * meta: Update readme * fix: php cs * fix: Travis install * fix: php req
1 parent 3257ab3 commit 8fac7c2

File tree

118 files changed

+4047
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+4047
-707
lines changed

.craft.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
minVersion: '0.7.0'
2+
github:
3+
owner: getsentry
4+
repo: sentry-laravel
5+
changelogPolicy: simple
6+
targets:
7+
- name: github
8+
- name: registry
9+
type: sdk
10+
config:
11+
canonical: 'composer:sentry/sentry-laravel'

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ cache:
77
- $HOME/.composer/cache
88

99
php:
10-
- 5.6
11-
- 7.0
1210
- 7.1
1311
- 7.2
1412

@@ -41,7 +39,7 @@ matrix:
4139
before_install:
4240
- composer self-update --stable --no-interaction
4341
- composer remove friendsofphp/php-cs-fixer --dev --no-update
44-
- composer require laravel/framework:$LARAVEL illuminate/support:$LARAVEL orchestra/testbench:$TESTBENCH phpunit/phpunit:$PHPUNIT --no-update --no-interaction --dev
42+
- composer require laravel/framework:$LARAVEL illuminate/support:$LARAVEL orchestra/testbench:$TESTBENCH phpunit/phpunit:$PHPUNIT php-http/curl-client guzzlehttp/psr7 --no-update --no-interaction --dev
4543

4644
install:
4745
- travis_retry composer install --no-suggest --no-interaction

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ update-submodules:
99
git submodule update
1010

1111
cs:
12-
vendor/bin/php-cs-fixer fix --config-file=.php_cs --verbose --diff
12+
vendor/bin/php-cs-fixer fix --config=.php_cs --verbose --diff
1313

1414
cs-dry-run:
15-
vendor/bin/php-cs-fixer fix --config-file=.php_cs --verbose --diff --dry-run
15+
vendor/bin/php-cs-fixer fix --config=.php_cs --verbose --diff --dry-run
1616

1717
test:
1818
vendor/bin/phpunit

0 commit comments

Comments
 (0)