delete index.php

v4
fadrian06 7 days ago
parent b312f611fc
commit f9b7c6b597

1
.gitattributes vendored

@ -5,7 +5,6 @@
/.gitattributes export-ignore /.gitattributes export-ignore
/.gitignore export-ignore /.gitignore export-ignore
/CONTRIBUTING.md export-ignore /CONTRIBUTING.md export-ignore
/index.php export-ignore
/phpcs.xml.dist export-ignore /phpcs.xml.dist export-ignore
/phpstan-baseline.neon export-ignore /phpstan-baseline.neon export-ignore
/phpstan.dist.neon export-ignore /phpstan.dist.neon export-ignore

@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
require_once 'flight/Flight.php';
// require 'flight/autoload.php';
Flight::route('/', function () {
echo 'hello world!';
});
Flight::start();

@ -21,7 +21,6 @@
<exclude name="PSR12.Classes.AnonClassDeclaration.SpaceAfterKeyword"/> <exclude name="PSR12.Classes.AnonClassDeclaration.SpaceAfterKeyword"/>
</rule> </rule>
<file>index.php</file>
<file>flight</file> <file>flight</file>
<file>tests</file> <file>tests</file>
</ruleset> </ruleset>

Loading…
Cancel
Save