Skip to content

Commit

Permalink
Merge branch 'release/v0.3.9' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
betterthanclay committed Sep 26, 2023
2 parents bdb3e96 + e570fab commit e1a2afb
Show file tree
Hide file tree
Showing 50 changed files with 56 additions and 53 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.3.9 (2023-09-26)
* Converted phpstan doc comments to generic

## v0.3.8 (2022-11-28)
* Updated Dictum dependency

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![PHP from Packagist](https://img.shields.io/packagist/php-v/decodelabs/lucid?style=flat)](https://packagist.org/packages/decodelabs/lucid)
[![Latest Version](https://img.shields.io/packagist/v/decodelabs/lucid.svg?style=flat)](https://packagist.org/packages/decodelabs/lucid)
[![Total Downloads](https://img.shields.io/packagist/dt/decodelabs/lucid.svg?style=flat)](https://packagist.org/packages/decodelabs/lucid)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/decodelabs/lucid/Integrate)](https://github.com/decodelabs/lucid/actions/workflows/integrate.yml)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/decodelabs/lucid/integrate.yml?branch=develop)](https://github.com/decodelabs/lucid/actions/workflows/integrate.yml)
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-44CC11.svg?longCache=true&style=flat)](https://github.com/phpstan/phpstan)
[![License](https://img.shields.io/packagist/l/decodelabs/lucid?style=flat)](https://packagist.org/packages/decodelabs/lucid)

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Color/MaxLightness.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class MaxLightness implements Constraint
{
/**
* @phpstan-use ConstraintTrait<float, Color>
* @use ConstraintTrait<float, Color>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Color/MaxSaturation.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class MaxSaturation implements Constraint
{
/**
* @phpstan-use ConstraintTrait<float, Color>
* @use ConstraintTrait<float, Color>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Color/MinLightness.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class MinLightness implements Constraint
{
/**
* @phpstan-use ConstraintTrait<float, Color>
* @use ConstraintTrait<float, Color>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Color/MinSaturation.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class MinSaturation implements Constraint
{
/**
* @phpstan-use ConstraintTrait<float, Color>
* @use ConstraintTrait<float, Color>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Compass/Max.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Max implements Constraint
{
/**
* @phpstan-use ConstraintTrait<Ip|string|int|BigInteger, Ip|Range>
* @use ConstraintTrait<Ip|string|int|BigInteger, Ip|Range>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Compass/Min.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Min implements Constraint
{
/**
* @phpstan-use ConstraintTrait<Ip|string|int|BigInteger, Ip|Range>
* @use ConstraintTrait<Ip|string|int|BigInteger, Ip|Range>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Compass/Range.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class Range implements Constraint
{
/**
* @phpstan-use ConstraintTrait<Ip|IpScope|string|int|BigInteger, Ip|IpRange>
* @use ConstraintTrait<Ip|IpScope|string|int|BigInteger, Ip|IpRange>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Compass/V4.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class V4 implements Constraint
{
/**
* @phpstan-use ConstraintTrait<bool, Ip|Range>
* @use ConstraintTrait<bool, Ip|Range>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Compass/V6.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class V6 implements Constraint
{
/**
* @phpstan-use ConstraintTrait<bool, Ip|Range>
* @use ConstraintTrait<bool, Ip|Range>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/DateTime/Max.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Max implements Constraint
{
/**
* @phpstan-use ConstraintTrait<DateTimeInterface|string|Stringable|int, Carbon>
* @use ConstraintTrait<DateTimeInterface|string|Stringable|int, Carbon>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/DateTime/Min.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Min implements Constraint
{
/**
* @phpstan-use ConstraintTrait<DateTimeInterface|string|Stringable|int, Carbon>
* @use ConstraintTrait<DateTimeInterface|string|Stringable|int, Carbon>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/DateTime/Range.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class Range implements Constraint
{
/**
* @phpstan-use ConstraintTrait<array<DateTimeInterface|string|Stringable|int>, Carbon>
* @use ConstraintTrait<array<DateTimeInterface|string|Stringable|int>, Carbon>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/DefaultValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class DefaultValue implements Constraint
{
/**
* @phpstan-use ConstraintTrait<TValue, TValue>
* @use ConstraintTrait<TValue, TValue>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Interval/Max.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Max implements Constraint
{
/**
* @phpstan-use ConstraintTrait<DateInterval|string|Stringable|int, CarbonInterval>
* @use ConstraintTrait<DateInterval|string|Stringable|int, CarbonInterval>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Interval/Min.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Min implements Constraint
{
/**
* @phpstan-use ConstraintTrait<DateInterval|string|Stringable|int, CarbonInterval>
* @use ConstraintTrait<DateInterval|string|Stringable|int, CarbonInterval>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Interval/Range.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class Range implements Constraint
{
/**
* @phpstan-use ConstraintTrait<array<DateInterval|string|Stringable|int>, CarbonInterval>
* @use ConstraintTrait<array<DateInterval|string|Stringable|int>, CarbonInterval>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Number/Max.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Max implements Constraint
{
/**
* @phpstan-use ConstraintTrait<float, int|float>
* @use ConstraintTrait<float, int|float>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Number/Min.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Min implements Constraint
{
/**
* @phpstan-use ConstraintTrait<float, int|float>
* @use ConstraintTrait<float, int|float>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Number/Range.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class Range implements Constraint
{
/**
* @phpstan-use ConstraintTrait<array<int|float>, int|float>
* @use ConstraintTrait<array<int|float>, int|float>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Required.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class Required implements Constraint
{
/**
* @phpstan-use ConstraintTrait<bool, TValue>
* @use ConstraintTrait<bool, TValue>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Sanitize.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class Sanitize implements Constraint
{
/**
* @phpstan-use ConstraintTrait<Closure, string>
* @use ConstraintTrait<Closure, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/Emojis.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Emojis implements Constraint
{
/**
* @phpstan-use ConstraintTrait<bool, string>
* @use ConstraintTrait<bool, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/MaxLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class MaxLength implements Constraint
{
/**
* @phpstan-use ConstraintTrait<int, string>
* @use ConstraintTrait<int, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/MaxWords.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class MaxWords implements Constraint
{
/**
* @phpstan-use ConstraintTrait<int, string>
* @use ConstraintTrait<int, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/MinLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class MinLength implements Constraint
{
/**
* @phpstan-use ConstraintTrait<int, string>
* @use ConstraintTrait<int, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/MinWords.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class MinWords implements Constraint
{
/**
* @phpstan-use ConstraintTrait<int, string>
* @use ConstraintTrait<int, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/Pattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Pattern implements Constraint
{
/**
* @phpstan-use ConstraintTrait<string, string>
* @use ConstraintTrait<string, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/String/Trim.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class Trim implements Constraint
{
/**
* @phpstan-use ConstraintTrait<bool, string>
* @use ConstraintTrait<bool, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Constraint/Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class Validate implements Constraint
{
/**
* @phpstan-use ConstraintTrait<Closure(?string):Generator<string>, string>
* @use ConstraintTrait<Closure(?string):Generator<string>, string>
*/
use ConstraintTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/BoolNative.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class BoolNative implements Processor
{
/**
* @phpstan-use ProcessorTrait<bool>
* @use ProcessorTrait<bool>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/Camel.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Camel implements Processor
{
/**
* @phpstan-use ProcessorTrait<string>
* @use ProcessorTrait<string>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Color implements Processor
{
/**
* @phpstan-use ProcessorTrait<Spectrum>
* @use ProcessorTrait<Spectrum>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Date implements Processor
{
/**
* @phpstan-use ProcessorTrait<DateTime>
* @use ProcessorTrait<DateTime>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class Email implements Processor
{
/**
* @phpstan-use ProcessorTrait<string>
* @use ProcessorTrait<string>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/FloatNative.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class FloatNative implements Processor
{
/**
* @phpstan-use ProcessorTrait<float>
* @use ProcessorTrait<float>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/IntNative.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class IntNative implements Processor
{
/**
* @phpstan-use ProcessorTrait<int>
* @use ProcessorTrait<int>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/Interval.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class Interval implements Processor
{
/**
* @phpstan-use ProcessorTrait<CarbonInterval>
* @use ProcessorTrait<CarbonInterval>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/Ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class Ip implements Processor
{
/**
* @phpstan-use ProcessorTrait<IpAddress>
* @use ProcessorTrait<IpAddress>
*/
use ProcessorTrait;

Expand Down
2 changes: 1 addition & 1 deletion src/Lucid/Processor/IpRange.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class IpRange implements Processor
{
/**
* @phpstan-use ProcessorTrait<Range>
* @use ProcessorTrait<Range>
*/
use ProcessorTrait;

Expand Down
Loading

0 comments on commit e1a2afb

Please sign in to comment.