Skip to content

Commit 656a688

Browse files
committed
WiP
1 parent d5dafb9 commit 656a688

29 files changed

+269
-197
lines changed

.php-cs-fixer.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"php":"8.2.6","version":"3.17.0","indent":" ","lineEnding":"\n","rules":{"align_multiline_comment":true,"array_indentation":true,"array_push":true,"array_syntax":{"syntax":"short"},"backtick_to_shell_exec":true,"binary_operator_spaces":{"operators":{"=":"align_single_space_minimal","=>":"align_single_space_minimal"}},"blank_line_after_namespace":true,"blank_line_before_statement":{"statements":["break","continue","default","do","exit","for","foreach","goto","if","include","include_once","require","require_once","return","switch","throw","try","while","yield"]},"braces":{"allow_single_line_closure":false,"position_after_anonymous_constructs":"same","position_after_control_structures":"same","position_after_functions_and_oop_constructs":"same"},"class_definition":true,"clean_namespace":true,"combine_consecutive_issets":true,"combine_consecutive_unsets":true,"combine_nested_dirname":true,"compact_nullable_typehint":true,"concat_space":{"spacing":"one"},"constant_case":true,"declare_equal_normalize":{"space":"none"},"declare_strict_types":true,"dir_constant":true,"echo_tag_syntax":true,"elseif":true,"encoding":true,"ereg_to_preg":true,"explicit_indirect_variable":true,"explicit_string_variable":true,"fopen_flag_order":true,"full_opening_tag":true,"fully_qualified_strict_types":true,"function_declaration":true,"function_to_constant":true,"function_typehint_space":true,"global_namespace_import":{"import_classes":true,"import_constants":true,"import_functions":true},"header_comment":{"header":"This file is part of Templado\\Engine.\n\nCopyright (c) Arne Blankerts <[email protected]> and contributors\n\nFor the full copyright and license information, please view the LICENSE\nfile that was distributed with this source code.","separate":"none"},"heredoc_to_nowdoc":true,"implode_call":true,"include":true,"increment_style":{"style":"post"},"indentation_type":true,"is_null":true,"lambda_not_used_import":true,"line_ending":true,"list_syntax":{"syntax":"short"},"logical_operators":true,"lowercase_cast":true,"lowercase_keywords":true,"lowercase_static_reference":true,"magic_constant_casing":true,"magic_method_casing":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"modernize_types_casting":true,"multiline_comment_opening_closing":true,"multiline_whitespace_before_semicolons":true,"native_function_type_declaration_casing":true,"no_alias_functions":true,"no_alias_language_construct_call":true,"no_alternative_syntax":true,"no_binary_string":true,"no_blank_lines_after_phpdoc":true,"no_blank_lines_before_namespace":true,"no_break_comment":true,"no_closing_tag":true,"no_empty_comment":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_extra_blank_lines":true,"no_homoglyph_names":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":{"use":"print"},"no_multiline_whitespace_around_double_arrow":true,"no_null_property_initialization":true,"no_php4_constructor":true,"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_after_function_name":true,"no_spaces_around_offset":true,"no_spaces_inside_parenthesis":true,"no_superfluous_elseif":true,"no_superfluous_phpdoc_tags":{"allow_mixed":true},"no_trailing_comma_in_list_call":true,"no_trailing_comma_in_singleline_array":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"no_trailing_whitespace_in_string":true,"no_unneeded_control_parentheses":true,"no_unneeded_final_method":true,"no_unreachable_default_argument_value":true,"no_unset_cast":true,"no_unset_on_property":true,"no_unused_imports":true,"no_useless_else":true,"no_useless_return":true,"no_useless_sprintf":true,"no_whitespace_before_comma_in_array":true,"no_whitespace_in_blank_line":true,"non_printable_character":true,"normalize_index_brace":true,"object_operator_without_whitespace":true,"operator_linebreak":{"only_booleans":true,"position":"end"},"ordered_class_elements":{"order":["use_trait","constant_public","constant_protected","constant_private","property_public_static","property_protected_static","property_private_static","property_public","property_protected","property_private","method_public_static","construct","destruct","magic","phpunit","method_public","method_protected","method_private","method_protected_static","method_private_static"]},"ordered_imports":{"imports_order":["const","function","class"]},"ordered_interfaces":{"direction":"ascend","order":"alpha"},"ordered_traits":true,"php_unit_set_up_tear_down_visibility":true,"php_unit_test_case_static_method_calls":{"call_type":"this"},"phpdoc_align":true,"phpdoc_annotation_without_dot":true,"phpdoc_indent":true,"phpdoc_inline_tag_normalizer":true,"phpdoc_no_access":true,"phpdoc_no_alias_tag":true,"phpdoc_no_empty_return":true,"phpdoc_no_package":true,"phpdoc_no_useless_inheritdoc":true,"phpdoc_order":true,"phpdoc_order_by_value":{"annotations":["covers","dataProvider","throws","uses"]},"phpdoc_return_self_reference":true,"phpdoc_scalar":true,"phpdoc_separation":true,"phpdoc_single_line_var_spacing":true,"phpdoc_summary":true,"phpdoc_tag_casing":true,"phpdoc_tag_type":true,"phpdoc_trim":true,"phpdoc_trim_consecutive_blank_line_separation":true,"phpdoc_types":{"groups":["simple","meta"]},"phpdoc_types_order":true,"phpdoc_var_annotation_correct_order":true,"phpdoc_var_without_name":true,"pow_to_exponentiation":true,"protected_to_private":true,"return_assignment":true,"return_type_declaration":{"space_before":"none"},"self_accessor":true,"self_static_accessor":true,"semicolon_after_instruction":true,"set_type_to_cast":true,"short_scalar_cast":true,"simple_to_complex_string_variable":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":true,"single_import_per_statement":true,"single_line_after_imports":true,"single_quote":true,"single_space_after_construct":true,"single_trait_insert_per_statement":true,"space_after_semicolon":true,"standardize_increment":true,"standardize_not_equals":true,"static_lambda":true,"strict_param":true,"string_line_ending":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"switch_continue_to_break":true,"ternary_operator_spaces":true,"ternary_to_elvis_operator":true,"ternary_to_null_coalescing":true,"trim_array_spaces":true,"types_spaces":{"space":"none"},"unary_operator_spaces":true,"visibility_required":{"elements":["const","method","property"]},"void_return":true,"whitespace_after_comma_in_array":true},"hashes":{"src\/Templado.php":"99952d3350e81bd9878cac6cca3b9726","src\/test.php":"c47aa24d389ba1966b4e3d62fc11afb8","src\/FileWriter.php":"f6e0163bf8e8f7024142f5cf5d3d8a55","src\/FileReader.php":"a77604755ed99e9f20e9414794b42f58","src\/selectors\/CSSSelector.php":"d989d04617d8277e51b1a590c6bf5686","src\/selectors\/XPathSelector.php":"223fa5e84deb634f9a53427eb7e87cba","src\/selectors\/XPathSelectorException.php":"ce98db130faa3f1be8b9a4579b788018","src\/Id.php":"f34b6a51e410a3453fce1ee743464c73","src\/Serializer.php":"812ddde206fd1cded1327039e609a2b8","src\/TempladoCollection.php":"8aafb5844229274929326c170c0d262c","src\/csrfprotection\/CSRFProtection.php":"0f83748f0f71d1bf5080af4df7bb804c","src\/csrfprotection\/CSRFProtectionRenderer.php":"8f9a5bb9f19a5de0c9dcaa6496158549","src\/formdata\/FormData.php":"4bbc2c1e1d25d8771fcc73869da84db9","src\/formdata\/FormDataRenderer.php":"bf97249cae2a82dea81cbcb66ca2ccc4","src\/formdata\/FormDataException.php":"21f0e9a2fdebac0a5ad13c1569f0db84","src\/formdata\/FormDataRendererException.php":"57b56e9d3c5642efb7c2a6738a60c1d7","src\/transformation\/TransformationProcessor.php":"9b71451b851f8024ae42a40f1d885f83","src\/transformation\/StripRDFaAttributesTransformation.php":"54c384093e3bbf9ec3ebac4804709b41","src\/viewmodel\/ViewModelRenderer.php":"a503ab1bdc15bfde157cc5b4ac186306","src\/viewmodel\/SnapshotDOMNodelist.php":"34c47e9e4c8c40777ac5d080559907bd","src\/viewmodel\/SnapshotAttributeList.php":"16263ff9a77edc80580da638a73a1866","src\/viewmodel\/ViewModelRendererException.php":"ac053553bf4a529cc31d39f58ed6c0f7","src\/viewmodel\/SnapshotDOMNodelistException.php":"0d8e2374b318e8807eb821d7d8df1e1c","src\/viewmodel\/SnapshotAttributeListException.php":"ec3ba27ecede610f81a201df2891cc49","src\/viewmodel\/TempladoParsingException.php":"e3b89d8add185fa6ff3d1aa71b6a3ac4","src\/Transformation.php":"309269b5b443861300a0a1d4f464f94c","src\/Selector.php":"8ae95959684cf68efded6c9144576646","src\/Selection.php":"cb8e1e49133ecf04208e83a63e47e332","src\/Merger.php":"bd1d4180ef93874ae2788d4ec2288a1e","src\/FileName.php":"77f23ddb5e548dd2674b80be79b02a9a","src\/viewmodel\/TempladoException.php":"bd7b4333347ec40affa08f7e949f88a6","src\/Filename.php":"18e4833227e2f2ffe6719c622f56b53d","tests\/TempladoTest.php":"a642fa49949ff1a9f12b09c56904ff21","src\/TempladoException.php":"bd7b4333347ec40affa08f7e949f88a6","src\/TempladoParsingException.php":"61f1809bd707dde0455c67d0e60db276","src\/Document.php":"4ef280ee8336e0ff8f6e92e3bc5dd13b"}}
1+
{"php":"8.2.8","version":"3.21.1","indent":" ","lineEnding":"\n","rules":{"align_multiline_comment":true,"array_indentation":true,"array_push":true,"array_syntax":{"syntax":"short"},"backtick_to_shell_exec":true,"binary_operator_spaces":{"operators":{"=":"align_single_space_minimal","=>":"align_single_space_minimal"}},"blank_line_after_namespace":true,"blank_line_before_statement":{"statements":["break","continue","default","do","exit","for","foreach","goto","if","include","include_once","require","require_once","return","switch","throw","try","while","yield"]},"braces":{"allow_single_line_closure":false,"position_after_anonymous_constructs":"same","position_after_control_structures":"same","position_after_functions_and_oop_constructs":"same"},"class_definition":true,"clean_namespace":true,"combine_consecutive_issets":true,"combine_consecutive_unsets":true,"combine_nested_dirname":true,"compact_nullable_typehint":true,"concat_space":{"spacing":"one"},"constant_case":true,"declare_equal_normalize":{"space":"none"},"declare_strict_types":true,"dir_constant":true,"echo_tag_syntax":true,"elseif":true,"encoding":true,"ereg_to_preg":true,"explicit_indirect_variable":true,"explicit_string_variable":true,"fopen_flag_order":true,"full_opening_tag":true,"fully_qualified_strict_types":true,"function_declaration":true,"function_to_constant":true,"function_typehint_space":true,"global_namespace_import":{"import_classes":true,"import_constants":true,"import_functions":true},"header_comment":{"header":"This file is part of Templado\\Engine.\n\nCopyright (c) Arne Blankerts <[email protected]> and contributors\n\nFor the full copyright and license information, please view the LICENSE\nfile that was distributed with this source code.","separate":"none"},"heredoc_to_nowdoc":true,"implode_call":true,"include":true,"increment_style":{"style":"post"},"indentation_type":true,"is_null":true,"lambda_not_used_import":true,"line_ending":true,"list_syntax":{"syntax":"short"},"logical_operators":true,"lowercase_cast":true,"lowercase_keywords":true,"lowercase_static_reference":true,"magic_constant_casing":true,"magic_method_casing":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"modernize_types_casting":true,"multiline_comment_opening_closing":true,"multiline_whitespace_before_semicolons":true,"native_function_type_declaration_casing":true,"no_alias_functions":true,"no_alias_language_construct_call":true,"no_alternative_syntax":true,"no_binary_string":true,"no_blank_lines_after_phpdoc":true,"no_blank_lines_before_namespace":true,"no_break_comment":true,"no_closing_tag":true,"no_empty_comment":true,"no_empty_phpdoc":true,"no_empty_statement":true,"no_extra_blank_lines":true,"no_homoglyph_names":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_mixed_echo_print":{"use":"print"},"no_multiline_whitespace_around_double_arrow":true,"no_null_property_initialization":true,"no_php4_constructor":true,"no_short_bool_cast":true,"no_singleline_whitespace_before_semicolons":true,"no_spaces_after_function_name":true,"no_spaces_around_offset":true,"no_spaces_inside_parenthesis":true,"no_superfluous_elseif":true,"no_superfluous_phpdoc_tags":{"allow_mixed":true},"no_trailing_comma_in_list_call":true,"no_trailing_comma_in_singleline_array":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"no_trailing_whitespace_in_string":true,"no_unneeded_control_parentheses":true,"no_unneeded_final_method":true,"no_unreachable_default_argument_value":true,"no_unset_cast":true,"no_unset_on_property":true,"no_unused_imports":true,"no_useless_else":true,"no_useless_return":true,"no_useless_sprintf":true,"no_whitespace_before_comma_in_array":true,"no_whitespace_in_blank_line":true,"non_printable_character":true,"normalize_index_brace":true,"object_operator_without_whitespace":true,"operator_linebreak":{"only_booleans":true,"position":"end"},"ordered_class_elements":{"order":["use_trait","constant_public","constant_protected","constant_private","property_public_static","property_protected_static","property_private_static","property_public","property_protected","property_private","method_public_static","construct","destruct","magic","phpunit","method_public","method_protected","method_private","method_protected_static","method_private_static"]},"ordered_imports":{"imports_order":["const","function","class"]},"ordered_interfaces":{"direction":"ascend","order":"alpha"},"ordered_traits":true,"php_unit_set_up_tear_down_visibility":true,"php_unit_test_case_static_method_calls":{"call_type":"this"},"phpdoc_align":true,"phpdoc_annotation_without_dot":true,"phpdoc_indent":true,"phpdoc_inline_tag_normalizer":true,"phpdoc_no_access":true,"phpdoc_no_alias_tag":true,"phpdoc_no_empty_return":true,"phpdoc_no_package":true,"phpdoc_no_useless_inheritdoc":true,"phpdoc_order":true,"phpdoc_order_by_value":{"annotations":["covers","dataProvider","throws","uses"]},"phpdoc_return_self_reference":true,"phpdoc_scalar":true,"phpdoc_separation":true,"phpdoc_single_line_var_spacing":true,"phpdoc_summary":true,"phpdoc_tag_casing":true,"phpdoc_tag_type":true,"phpdoc_trim":true,"phpdoc_trim_consecutive_blank_line_separation":true,"phpdoc_types":{"groups":["simple","meta"]},"phpdoc_types_order":true,"phpdoc_var_annotation_correct_order":true,"phpdoc_var_without_name":true,"pow_to_exponentiation":true,"protected_to_private":true,"return_assignment":true,"return_type_declaration":{"space_before":"none"},"self_accessor":true,"self_static_accessor":true,"semicolon_after_instruction":true,"set_type_to_cast":true,"short_scalar_cast":true,"simple_to_complex_string_variable":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":true,"single_import_per_statement":true,"single_line_after_imports":true,"single_quote":true,"single_space_after_construct":true,"single_trait_insert_per_statement":true,"space_after_semicolon":true,"standardize_increment":true,"standardize_not_equals":true,"static_lambda":true,"strict_param":true,"string_line_ending":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"switch_continue_to_break":true,"ternary_operator_spaces":true,"ternary_to_elvis_operator":true,"ternary_to_null_coalescing":true,"trim_array_spaces":true,"types_spaces":{"space":"none"},"unary_operator_spaces":true,"visibility_required":{"elements":["const","method","property"]},"void_return":true,"whitespace_after_comma_in_array":true},"hashes":[]}

phive.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpunit" version="^10.1.3" installed="10.1.3" location="./tools/phpunit" copy="false"/>
4-
<phar name="phpab" version="^1.25" installed="1.27.2" location="./tools/phpab" copy="false"/>
5-
<phar name="php-cs-fixer" version="^3.16.0" installed="3.17.0" location="./tools/php-cs-fixer" copy="false"/>
6-
<phar name="psalm" version="^5.9.0" installed="5.12.0" location="./tools/psalm" copy="false"/>
3+
<phar name="phpunit" version="^10.1.3" installed="10.2.4" location="./tools/phpunit" copy="false"/>
4+
<phar name="phpab" version="^1.25" installed="1.28.0" location="./tools/phpab" copy="false"/>
5+
<phar name="php-cs-fixer" version="^3.16.0" installed="3.21.1" location="./tools/php-cs-fixer" copy="false"/>
6+
<phar name="psalm" version="^5.9.0" installed="5.13.1" location="./tools/psalm" copy="false"/>
77
<phar name="ergebnis/phpunit-slow-test-detector" version="^2.3.0" installed="2.3.0" location="./tools/phpunit.d/slowtest.phar/phpunit-slow-test-detector" copy="false"/>
88
</phive>

src/Exception.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php declare(strict_types = 1);
2+
namespace Templado\Engine;
3+
4+
class Exception extends \Exception {
5+
6+
}

0 commit comments

Comments
 (0)