Skip to content

Commit

Permalink
feat: Use php sdk 2.0 (#166)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
HazAT authored Jan 15, 2019
1 parent 3257ab3 commit 8fac7c2
Show file tree
Hide file tree
Showing 118 changed files with 4,047 additions and 707 deletions.
11 changes: 11 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
minVersion: '0.7.0'
github:
owner: getsentry
repo: sentry-laravel
changelogPolicy: simple
targets:
- name: github
- name: registry
type: sdk
config:
canonical: 'composer:sentry/sentry-laravel'
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ cache:
- $HOME/.composer/cache

php:
- 5.6
- 7.0
- 7.1
- 7.2

Expand Down Expand Up @@ -41,7 +39,7 @@ matrix:
before_install:
- composer self-update --stable --no-interaction
- composer remove friendsofphp/php-cs-fixer --dev --no-update
- composer require laravel/framework:$LARAVEL illuminate/support:$LARAVEL orchestra/testbench:$TESTBENCH phpunit/phpunit:$PHPUNIT --no-update --no-interaction --dev
- 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

install:
- travis_retry composer install --no-suggest --no-interaction
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ update-submodules:
git submodule update

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

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

test:
vendor/bin/phpunit
Expand Down
Loading

0 comments on commit 8fac7c2

Please sign in to comment.