Skip to content

Commit 80968d7

Browse files
committed
Merge branch 'master' into 7.x
2 parents 225856e + 4a2810f commit 80968d7

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Laravel-specific and pure PHP Helper Functions](art/1380x575-optimized.jpg)
2+
13
# Laravel Helper Functions
24

35
[<img src="https://user-images.githubusercontent.com/1286821/43083932-4915853a-8ea0-11e8-8983-db9e0f04e772.png" alt="Become a Patron" width="160" />](https://patreon.com/dmitryivanov)

art/1280x640-optimized.jpg

56.7 KB
Loading

art/1280x640-source.jpg

68.7 KB
Loading

art/1380x575-optimized.jpg

52.3 KB
Loading

art/1380x575-source.jpg

63.3 KB
Loading

tests/Helpers/Artisan/mocks.php

+14-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
<?php
22

3-
namespace Illuminated\Helpers\System
4-
{
5-
use Illuminated\Helpers\Tests\TestCase;
3+
namespace Illuminated\Helpers\System;
64

7-
if (!function_exists(__NAMESPACE__ . '\php_uname')) {
8-
/**
9-
* Mock for the `php_uname` function.
10-
*
11-
* @return mixed
12-
*
13-
* @noinspection PhpUndefinedMethodInspection
14-
*/
15-
function php_uname()
16-
{
17-
return TestCase::$functions->php_uname();
18-
}
5+
use Illuminated\Helpers\Tests\TestCase;
6+
7+
if (!function_exists(__NAMESPACE__ . '\php_uname')) {
8+
/**
9+
* Mock for the `php_uname` function.
10+
*
11+
* @return mixed
12+
*
13+
* @noinspection PhpUndefinedMethodInspection
14+
*/
15+
function php_uname()
16+
{
17+
return TestCase::$functions->php_uname();
1918
}
2019
}

0 commit comments

Comments
 (0)