Skip to content

Commit

Permalink
fix: removed useless Twig extension
Browse files Browse the repository at this point in the history
  • Loading branch information
COil committed Feb 1, 2024
1 parent 5f07201 commit ef597d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 46 deletions.
24 changes: 0 additions & 24 deletions src/Twig/Extension/ResponseExtension.php

This file was deleted.

6 changes: 4 additions & 2 deletions templates/bundles/TwigBundle/Exception/error.html.twig
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{% extends 'base.html.twig' %}

{% block title %}Error {{ status_code }}{% endblock %}

{% block body %}
<section>
<card>
<h5>Oops! An Error {{ status_code }} occured!</h5>
<hr>
<p>Sorry, but an error <b>{{ status_code|status_text }}</b> ({{ status_code }}) occured.</p>
<p>Sorry, but an error <b>{{ status_text }}</b> ({{ status_code }}) occured.</p>
<p txt="c">
<a href="/">Homepage</a>
</p>
Expand All @@ -17,7 +19,7 @@
<div col="1/3">
<img src="https://frankenphp.dev/img/elephant_footer.svg" />
<p txt="c">
Logo by <a target="_blank" href="https://frankenphp.dev/">FrankenPHP</a>
Logo by <a target="_blank" href="https://frankenphp.dev">FrankenPHP</a>
</p>
</div>
<div col="1/3"></div>
Expand Down
20 changes: 0 additions & 20 deletions tests/Integration/Twig/Extension/ResponseExtensionTest.php

This file was deleted.

0 comments on commit ef597d2

Please sign in to comment.