Skip to content

Commit a615548

Browse files
committed
changelog, PHP7 notice
1 parent d631d46 commit a615548

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ using Slim and has nice features like SASS-compiling, Twig etc.
3939

4040
## Requirements
4141

42-
- PHP 5.3.0+
42+
- PHP 5.3.0+, works fine with current stable versions PHP 5.6 and 7.0
4343
- MySQL
4444
- mod_rewrite activated (tutorials below, but there's also [TINY](https://github.com/panique/tiny), a mod_rewrite-less
4545
version of MINI)
@@ -135,6 +135,13 @@ echo Helper::debugPDO($sql, $parameters);
135135
$query->execute($parameters);
136136
```
137137

138+
## Why has the *Error* class been renamed to *Problem*?
139+
140+
The project was written in PHP5 times, but with the release of PHP7 it's not possible anymore to name a class
141+
"Error" as PHP itself has a internal Error class now. Renaming was the most simple solution, compared to other
142+
options like "ErrorController" etc. which would add new problems like uppercase filenames etc. (which will not
143+
work properly on some setups).
144+
138145
## License
139146

140147
This project is licensed under the MIT License.
@@ -258,8 +265,11 @@ Please commit into the develop branch (which holds the in-development version),
258265

259266
## Changelog
260267

261-
**February 2015**
268+
**August 2016**
269+
- [codebicycle/panique] renamed Error class to Problem to make it PHP7 compatible #209
270+
- [ynohtna92/panique] URL protocol is now protocol-independent #208
262271

272+
**February 2015**
263273
- [jeroenseegers] nginx setup configuration
264274

265275
**December 2014**

0 commit comments

Comments
 (0)