Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use str_starts_with/str_ends_with | fiwswe | 2023-09-14 |
| | |||
* | code style: line breaks | Andreas Gohr | 2023-08-31 |
| | |||
* | code style: operator spacing | Andreas Gohr | 2023-08-31 |
| | |||
* | Apply rector fixes to inc/Parsing | Andreas Gohr | 2023-08-29 |
| | |||
* | Update core code to make use of sexplode() | Andreas Gohr | 2022-10-19 |
| | | | | | This makes use of our own explode mechanism everywhere were we expect a fixed number of results. | ||
* | PHP 8: rename match() to apply() in Lexer #3298 | Andreas Gohr | 2020-12-03 |
| | |||
* | Move defines to their own file | Andreas Gohr | 2020-06-04 |
| | | | | | | | | | | | | | | | | | | | As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is invoked (I'm not sure why). In general PSR2 discourages a mix of main code and function/class setup with the call to define() being considered main code. This patch moves these the define calls to a separate new file, solving both of the above problems. These are not all our defines. Instead I focused on the ones that are ENUM-like. In the future we should think about what defines can be replaced by class constants and what other define() calls should be moved. | ||
* | Let plugins access the lexer mode stack | Anna Dabrowska | 2020-04-08 |
| | |||
* | Make lexer/state stack more understandable | Christopher Smith | 2018-05-23 |
| | | | | | | - rename lexer $mode property to avoid two different uses of "mode" variables in the lexer - clarify/improve comments | ||
* | moved all parsing related namespaces to their own | Andreas Gohr | 2018-05-04 |