Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .art/readme/classes_pulse.gif
Binary file not shown.
Binary file modified .art/readme/example_character_ranges.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .art/readme/example_colguides.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_collapse_click_to_show.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_custom_line_number_style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_custom_starting_line_number.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_diff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_diff_no_indicators.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_diff_preserve_colors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_diff_standalone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_diff_with_indicators.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_disabled_collapse_gutter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_disabling_annotations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_highlight_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_html_comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_intro_focus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_json_focus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_line_number_colors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_negative_many_lines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_no_immediate_reindex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_no_line_numbers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_offset_length_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_range_many_lines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_range_single_line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .art/readme/example_reindex_any_number.png
Binary file modified .art/readme/example_reindex_new_number.png
Binary file modified .art/readme/example_reindex_no_line_number.png
Binary file modified .art/readme/example_reindex_relative_changes.png
Binary file modified .art/readme/example_reindex_single_line.png
Binary file modified .art/readme/example_reindex_stanza_voodoo.png
Binary file modified .art/readme/example_right_padding.png
Binary file modified .art/readme/example_right_padding_diff_indicators.png
Binary file modified .art/readme/example_start_end_modifiers.png
Binary file modified .art/readme/example_summary_closed.png
Binary file modified .art/readme/example_summary_indicator_default.png
Binary file modified .art/readme/example_summary_open.png
Binary file modified .art/readme/example_summary_text_customized.png
Binary file modified .art/readme/example_text_range.png
Binary file modified .art/readme/example_vim_preserve.png
Binary file modified .art/readme/example_vim_relative.png
516 changes: 494 additions & 22 deletions README.md

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@
],
"require": {
"php": "^8.2",
"phiki/phiki": "^1.1.4",
"phiki/phiki": "^2",
"league/commonmark": "^2.5.3"
},
"require-dev": {
"pestphp/pest": "^2",
"laravel/pint": "^1.13",
"ext-libxml": "*",
"ext-dom": "*"
"ext-dom": "*",
"phpstan/phpstan": "^2.1",
"rector/rector": "^2.1"
},
"autoload": {
"psr-4": {
Expand All @@ -38,6 +40,9 @@
"Torchlight\\Engine\\Tests\\": "tests"
}
},
"scripts": {
"review-tests": "php -S localhost:8000 -t tests/review"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
level: 10
paths:
- src
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
15 changes: 15 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;

return RectorConfig::configure()
->withPaths([
__DIR__.'/src',
__DIR__.'/tests',
])
->withPhpSets()
->withPreparedSets(deadCode: true)
->withTypeCoverageLevel(0)
->withCodeQualityLevel(0);
Loading
Loading