Skip to content

Conversation

@CloCkWeRX
Copy link
Owner

Blocked by grokability#16767

@CloCkWeRX ➜ /workspaces/snipe-it (phpcs) $ php phpcs.phar -n --standard=PSR12 app/Importer/
FILE: /workspaces/snipe-it/app/Importer/AssetModelImporter.php
-------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------
 128 | ERROR | [x] There must not be a space before the colon in a return type declaration
 148 | ERROR | [x] There must not be a space before the colon in a return type declaration
-------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------


FILE: /workspaces/snipe-it/app/Importer/Importer.php
--------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------
 254 | ERROR | Method name "Importer::array_smart_custom_field_fetch" is not in camel caps format
--------------------------------------------------------------------------------------------------

Time: 184ms; Memory: 10MB

@CloCkWeRX CloCkWeRX marked this pull request as ready for review April 18, 2025 15:28
@CloCkWeRX CloCkWeRX merged commit eed7ef1 into codespell Apr 18, 2025
8 of 9 checks passed
@CloCkWeRX CloCkWeRX deleted the phpcs branch April 18, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants