Skip to content

API для музыкального сервиса #1245

API для музыкального сервиса

API для музыкального сервиса #1245

Triggered via pull request September 4, 2023 20:54
Status Failure
Total duration 26s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
phpcs: code/src/MusicStreaming/Application/UseCase/UploadTrackUseCase.php#L113
Expected 1 space(s) after IF keyword; 0 found
phpcs: code/src/MusicStreaming/Application/UseCase/UploadTrackUseCase.php#L113
Space after opening parenthesis of function call prohibited
phpcs: code/src/MusicStreaming/Application/UseCase/UploadTrackUseCase.php#L113
Expected 0 spaces before closing parenthesis; 1 found
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml code/public/import.php code/public/v1/index.php code/src/MusicStreaming/Application/AudioProcessing/AudioFileProcessor.php code/src/MusicStreaming/Application/Config/ConfigInterface.php code/src/MusicStreaming/Application/DTO/Config.php code/src/MusicStreaming/Application/DataTransfer/EntityListResponse.php code/src/MusicStreaming/Application/DataTransfer/ErrorResponse.php code/src/MusicStreaming/Application/DataTransfer/Response.php code/src/MusicStreaming/Application/Exceptions/TableRowNotFoundException.php code/src/MusicStreaming/Application/Storage/DataMapper/GenreMapperInterface.php code/src/MusicStreaming/Application/Storage/DataMapper/PlaylistMapperInterface.php code/src/MusicStreaming/Application/Storage/DataMapper/TrackMapperInterface.php code/src/MusicStreaming/Application/Storage/DataMapper/UserMapperInterface.php code/src/MusicStreaming/Application/UseCase/CreatePlaylistUsecase.php code/src/MusicStreaming/Application/UseCase/FindPlaylistUseCase.php code/src/MusicStreaming/Application/UseCase/FindTrackUseCase.php code/src/MusicStreaming/Application/UseCase/UploadTrackUseCase.php code/src/MusicStreaming/Application/UseCase/UserAuthUseCase.php code/src/MusicStreaming/Application/UseCase/UserRegisterUseCase.php code/src/MusicStreaming/Domain/Model/DurationInterface.php code/src/MusicStreaming/Domain/Model/Functions/Functions.php code/src/MusicStreaming/Domain/Model/Genre.php code/src/MusicStreaming/Domain/Model/Playlist.php code/src/MusicStreaming/Domain/Model/Track.php code/src/MusicStreaming/Domain/Model/TrackDecorator.php code/src/MusicStreaming/Domain/Model/TrackInterface.php code/src/MusicStreaming/Domain/Model/TrackWithDurationInDescription.php code/src/MusicStreaming/Domain/Model/TrackWithSocialLinksInDescription.php code/src/MusicStreaming/Domain/Model/User.php code/src/MusicStreaming/Infrastructure/AudioProcessing/Mp3FileProcessor.php code/src/MusicStreaming/Infrastructure/AudioProcessing/WavFileProcessor.php code/src/MusicStreaming/Infrastructure/Config/IniConfig.php code/src/MusicStreaming/Infrastructure/HttpApiController/PlaylistController.php code/src/MusicStreaming/Infrastructure/HttpApiController/TrackController.php code/src/MusicStreaming/Infrastructure/HttpApiController/UserController.php code/src/MusicStreaming/Infrastructure/Init/HttpApiInit.php code/src/MusicStreaming/Infrastructure/Storage/ConnectionManager.php code/src/MusicStreaming/Infrastructure/Storage/DataMapper/GenreMapper.php code/src/MusicStreaming/Infrastructure/Storage/DataMapper/PlaylistMapper.php code/src/MusicStreaming/Infrastructure/Storage/DataMapper/TrackMapper.php code/src/MusicStreaming/Infrastructure/Storage/DataMapper/UserMapper.php
phpcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/