Skip to content

Commit 6481386

Browse files
author
Greg Bowler
authored
Improve typehint & match styleguide (#69)
1 parent 6b56680 commit 6481386

6 files changed

Lines changed: 137 additions & 80 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A lightweight and dependency free CSS to XPath translator. This repository is us
1717
<a href="https://packagist.org/packages/PhpGt/CssXPath" target="_blank">
1818
<img src="https://badge.status.php.gt/cssxpath-version.svg" alt="Current version" />
1919
</a>
20-
<a href="http://www.php.gt/dom" target="_blank">
20+
<a href="http://www.php.gt/cssxpath" target="_blank">
2121
<img src="https://badge.status.php.gt/cssxpath-docs.svg" alt="PHP.Gt/CssXPath documentation" />
2222
</a>
2323

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "library",
55

66
"require": {
7-
"php": ">=7.2"
7+
"php": ">=7.4"
88
},
99

1010
"require-dev": {

composer.lock

Lines changed: 22 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/CssXPathException.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
namespace Gt\CssXPath;
3+
4+
use RuntimeException;
5+
6+
class CssXPathException extends RuntimeException {}

src/NotYetImplementedException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
namespace Gt\CssXPath;
3+
4+
class NotYetImplementedException extends CssXPathException {}

0 commit comments

Comments
 (0)