Fix PHP file encoding

This commit is contained in:
2026-07-10 16:49:32 +02:00
parent 1cdef43a87
commit f469086bc0
13 changed files with 12 additions and 15 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
class AuthController class AuthController
{ {
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
class HabitController class HabitController
{ {
-3
View File
@@ -1,8 +1,5 @@
<?php <?php
use PDO;
use PDOException;
class Database class Database
{ {
private static ?PDO $connection = null; private static ?PDO $connection = null;
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
class Category class Category
{ {
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
class Habit class Habit
{ {
+1 -1
View File
@@ -1,4 +1,4 @@
<section class="auth-panel"> <section class="auth-panel">
<h1>Anmelden</h1> <h1>Anmelden</h1>
<form method="post" action="index.php?route=login" class="form"> <form method="post" action="index.php?route=login" class="form">
<?= csrf_field() ?> <?= csrf_field() ?>
+1 -1
View File
@@ -1,4 +1,4 @@
<section class="auth-panel"> <section class="auth-panel">
<h1>Registrieren</h1> <h1>Registrieren</h1>
<form method="post" action="index.php?route=register" class="form"> <form method="post" action="index.php?route=register" class="form">
<?= csrf_field() ?> <?= csrf_field() ?>
+1 -1
View File
@@ -1,4 +1,4 @@
<section class="dashboard-head"> <section class="dashboard-head">
<div> <div>
<p class="eyebrow">Heute</p> <p class="eyebrow">Heute</p>
<h1>Deine Habits</h1> <h1>Deine Habits</h1>
+1 -1
View File
@@ -1,4 +1,4 @@
<?php $isEdit = !empty($habit['id']); ?> <?php $isEdit = !empty($habit['id']); ?>
<section class="form-panel"> <section class="form-panel">
<h1><?= $isEdit ? 'Habit bearbeiten' : 'Habit erstellen' ?></h1> <h1><?= $isEdit ? 'Habit bearbeiten' : 'Habit erstellen' ?></h1>
+1 -1
View File
@@ -1,4 +1,4 @@
<!doctype html> <!doctype html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
function config(string $key, $default = null) function config(string $key, $default = null)
{ {
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
return [ return [
'app_name' => 'Habit Tracker', 'app_name' => 'Habit Tracker',
+1 -1
View File
@@ -1,4 +1,4 @@
<?php <?php
declare(strict_types=1); declare(strict_types=1);