[FEATURE] Update Mediaplayer file detection #1892
Your pull request is up to standards!
Here is an overview of what got changed by this pull request:
Issues
======
- Added 5
Complexity increasing per file
==============================
- Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php 5
- Classes/ExpressionLanguage/MediaTypeFunctionProvider.php 6
- Classes/Service/MediaPlayerService.php 38
Complexity decreasing per file
==============================
+ Classes/Controller/MediaPlayerController.php -17
See the complete overview on Codacy
Annotations
Check notice on line 35 in Classes/Controller/MediaPlayerController.php
codacy-production / Codacy Static Code Analysis
Classes/Controller/MediaPlayerController.php#L35
Opening brace should be on a new line
Check notice on line 50 in Classes/ExpressionLanguage/MediaTypeFunctionProvider.php
codacy-production / Codacy Static Code Analysis
Classes/ExpressionLanguage/MediaTypeFunctionProvider.php#L50
Opening brace must be the last content on the line
Check notice on line 58 in Classes/ExpressionLanguage/MediaTypeFunctionProvider.php
codacy-production / Codacy Static Code Analysis
Classes/ExpressionLanguage/MediaTypeFunctionProvider.php#L58
Expected 1 space after cast statement; 0 found
Check notice on line 226 in Classes/Service/MediaPlayerService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/MediaPlayerService.php#L226
Opening parenthesis of a multi-line function call must be the last content on the line
Check notice on line 232 in Classes/Service/MediaPlayerService.php
codacy-production / Codacy Static Code Analysis
Classes/Service/MediaPlayerService.php#L232
Closing parenthesis of a multi-line function call must be on a line by itself