generated from Laravel-Lang/translations-template
-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrey Helldar
committed
Sep 24, 2021
1 parent
f694843
commit b245a1f
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the "andrey-helldar/laravel-lang-publisher" project. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Andrey Helldar <[email protected]> | ||
* | ||
* @copyright 2021 Andrey Helldar | ||
* | ||
* @license MIT | ||
* | ||
* @see https://github.com/andrey-helldar/laravel-lang-publisher | ||
*/ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Register The Composer Auto Loader | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Composer provides a convenient, automatically generated class loader | ||
| for our application. We just need to utilize it! We'll require it | ||
| into the script here so that we do not have to worry about the | ||
| loading of any our classes "manually". Feels great to relax. | ||
| | ||
*/ | ||
|
||
require __DIR__ . '/vendor/autoload.php'; | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Set The Default Timezone | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here we will set the default timezone for PHP. PHP is notoriously mean | ||
| if the timezone is not explicitly set. This will be used by each of | ||
| the PHP date and date-time functions throughout the application. | ||
| | ||
*/ | ||
|
||
date_default_timezone_set('UTC'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
~ This file is part of the "andrey-helldar/laravel-lang-publisher" project. | ||
~ | ||
~ For the full copyright and license information, please view the LICENSE | ||
~ file that was distributed with this source code. | ||
~ | ||
~ @author Andrey Helldar <[email protected]> | ||
~ | ||
~ @copyright 2021 Andrey Helldar | ||
~ | ||
~ @license MIT | ||
~ | ||
~ @see https://github.com/andrey-helldar/laravel-lang-publisher | ||
--> | ||
|
||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
cacheResult="false" | ||
backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="phpunit.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnError="false" | ||
stopOnFailure="false" | ||
verbose="true" | ||
> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">./src</directory> | ||
</include> | ||
<report> | ||
<clover outputFile="build/logs/clover.xml"/> | ||
<html outputDirectory="build/logs/coverage"/> | ||
<text outputFile="build/logs/coverage.txt"/> | ||
</report> | ||
</coverage> | ||
<php> | ||
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="Test Suite"> | ||
<directory suffix="Test.php">./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |