Skip to content

Releases: hexydec/tokenise

Tokenise v1.0.4

Choose a tag to compare

@hexydec hexydec released this 04 May 14:29
49b48eb

This is a maintenance release:

  • Marked tokenise::next() and tokenise::current() as impure
  • Added phpstan.neon
  • Updated workflow to run PHPstan and PHPunit
  • Upgraded workflow to fix caching issues and codecov, upgraded PHP to 8.4
  • Update dependencies

Tokenise v1.0.3

Choose a tag to compare

@hexydec hexydec released this 15 Jul 16:13

This is a bug fix and maintenance release:

  • Fixed bug in tokenise::next() where an argument specified null as the default value, but didn't allow it in the type definition
  • Updated dependencies.

Tokenise v1.0.2

Choose a tag to compare

@hexydec hexydec released this 17 Sep 19:52

This is a maintenance release that improves documentation and syntax:

  • Updated support information to PHP 8.1+
  • Improved and optimised syntax
  • Updated readme.md
  • Fixed PHPstan issues
  • Updated dependencies

Tokenise v1.0.1

Choose a tag to compare

@hexydec hexydec released this 15 Sep 19:58

This is a minor release that fixes a typing issue with the autoloader, and updates dependencies.

Tokenise v1.0.0

Choose a tag to compare

@hexydec hexydec released this 04 Mar 23:03

This update removed PHP 7.3 support, adds typed properties, and moved to a stable release.

Tokenise v0.4.2

Choose a tag to compare

@hexydec hexydec released this 23 Aug 19:18

This release makes the code stricter, and slightly faster.

Tokenise v0.4.1

Choose a tag to compare

@hexydec hexydec released this 10 Jun 22:22

This is a maintenance release that optimises tokenise::__construct() to store the token keys in a 1 based array so it doesn't have to incremented on every tokenise::next()

Tokenise v0.4.0

Choose a tag to compare

@hexydec hexydec released this 22 May 16:50

This update adds a new method and improves testing:

  • Added tokenise::rewind() to enable you to rewind the pointer and edit the last token
  • Added tests
  • Removed src/autoload.php from code coverage reports

Tokenise v0.3.0

Choose a tag to compare

@hexydec hexydec released this 15 May 21:20

This project started life as a component of HTMLdoc, but since I started other similar projects, it made sense to make this component its own project.

This first release adds some features, fixes some little issues, and adds a test suite:

  • Fixed issue with next() where it only remember the current token and not the previous token
  • Added PHPUnit as a dependency and added a test suite
  • Added a GitHub workflow to run the test suite and upload the coverage results to codecov.io
  • Updated readme and improved documentation