-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from ARCANEDEV/develop
Starting the Laravel v8 support
- Loading branch information
Showing
14 changed files
with
133 additions
and
113 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
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
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,27 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
> | ||
> | ||
<testsuites> | ||
<testsuite name="Package Test Suite"> | ||
<directory suffix=".php">./tests/</directory> | ||
<directory>./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">./src/</directory> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="coverage-clover" target="build/logs/clover.xml"/> | ||
<log type="coverage-text" target="build/logs/coverage.txt"/> | ||
<log type="coverage-html" target="build/logs/coverage"/> | ||
</logging> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">./src</directory> | ||
</include> | ||
<report> | ||
<clover outputFile="build/coverage/clover.xml"/> | ||
<html outputDirectory="build/coverage/html"/> | ||
<text outputFile="build/coverage/coverage.txt" showOnlySummary="true"/> | ||
</report> | ||
</coverage> | ||
</phpunit> |
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 |
---|---|---|
@@ -1,17 +1,15 @@ | ||
@if ($breadcrumbs) | ||
<ul class="breadcrumb breadcrumb-top"> | ||
@foreach ($breadcrumbs as $crumb) | ||
<?php | ||
$icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : ''; | ||
?> | ||
<ul class="breadcrumb breadcrumb-top"> | ||
@foreach ($breadcrumbs as $crumb) | ||
@php($icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : '') | ||
|
||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="active">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ul> | ||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="active">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ul> | ||
@endif |
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 |
---|---|---|
@@ -1,17 +1,15 @@ | ||
@if ($breadcrumbs) | ||
<ol class="breadcrumb"> | ||
@foreach ($breadcrumbs as $crumb) | ||
<?php | ||
$icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : ''; | ||
?> | ||
<ol class="breadcrumb"> | ||
@foreach ($breadcrumbs as $crumb) | ||
@php($icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : '') | ||
|
||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li class="breadcrumb-item"> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="breadcrumb-item active" aria-current="page">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ol> | ||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li class="breadcrumb-item"> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="breadcrumb-item active" aria-current="page">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ol> | ||
@endif |
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,15 @@ | ||
@if ($breadcrumbs) | ||
<ol class="breadcrumb"> | ||
@foreach ($breadcrumbs as $crumb) | ||
@php($icon = isset($crumb['icon']) ? '<i class="'.$crumb['icon'].'"></i> ' : '') | ||
|
||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li class="breadcrumb-item"> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="breadcrumb-item active" aria-current="page">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ol> | ||
@endif |
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 |
---|---|---|
@@ -1,17 +1,15 @@ | ||
@if ($breadcrumbs) | ||
<ul class="breadcrumbs"> | ||
@foreach ($breadcrumbs as $crumb) | ||
<?php | ||
$icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : ''; | ||
?> | ||
<ul class="breadcrumbs"> | ||
@foreach ($breadcrumbs as $crumb) | ||
@php($icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : '') | ||
|
||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="current">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ul> | ||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li class="current">{!! $icon !!}{{ $crumb['title'] }}</li> | ||
@endif | ||
@endforeach | ||
</ul> | ||
@endif |
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 |
---|---|---|
@@ -1,21 +1,19 @@ | ||
@if ($breadcrumbs) | ||
<nav role="navigation"> | ||
<ul class="breadcrumbs"> | ||
@foreach ($breadcrumbs as $crumb) | ||
<?php | ||
$icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : ''; | ||
?> | ||
<nav role="navigation"> | ||
<ul class="breadcrumbs"> | ||
@foreach ($breadcrumbs as $crumb) | ||
@php($icon = isset($crumb['icon']) ? '<i class="' . $crumb['icon'] . '"></i> ' : '') | ||
|
||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li> | ||
<span class="show-for-sr">Current: </span> {!! $icon !!}{{ $crumb['title'] }} | ||
</li> | ||
@endif | ||
@endforeach | ||
</ul> | ||
</nav> | ||
@if ($crumb['url'] && ! $crumb['last']) | ||
<li> | ||
<a href="{{ $crumb['url'] }}">{!! $icon !!}{{ $crumb['title'] }}</a> | ||
</li> | ||
@else | ||
<li> | ||
<span class="show-for-sr">Current: </span> {!! $icon !!}{{ $crumb['title'] }} | ||
</li> | ||
@endif | ||
@endforeach | ||
</ul> | ||
</nav> | ||
@endif |