PHP Classes

File: tests/ArchTest.php

Recommend this page to a friend!
  Classes of tomloprod   Colority   tests/ArchTest.php   Download  
File: tests/ArchTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Colority
Perform color transformation operations
Author: By
Last change:
Date: 7 months ago
Size: 335 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

arch('globals')
    ->
expect(['dd', 'dump', 'ray', 'die', 'var_dump', 'sleep', 'dispatch', 'dispatch_sync'])
    ->
not->toBeUsed();

arch('contracts')
    ->
expect('Tomloprod\Colority\Contracts')
    ->
toBeInterfaces();

arch('concerns')
    ->
expect('Tomloprod\Colority\Concerns')
    ->
toBeTraits();