Skip to content

Commit

Permalink
Update for nette 2.4 and php 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sallyx committed Mar 31, 2020
1 parent c4cec7e commit 7c28300
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions composer.json
Expand Up @@ -10,15 +10,15 @@
}
],
"require": {
"php": ">=5.3.0",
"nette/di": "~2.3",
"nette/bootstrap": "~2.3"
"php": ">=7.1.0",
"nette/di": "~2.4",
"nette/bootstrap": "~2.4"
},
"require-dev": {
"nette/tester": "~1.4.0"
"nette/tester": "~2.3.0"
},
"conflict": {
"nette/nette": "<2.2"
"nette/nette": "<2.4"
},
"autoload": {
"classmap": ["src/"]
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/XmlAdapter.php
Expand Up @@ -14,8 +14,9 @@
/**
* Reading and generating XML files.
*/
class XmlAdapter extends Nette\Object implements Nette\DI\Config\IAdapter
class XmlAdapter implements Nette\DI\Config\IAdapter
{
use \Nette\SmartObject;

const NS = "http://www.sallyx.org/xmlns/nette/config/1.0";

Expand Down
4 changes: 2 additions & 2 deletions tests/php-unix.ini
@@ -1,6 +1,6 @@
[PHP]
;extension_dir = "./ext"
extension=json.so
extension=tokenizer.so
;extension=json.so
;extension=tokenizer.so
[Zend]
;zend_extension="./ext/zend_extension"

0 comments on commit 7c28300

Please sign in to comment.