Skip to content

Commit 69ba6f7

Browse files
committed
Merge branch 'develop'
2 parents 9767edc + efc2120 commit 69ba6f7

31 files changed

+189
-122
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.idea
22
/coverage/
33
/vendor/
4-
/var/
5-
!/var/.gitkeep
64

75
composer.lock
86
clover.xml

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ before_install:
1111

1212
script:
1313
- php -v
14-
- vendor/bin/phpcs --standard=psr2 src/ tests/SymfonyRollbarBundle
15-
- vendor/bin/phpunit -c tests
14+
- ./vendor/bin/phpcs --standard=psr2 DependencyInjection/ EventListener/ Provider/ Tests/SymfonyRollbarBundle
15+
- ./vendor/bin/phpunit -c Tests/phpunit.xml.dist
1616

1717
after_success:
1818
- bash <(curl -s https://codecov.io/bash)
File renamed without changes.

README.md

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,18 @@
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
55

66
Bundle for Symfony3 that integrates Rollbar tracker
7+
Docs [here](https://github.com/OxCom/symfony3-rollbar-bundle/tree/master/Resources/doc)
78

8-
# Work in progress
9-
Current realization is used in one of my projects, so You can expect fast reactions on issues, features request and e.t.c.
10-
11-
# Install
12-
1. Add SymfonyRollbarBundle with composer: ``` composer require oxcom/symfony-rollbar-bundle```
13-
2. Register SymfonyRollbarBundle in AppKernel::registerBundles()
14-
```php
15-
public function registerBundles()
16-
{
17-
$bundles = [
18-
// ...
19-
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
20-
// ...
21-
new \SymfonyRollbarBundle\SymfonyRollbarBundle(),
22-
// ...
23-
];
24-
25-
return $bundles;
26-
}
27-
```
28-
3. Setup configuration
29-
```php
30-
symfony_rollbar:
31-
rollbar:
32-
access_token: 'some-secret-token-here'
33-
environment: '%kernel.environment%'
34-
```
35-
36-
More docs [here](https://github.com/OxCom/symfony3-rollbar-bundle/tree/master/docs)
37-
38-
# Test
9+
# Tests
3910
To run test You have to provide an access token and then run test
4011
```bash
4112
$ export ROLLBAR_ACCESS_TOKEN="token here"
42-
$ ./vendor/bin/phpunit -c tests/
13+
$ ./vendor/bin/phpunit -c Tests/phpunit.xml.dist
4314
```
4415

16+
# TODO
17+
- Add integration for [Rollbar.JS](https://rollbar.com/docs/notifier/rollbar.js/)
18+
- More docs
19+
4520
# Bugs and Issues
4621
Please, if You found a bug or something, that is not working properly, contact me and tell what's wrong. It's nice to have an example how to reproduce a bug, or any idea how to fix it in Your request. I'll take care about it ASAP.

0 commit comments

Comments
 (0)