Skip to content

Commit

Permalink
Remove bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Sep 24, 2024
1 parent 2c80ddc commit 4b3be99
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
vendor/
Tests/.phpunit.cache/
2 changes: 1 addition & 1 deletion Examples/Example.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

require __DIR__ . '/../SourceQuery/bootstrap.php';
require __DIR__ . '/../vendor/autoload.php';

use xPaw\SourceQuery\SourceQuery;

Expand Down
2 changes: 1 addition & 1 deletion Examples/RconExample.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

require __DIR__ . '/../SourceQuery/bootstrap.php';
require __DIR__ . '/../vendor/autoload.php';

use xPaw\SourceQuery\SourceQuery;

Expand Down
4 changes: 3 additions & 1 deletion Examples/View.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php
require __DIR__ . '/../SourceQuery/bootstrap.php';
declare(strict_types=1);

require __DIR__ . '/../vendor/autoload.php';

use xPaw\SourceQuery\SourceQuery;

Expand Down
27 changes: 0 additions & 27 deletions SourceQuery/bootstrap.php

This file was deleted.

2 changes: 1 addition & 1 deletion Tests/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="../SourceQuery/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" cacheDirectory=".phpunit.cache">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" cacheDirectory=".phpunit.cache">
<coverage>
<report>
<clover outputFile="../build/logs/clover.xml"/>
Expand Down

0 comments on commit 4b3be99

Please sign in to comment.