@@ -23,15 +23,15 @@ PHP library for handling exceptions and errors.
23
23
24
24
---
25
25
26
- ### Requirements
26
+ ## Requirements
27
27
28
- This library is supported by ` PHP versions 5.6 ` or higher and is compatible with ` HHVM versions 3.0 ` or higher.
28
+ This library is supported by ** PHP versions 5.6** or higher and is compatible with ** HHVM versions 3.0** or higher.
29
29
30
- ### Installation
30
+ ## Installation
31
31
32
32
The preferred way to install this extension is through [ Composer] ( http://getcomposer.org/download/ ) .
33
33
34
- To install ` PHP ErrorHandler library ` , simply:
34
+ To install ** PHP ErrorHandler library** , simply:
35
35
36
36
$ composer require Josantonius/ErrorHandler
37
37
@@ -49,11 +49,11 @@ Or **install it manually**:
49
49
50
50
$ wget https://raw.githubusercontent.com/Josantonius/PHP-ErrorHandler/master/src/ErrorHandler.php
51
51
52
- ### Available Methods
52
+ ## Available Methods
53
53
54
54
Available methods in this library:
55
55
56
- ` Set customs methods to renderizate: `
56
+ ### - Set customs methods to renderizate:
57
57
58
58
``` php
59
59
ErrorHandler::setCustomMethod($class, $method, $repeat, $default);
@@ -68,25 +68,25 @@ ErrorHandler::setCustomMethod($class, $method, $repeat, $default);
68
68
69
69
** # Return** (void)
70
70
71
- ### Quick Start
71
+ ## Quick Start
72
72
73
- To use this class with ` Composer ` :
73
+ To use this class with ** Composer** :
74
74
75
75
``` php
76
76
require __DIR__ . '/vendor/autoload.php';
77
77
78
78
use Josantonius\ErrorHandler\ErrorHandler;
79
79
```
80
80
81
- Or If you installed it ` manually ` , use it:
81
+ Or If you installed it ** manually** , use it:
82
82
83
83
``` php
84
84
require_once __DIR__ . '/ErrorHandler.php';
85
85
86
86
use Josantonius\ErrorHandler\ErrorHandler;
87
87
```
88
88
89
- ### Usage
89
+ ## Usage
90
90
91
91
Example of use for this library:
92
92
@@ -121,7 +121,7 @@ $default = true;
121
121
ErrorHandler::SetCustomMethod($class, $method, $times, $default);
122
122
```
123
123
124
- ### Tests
124
+ ## Tests
125
125
126
126
To run [ tests] ( tests ) you just need [ Composer] ( http://getcomposer.org/download/ ) and to execute the following:
127
127
@@ -143,19 +143,19 @@ Run all previous tests:
143
143
144
144
$ composer tests
145
145
146
- ### Images
146
+ ## Images
147
147
148
148
![ image] ( resources/images/exception.png )
149
149
![ image] ( resources/images/error.png )
150
150
![ image] ( resources/images/notice.png )
151
151
![ image] ( resources/images/warning.png )
152
152
153
- ### ☑ TODO
153
+ ## ☑ TODO
154
154
155
155
- [x] Create tests
156
156
- [x] Improve documentation
157
157
158
- ### Contribute
158
+ ## Contribute
159
159
160
160
1 . Check for open issues or open a new issue to start a discussion around a bug or feature.
161
161
1 . Fork the repository on GitHub to start making your changes.
@@ -165,15 +165,15 @@ Run all previous tests:
165
165
166
166
This is intended for large and long-lived objects.
167
167
168
- ### Repository
168
+ ## Repository
169
169
170
170
All files in this repository were created and uploaded automatically with [ Reposgit Creator] ( https://github.com/Josantonius/BASH-Reposgit ) .
171
171
172
- ### License
172
+ ## License
173
173
174
174
This project is licensed under ** MIT license** . See the [ LICENSE] ( LICENSE ) file for more info.
175
175
176
- ### Copyright
176
+ ## Copyright
177
177
178
178
2016 - 2017 Josantonius, [ josantonius.com] ( https://josantonius.com/ )
179
179
0 commit comments