Commit Graph

810 Commits

Author SHA1 Message Date
Emanuil Rusev
0476f3be5b
Merge pull request #876 from xabbuh/branch-alias
add a branch alias to allow installing untagged 1.8 versions
2024-07-18 10:01:16 +03:00
Emanuil Rusev
9d00deadcd
Merge pull request #872 from xabbuh/pr-868-1.8
[PHP 8.4] Fixes for implicit nullability deprecation
2024-07-17 09:19:21 +03:00
Emanuil Rusev
15048b0210
Merge pull request #875 from xabbuh/pr-874
fix GitHub Actions config file syntax
2024-07-17 09:15:20 +03:00
Christian Flothmann
e7a3bccbae add a branch alias to allow installing untagged 1.8 versions 2024-07-17 05:59:36 +02:00
Christian Flothmann
26362c5fe9 fix GitHub Actions config file syntax 2024-07-17 05:52:46 +02:00
Emanuil Rusev
89880dd0a9
Merge pull request #874 from xabbuh/ci-1.8
enable GitHub Actions and drop support for PHP < 7.1
2024-07-15 13:33:21 +03:00
Christian Flothmann
44fd383db7 run tests using GitHub actions 2024-07-15 10:51:54 +02:00
Christian Flothmann
54f1ffc214 drop support for PHP < 7.1 2024-07-15 10:46:34 +02:00
Ayesh Karunaratne
6ae01284b8 [PHP 8.4] Fixes for implicit nullability deprecation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
2024-07-09 10:54:53 +02:00
Aidan Woods
87b57bf3cb
Add test to prevent regression 2019-04-10 21:54:34 +01:00
Aidan Woods
fe7a50eceb
New release due to mislabeled previous tag 2019-03-17 18:47:21 +00:00
Aidan Woods
7d4c06cb52
Bump version 2019-03-17 17:19:07 +00:00
Aidan Woods
f7b66e6b20
Merge pull request #701 from aidantwoods/fix/spaces-in-class-names-1.8.x-beta
[1.8.x-beta] Fix spaces in class names
2019-03-17 17:10:10 +00:00
Aidan Woods
811bc32726
Fix test platforms 2019-03-17 17:04:25 +00:00
Aidan Woods
8fd5464c46
[1.8.x-beta] Fix spaces in class names 2019-03-17 17:01:52 +00:00
Aidan Woods
c26a2ee4bf
Bump beta version 2018-06-11 19:15:32 +01:00
Aidan Woods
ba3b60d6e4
Merge pull request #641 from aidantwoods/fix/api-stability-complete-function-removal
Restore existence of protected API methods
2018-06-08 14:38:42 +01:00
Aidan Woods
0b1e6b8c86
Restore existence of protected API methods 2018-06-07 19:47:09 +01:00
Aidan Woods
1f69f7e697
Bump version 2018-05-08 22:46:15 +01:00
Aidan Woods
c83af0a7d5
Merge pull request #628 from aidantwoods/fix/revert-rawHtml-breaks-insertion
Preserve plain-text in AST to avoid blinding extensions to it
2018-05-08 22:41:44 +01:00
Aidan Woods
4686daf8c2
Preserve plain-text in AST to avoid blinding extensions to it 2018-05-08 22:32:57 +01:00
Aidan Woods
c9e7183cfa
Merge pull request #627 from aidantwoods/fix/hidden-blocks
Intepret special "hidden" key as an empty element
2018-05-08 22:07:51 +01:00
Aidan Woods
9eed1104e7
Intepret special "hidden" key as an empty element 2018-05-08 21:54:30 +01:00
Aidan Woods
fd95703da5
Version bump 2018-05-07 14:26:12 +01:00
Aidan Woods
8d172a2994
Merge pull request #614 from aidantwoods/enhancement/performance-tweaks
General and performance tweaks
2018-05-07 11:18:21 +01:00
Aidan Woods
dfab7240a4
Merge pull request #621 from paukenba/master
Tilde characters may be escaped
2018-04-24 17:39:09 +01:00
Attila Vachter
113c6d2b21 Tilde characters may be escaped 2018-04-23 15:09:30 +02:00
Aidan Woods
a9764ec90f
Remove complex string interpolation expressions 2018-04-14 15:27:06 +01:00
Aidan Woods
0a842fb5b1
Merge pull request #615 from aidantwoods/fix/old-handler-compat
Compatability fixes
2018-04-12 22:29:29 +01:00
Aidan Woods
7f4318dbdb
PHP 5.3 == 💩 2018-04-12 22:22:53 +01:00
Aidan Woods
3e70819a20
Readability improvements, thanks @PhrozenByte 2018-04-12 22:16:25 +01:00
Aidan Woods
2bf7ca41a0
Add compat for extensions using old markup key. 2018-04-12 21:25:50 +01:00
Aidan Woods
b75fd409ff
Must unset text key so that our destination is preferred as content 2018-04-12 21:10:09 +01:00
Aidan Woods
88a3f31dd7
Rewrite as one statement 2018-04-12 19:33:01 +01:00
Aidan Woods
726d4ef44a
Sanity checks before starting regex engine 2018-04-09 18:09:45 +01:00
Aidan Woods
450a74fedf
More expensive statement last 2018-04-09 18:09:45 +01:00
Aidan Woods
7e15d99d90
Remove regex from block rule 2018-04-09 18:09:44 +01:00
Aidan Woods
d2dd736e1b
Remove regex from fenced code block
Also remove unused function
2018-04-09 18:09:44 +01:00
Aidan Woods
e74a5bd7ed
In theory PHP stores the length of strings, so looking this up should be quick 2018-04-09 18:09:44 +01:00
Aidan Woods
b53aa74a72
Use standard library function 2018-04-09 18:09:44 +01:00
Aidan Woods
3ea08140b6
Remove use of array 2018-04-09 18:09:44 +01:00
Aidan Woods
c45e41950f
Use standard library over while loop 2018-04-09 18:09:44 +01:00
Aidan Woods
2faba6fef5
Remove unneeded complete function 2018-04-09 18:09:44 +01:00
Aidan Woods
b42add3762
Make some regexes possesive 2018-04-09 18:09:43 +01:00
Aidan Woods
107223d3a0
Avoid recomputation 2018-04-09 18:09:43 +01:00
Aidan Woods
d4f1ac465c
String interpolation is slightly faster than concat 2018-04-09 18:09:43 +01:00
Aidan Woods
d6e306d620
Optimise commonly used regexes to fail fast 2018-04-09 18:09:04 +01:00
Aidan Woods
dc5cf8770b
The AST has high complexity here (and so traversal is hard anyway)
We gain quite a bit of a speed boost by working with text here
since this is a very common function
2018-04-09 18:09:04 +01:00
Aidan Woods
70f5c02d47
Use non-nestable values as keys for O(1) lookup 2018-04-09 18:09:04 +01:00
Aidan Woods
90ad738933
General readability 2018-04-09 18:09:04 +01:00