Skip to content

Commit 4b3be99

Browse files
committed
Remove bootstrap.php
1 parent 2c80ddc commit 4b3be99

File tree

6 files changed

+7
-31
lines changed

6 files changed

+7
-31
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
vendor/
2+
Tests/.phpunit.cache/

Examples/Example.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
require __DIR__ . '/../SourceQuery/bootstrap.php';
4+
require __DIR__ . '/../vendor/autoload.php';
55

66
use xPaw\SourceQuery\SourceQuery;
77

Examples/RconExample.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
declare(strict_types=1);
33

4-
require __DIR__ . '/../SourceQuery/bootstrap.php';
4+
require __DIR__ . '/../vendor/autoload.php';
55

66
use xPaw\SourceQuery\SourceQuery;
77

Examples/View.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
2-
require __DIR__ . '/../SourceQuery/bootstrap.php';
2+
declare(strict_types=1);
3+
4+
require __DIR__ . '/../vendor/autoload.php';
35

46
use xPaw\SourceQuery\SourceQuery;
57

SourceQuery/bootstrap.php

-27
This file was deleted.

Tests/phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<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">
2+
<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">
33
<coverage>
44
<report>
55
<clover outputFile="../build/logs/clover.xml"/>

0 commit comments

Comments
 (0)