Replace deprecated spatie/data-transfer-object with spatie/laravel-data #770
Annotations
10 errors and 2 warnings
Lint code (PHP 8.1):
camel/BaseDTO.php#L9
Class Knuckles\Camel\BaseDTO extends unknown class Spatie\DataTransferObject\DataTransferObject.
|
Lint code (PHP 8.1):
camel/BaseDTO.php#L9
Non-abstract class Knuckles\Camel\BaseDTO contains abstract method toArray() from interface Illuminate\Contracts\Support\Arrayable.
|
Lint code (PHP 8.1):
camel/BaseDTOCollection.php#L12
PHPDoc tag @template T for class Knuckles\Camel\BaseDTOCollection has invalid bound type Spatie\DataTransferObject\DataTransferObject.
|
Lint code (PHP 8.1):
camel/BaseDTOCollection.php#L35
Parameter $items of method Knuckles\Camel\BaseDTOCollection::concat() has invalid type Spatie\DataTransferObject\DataTransferObject.
|
Lint code (PHP 8.1):
camel/Extraction/ExtractedEndpointData.php#L13
Non-abstract class Knuckles\Camel\Extraction\ExtractedEndpointData contains abstract method toArray() from interface Illuminate\Contracts\Support\Arrayable.
|
Lint code (PHP 8.1):
camel/Extraction/ExtractedEndpointData.php#L85
Class Knuckles\Camel\Extraction\Metadata does not have a constructor and must be instantiated without any parameters.
|
Lint code (PHP 8.1):
camel/Extraction/ExtractedEndpointData.php#L88
Call to an undefined static method Knuckles\Camel\BaseDTO::__construct().
|
Lint code (PHP 8.1):
camel/Extraction/ExtractedEndpointData.php#L146
Call to an undefined method Knuckles\Camel\Extraction\ExtractedEndpointData::except().
|
Lint code (PHP 8.1):
camel/Extraction/Metadata.php#L7
Non-abstract class Knuckles\Camel\Extraction\Metadata contains abstract method toArray() from interface Illuminate\Contracts\Support\Arrayable.
|
Lint code (PHP 8.1):
camel/Extraction/Parameter.php#L8
Non-abstract class Knuckles\Camel\Extraction\Parameter contains abstract method toArray() from interface Illuminate\Contracts\Support\Arrayable.
|
Lint code (PHP 8.1)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Lint code (PHP 8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|