Skip to content

Commit

Permalink
PHP 5.6 is the new minimum version (it was PHP 7).
Browse files Browse the repository at this point in the history
* Internal cleanup.
  • Loading branch information
daniele-orlando committed Dec 17, 2015
1 parent bc107a0 commit 73e2b50
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions documents/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.6:
* PHP 5.6 is the new minimum version (it was PHP 7).
* Internal cleanup.

1.5:
* Supports for importing XML documents from:
- String
Expand Down
3 changes: 2 additions & 1 deletion documents/Examples.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
// 'stylesheet' => null ]; // An url pointing to an XSL file.

$booksheet = new FluidXml('book', ['stylesheet' => 'http://domain.com/style.xsl']);

// With PHP 7 this is valid too:
// $booksheet = FluidXml::new('book', ['stylesheet' => 'http://domain.com/style.xsl']);

$book->setAttribute('type', 'science') // It sets an attribute of the root node ('book').
->appendChild([ 'title' => 'The Theory Of Everything',
Expand Down
4 changes: 2 additions & 2 deletions documents/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In every described situation FluidXML performs better in every way.

First of all, depending the method you have chosen to install FluidXML, you have two<br/>
options to include the library.
* If you have cloned the repository, copy the `source/FluidXml.php` in your PHP<br/>
* If you have cloned the repository, copy the `source/FluidXml.php*` files in your PHP<br/>
project and include it:
```php
require_once 'FluidXml.php';
Expand Down Expand Up @@ -80,7 +80,7 @@ Our XML document now has a root node called `<book/>`.
> ```
> **Pro Tip**:<br/>
> The Ruby object construction style is supported too.
> The Ruby object construction style is supported too with PHP 7.
> ```php
> $doc = FluidXml::new('book', [/* options */]);
> ```
Expand Down
7 changes: 3 additions & 4 deletions documents/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ If it's not enough, it has a comprehensive test suite with a **100% code coverag


## Requirements
* PHP 7
* _For PHP 5.6 see the [RoadMap](#roadmap)_
* PHP 5.6


## Installation
Expand Down Expand Up @@ -191,9 +190,9 @@ your immense gratitude **♡**, donate _1cent_.


## Roadmap
* [x] Porting the XML namespace implementation from the legacy FluidXML codebase
* [+] Porting the XML namespace implementation from the legacy FluidXML codebase
* [ ] Expanding the APIs
* [ ] PHP 5.6 backport
* [+] PHP 5.6 backport
* [ ] Extending the documentation

<a href='https://pledgie.com/campaigns/30607'>
Expand Down

0 comments on commit 73e2b50

Please sign in to comment.