Skip to content

Commit

Permalink
Improve typehint & match styleguide (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b authored Jan 28, 2021
1 parent 6b56680 commit 6481386
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 80 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A lightweight and dependency free CSS to XPath translator. This repository is us
<a href="https://packagist.org/packages/PhpGt/CssXPath" target="_blank">
<img src="https://badge.status.php.gt/cssxpath-version.svg" alt="Current version" />
</a>
<a href="http://www.php.gt/dom" target="_blank">
<a href="http://www.php.gt/cssxpath" target="_blank">
<img src="https://badge.status.php.gt/cssxpath-docs.svg" alt="PHP.Gt/CssXPath documentation" />
</a>

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",

"require": {
"php": ">=7.2"
"php": ">=7.4"
},

"require-dev": {
Expand Down
41 changes: 22 additions & 19 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/CssXPathException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
namespace Gt\CssXPath;

use RuntimeException;

class CssXPathException extends RuntimeException {}
4 changes: 4 additions & 0 deletions src/NotYetImplementedException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
namespace Gt\CssXPath;

class NotYetImplementedException extends CssXPathException {}
Loading

0 comments on commit 6481386

Please # to comment.