-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
b368e6d
commit fa2effa
Showing
24 changed files
with
46 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,25 @@ | ||
<?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 suffix=".php">./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">./src/</directory> | ||
</whitelist> | ||
</filter> | ||
<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> | ||
<php> | ||
<env name="DB_CONNECTION" value="testing"/> | ||
</php> | ||
<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> | ||
</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 |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
/** | ||
* Class AbstractBuilder | ||
* | ||
* @package Arcanedev\LaravelHtml | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
abstract class AbstractBuilder | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
/** | ||
* Interface FormBuilder | ||
* | ||
* @package Arcanedev\LaravelHtml\Contracts | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface FormBuilder | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Interface HtmlBuilder | ||
* | ||
* @package Arcanedev\LaravelHtml\Contracts | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface HtmlBuilder | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
/** | ||
* Class FormBuilder | ||
* | ||
* @package Arcanedev\LaravelHtml | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class FormBuilder extends AbstractBuilder implements FormBuilderContract | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
/** | ||
* Class Obfuscater | ||
* | ||
* @package Arcanedev\LaravelHtml\Helpers | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class Obfuscater | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
/** | ||
* Class HtmlBuilder | ||
* | ||
* @package Arcanedev\LaravelHtml | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class HtmlBuilder extends AbstractBuilder implements HtmlBuilderContract | ||
|
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 |
---|---|---|
|
@@ -4,14 +4,14 @@ | |
|
||
namespace Arcanedev\LaravelHtml; | ||
|
||
use Arcanedev\LaravelHtml\Contracts\{FormBuilder as FormBuilderContract, HtmlBuilder as HtmlBuilderContract}; | ||
use Arcanedev\LaravelHtml\Contracts\FormBuilder as FormBuilderContract; | ||
use Arcanedev\LaravelHtml\Contracts\HtmlBuilder as HtmlBuilderContract; | ||
use Arcanedev\Support\Providers\ServiceProvider; | ||
use Illuminate\Contracts\Support\DeferrableProvider; | ||
|
||
/** | ||
* Class HtmlServiceProvider | ||
* | ||
* @package Arcanedev\LaravelHtml | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class HtmlServiceProvider extends ServiceProvider implements DeferrableProvider | ||
|
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 |
---|---|---|
|
@@ -5,13 +5,11 @@ | |
namespace Arcanedev\LaravelHtml\Traits; | ||
|
||
use BadMethodCallException; | ||
use Illuminate\Support\Arr; | ||
use Illuminate\Support\HtmlString; | ||
use Illuminate\Support\{Arr, HtmlString}; | ||
|
||
/** | ||
* Class Componentable | ||
* Trait Componentable | ||
* | ||
* @package Arcanedev\LaravelHtml\Traits | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
trait Componentable | ||
|
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 |
---|---|---|
|
@@ -9,9 +9,8 @@ | |
use ReflectionMethod; | ||
|
||
/** | ||
* Class FormAccessible | ||
* Trait FormAccessible | ||
* | ||
* @package Arcanedev\LaravelHtml\Traits | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
trait FormAccessible | ||
|
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,11 +1,14 @@ | ||
<?php namespace Arcanedev\LaravelHtml\Tests\Concerns; | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Arcanedev\LaravelHtml\Tests\Concerns; | ||
|
||
use DOMDocument; | ||
|
||
/** | ||
* Trait AssertsHtmlStrings | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Concerns | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
trait AssertsHtmlStrings | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
/** | ||
* Class FormBuilderTest | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Builders | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class FormBuilderTest extends TestCase | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Class HtmlBuilderTest | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Builders | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class HtmlBuilderTest extends TestCase | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
/** | ||
* Class HtmlServiceProviderTest | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class HtmlServiceProviderTest extends TestCase | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Class DummyController | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Stubs | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class DummyController extends Controller | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
/** | ||
* Class FormBuilderModelStub | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Stubs | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class FormBuilderModelStub | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Class ModelThatDoesntUseForms | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Stubs | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class ModelThatDoesntUseForms extends Model | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
/** | ||
* Class ModelThatUsesForms | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Stubs | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class ModelThatUsesForms extends Model | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
/** | ||
* Class TestCase | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
abstract class TestCase extends BaseTestCase | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
namespace Arcanedev\LaravelHtml\Tests\Traits; | ||
|
||
use Arcanedev\LaravelHtml\FormBuilder; | ||
use Arcanedev\LaravelHtml\Tests\Stubs\{ModelThatDoesntUseForms, ModelThatUsesForms}; | ||
use Arcanedev\LaravelHtml\Tests\TestCase; | ||
use Carbon\Carbon; | ||
|
@@ -13,7 +12,6 @@ | |
/** | ||
* Class FormAccessible | ||
* | ||
* @package Arcanedev\LaravelHtml\Tests\Traits | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class FormAccessible extends TestCase | ||
|