forked from getsentry/sentry-php
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize fork of a library and changes for compatibility with php52.
- Loading branch information
Andrea Giannantonio
committed
Mar 23, 2017
1 parent
7b541b0
commit cbdb640
Showing
9 changed files
with
83 additions
and
37 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,15 @@ | ||
# http:https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
tab_width = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,3 +1,8 @@ | ||
1.8.0 | ||
----- | ||
|
||
- Changes for compatibility with php5.2 | ||
|
||
1.7.0 | ||
----- | ||
|
||
|
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,26 +1,27 @@ | ||
sentry-php | ||
========== | ||
immobiliare/sentry-php | ||
====================== | ||
|
||
.. image:: https://secure.travis-ci.org/getsentry/sentry-php.png?branch=master | ||
:target: http:https://travis-ci.org/getsentry/sentry-php | ||
|
||
|
||
The official PHP SDK for `Sentry <https://getsentry.com/>`_. | ||
This project is a fork of official PHP SDK v1.7.0 for `Sentry <https://getsentry.com/>`_ to work even with php5.2. | ||
|
||
.. code-block:: php | ||
// Instantiate a new client with a compatible DSN and install built-in | ||
// handlers | ||
$client = (new Raven_Client('http:https://public:[email protected]/1'))->install(); | ||
$sentryClient = new Raven_Client('https://e9ebbd88548a441288393c457ec90441:[email protected]/3235'); | ||
$sentryClient->install(); | ||
// Capture an exception | ||
$event_id = $client->captureException($ex); | ||
$event_id = $sentryClient->captureException($ex); | ||
// Give the user feedback | ||
echo "Sorry, there was an error!"; | ||
echo "Your reference ID is " . $event_id; | ||
For more information, see our `documentation <https://docs.getsentry.com/hosted/clients/php/>`_. | ||
For more information, see the `documentation <https://docs.getsentry.com/hosted/clients/php/>`_. | ||
|
||
|
||
Contributing | ||
|
@@ -44,7 +45,5 @@ Resources | |
--------- | ||
|
||
* `Documentation <https://docs.getsentry.com/hosted/clients/php/>`_ | ||
* `Bug Tracker <http:https://github.com/getsentry/sentry-php/issues>`_ | ||
* `Code <http:https://github.com/getsentry/sentry-php>`_ | ||
* `Mailing List <https://groups.google.com/group/getsentry>`_ | ||
* `IRC <irc:https://irc.freenode.net/sentry>`_ (irc.freenode.net, #sentry) | ||
* `Bug Tracker <http:https://github.com/immobiliare/sentry-php/issues>`_ | ||
* `Code <http:https://github.com/immobiliare/sentry-php>`_ |
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,14 +1,18 @@ | ||
{ | ||
"name": "sentry/sentry", | ||
"name": "immobiliare/sentry-php", | ||
"type": "library", | ||
"description": "A PHP client for Sentry (http:https://getsentry.com)", | ||
"keywords": ["log", "logging"], | ||
"homepage": "http:https://getsentry.com", | ||
"description": "Fork of a PHP client for Sentry (http:https://getsentry.com) that work also with php5.2", | ||
"keywords": ["log", "logging", "sentry", "sentry-php", "php52", "php 5.2"], | ||
"homepage": "https:https://github.com/immobiliare/sentry-php", | ||
"license": "BSD-3-Clause", | ||
"authors": [ | ||
{ | ||
"name": "David Cramer", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "ImmobiliareLabs", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require-dev": { | ||
|
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
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