Skip to content

Commit

Permalink
prepare version 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Singer committed Oct 6, 2016
1 parent ba74914 commit 6e25a51
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Master
======
1.3
===

2016-10-06

- new method `unwrapInner` (thanks to [@ttk](https://github.com/ttk))

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 Christoph Singer, Web-Agentur 72
Copyright (c) 2016 Christoph Singer, Web-Agentur 72

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
HtmlPageDom
===========

[![Build Status](https://travis-ci.org/wasinger/htmlpagedom.svg?branch=master)](http://travis-ci.org/wasinger/htmlpagedom)
[![Code Coverage](https://scrutinizer-ci.com/g/wasinger/htmlpagedom/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/wasinger/htmlpagedom/?branch=master)
[![Build Status](https://travis-ci.org/wasinger/htmlpagedom.svg?branch=v1.3.0)](http://travis-ci.org/wasinger/htmlpagedom)
[![Code Coverage](https://scrutinizer-ci.com/g/wasinger/htmlpagedom/badges/coverage.png?b=v1.3.0)](https://scrutinizer-ci.com/g/wasinger/htmlpagedom/?branch=v1.3.0)
[![Latest Version](http://img.shields.io/packagist/v/wa72/htmlpagedom.svg)](https://packagist.org/packages/wa72/htmlpagedom)
[![Downloads from Packagist](http://img.shields.io/packagist/dt/wa72/htmlpagedom.svg)](https://packagist.org/packages/wa72/htmlpagedom)

Expand Down
2 changes: 1 addition & 1 deletion Tests/HtmlPageCrawlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function testText()
$this->assertEquals('jklojklo', $c->text());
}

public function testMagic_get()
public function testMagicGet()
{
// $crawler->length should give us the number of nodes in the crawler
$c = HtmlPageCrawler::create('<p>abc</p><p>def</p>');
Expand Down
5 changes: 3 additions & 2 deletions src/HtmlPageCrawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -1098,8 +1098,9 @@ public function isDisconnected()
return ($parent == null || $parent->tagName == self::FRAGMENT_ROOT_TAGNAME);
}

public function __get($name) {
switch($name) {
public function __get($name)
{
switch ($name) {
case 'count':
case 'length':
return count($this);
Expand Down

0 comments on commit 6e25a51

Please sign in to comment.