Skip to content

Commit 52c833f

Browse files
committed
Patch 1.
* Fixed: Missing comma's in friendlyErrorCode map array.
1 parent 2d6481b commit 52c833f

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

CHANGES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
#### [Version 0.1.0 Beta](https://github.com/ForallFramework/events.package/tree/0.1.0-beta)
1+
#### [Version 0.1.1 Beta](https://github.com/ForallFramework/events.package/tree/0.1.1-beta)
22
_20-Aug-2013_
33

4+
* Fixed: Missing comma's in friendlyErrorCode map array.
5+
6+
#### [Version 0.1.0 Beta](https://github.com/ForallFramework/events.package/tree/0.1.0-beta)
7+
48
* Now uses the forall.loader package for initialization.
59
* Added new methods in Debug:
610
- `type()` - Get the type of a variable.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Debug - Version 0.1.0 Beta
1+
# Debug - Version 0.1.1 Beta
22

33
## Description
44

src/forall/debug/Debug.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ public function friendlyErrorCode($code)
5454
{
5555

5656
return array_search($code, [
57-
'ERROR' => E_ERROR
58-
'WARNING' => E_WARNING
59-
'PARSING ERROR' => E_PARSE
60-
'NOTICE' => E_NOTICE
61-
'CORE ERROR' => E_CORE_ERROR
62-
'CORE WARNING' => E_CORE_WARNING
63-
'COMPILE ERROR' => E_COMPILE_ERROR
64-
'COMPILE WARNING' => E_COMPILE_WARNING
65-
'USER ERROR' => E_USER_ERROR
66-
'USER WARNING' => E_USER_WARNING
67-
'USER NOTICE' => E_USER_NOTICE
68-
'STRICT NOTICE' => E_STRICT
57+
'ERROR' => E_ERROR,
58+
'WARNING' => E_WARNING,
59+
'PARSING ERROR' => E_PARSE,
60+
'NOTICE' => E_NOTICE,
61+
'CORE ERROR' => E_CORE_ERROR,
62+
'CORE WARNING' => E_CORE_WARNING,
63+
'COMPILE ERROR' => E_COMPILE_ERROR,
64+
'COMPILE WARNING' => E_COMPILE_WARNING,
65+
'USER ERROR' => E_USER_ERROR,
66+
'USER WARNING' => E_USER_WARNING,
67+
'USER NOTICE' => E_USER_NOTICE,
68+
'STRICT NOTICE' => E_STRICT,
6969
'RECOVERABLE ERROR' => E_RECOVERABLE_ERROR
7070
]);
7171

0 commit comments

Comments
 (0)