Skip to content

Instantly share code, notes, and snippets.

@seamuslee001
Created April 2, 2019 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seamuslee001/380b7cd2e1bcab20d26f0ed0dc2389c7 to your computer and use it in GitHub Desktop.
Save seamuslee001/380b7cd2e1bcab20d26f0ed0dc2389c7 to your computer and use it in GitHub Desktop.
FILE: ...est/sites/all/modules/civicrm/Civi/Core/DAO/Event/PostUpdate.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
34 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
37 | ERROR | [x] Expected "DAOObject" but found "DAO Object" for
| | @var tag in member variable comment
46 | ERROR | [x] Expected 1 blank line after function; 0 found
47 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...est/sites/all/modules/civicrm/Civi/Core/DAO/Event/PostDelete.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
34 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
37 | ERROR | [x] Expected "DAOObject" but found "DAO Object" for
| | @var tag in member variable comment
42 | ERROR | [x] Expected "DAOdeleteresult" but found "DAO delete
| | result" for @var tag in member variable comment
53 | ERROR | [x] Expected 1 blank line after function; 0 found
54 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...test/sites/all/modules/civicrm/Civi/Core/DAO/Event/PreDelete.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
34 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
37 | ERROR | [x] Expected "DAOObject" but found "DAO Object" for
| | @var tag in member variable comment
46 | ERROR | [x] Expected 1 blank line after function; 0 found
47 | ERROR | [x] The closing brace for the class must have an empty
| | line before it
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/Civi/Core/Paths.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
174 | ERROR | [x] Expected "bool|null" but found "bool|NULL" for
| | parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/Civi/Core/InstallationCanary.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should not
| | begin with a file doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/Civi/Core/SettingsStack.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/Civi/Core/SettingsManager.php
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
70 | ERROR | [ ] Content missing for @var tag in member variable
| | comment
73 | ERROR | [ ] There must not be more than one property declared
| | per statement
76 | ERROR | [x] Expected "array|null" but found "array|NULL" for
| | @var tag in member variable comment
152 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
173 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
175 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
313 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...test/sites/all/modules/civicrm/Civi/Core/Transaction/Manager.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
45 | ERROR | [x] Expected
| | "arrayFramestackofSQLtransactionssavepoints" but
| | found "array<Frame> stack of SQL
| | transactions/savepoints" for @var tag in member
| | variable comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...7-test/sites/all/modules/civicrm/Civi/Core/Transaction/Frame.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
48 | ERROR | [x] Expected "string|nullegBEGINorSAVEPOINTfoo" but
| | found "string|null e.g. "BEGIN" or "SAVEPOINT
| | foo"" for @var tag in member variable comment
53 | ERROR | [x] Expected "string|nullegCOMMIT" but found
| | "string|null e.g. "COMMIT"" for @var tag in member
| | variable comment
58 | ERROR | [x] Expected
| | "string|nullegROLLBACKorROLLBACKTOSAVEPOINTfoo"
| | but found "string|null e.g. "ROLLBACK" or
| | "ROLLBACK TO SAVEPOINT foo"" for @var tag in
| | member variable comment
183 | ERROR | [x] Expected "array|null" but found "array|NULL" for
| | parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/Civi/Core/AssetBuilder.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
78 | ERROR | [ ] Missing @var tag in member variable comment
232 | ERROR | [x] Expected "string|null" but found "string|NULL" for
| | parameter type
241 | ERROR | [x] Language constructs must be followed by a single
| | space; expected 1 space but found "\n"
249 | ERROR | [x] Expected "string|null" but found "string|NULL" for
| | parameter type
258 | ERROR | [x] Language constructs must be followed by a single
| | space; expected 1 space but found "\n"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/Civi/Core/SettingsMetadata.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should not
| | begin with a file doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../sites/all/modules/civicrm/Civi/Core/LocalizationInitializer.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
30 | WARNING | [x] Unused use statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...sites/all/modules/civicrm/Civi/Core/Event/SystemInstallEvent.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
34 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/Civi/Core/Event/PostEvent.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
48 | ERROR | [x] Expected "stringcreate|edit|deleteetc" but found
| | "string 'create'|'edit'|'delete' etc" for @var tag
| | in member variable comment
58 | ERROR | [x] Expected "int|null" but found "int|NULL" for @var
| | tag in member variable comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/sites/all/modules/civicrm/Civi/Core/Event/GenericHookEvent.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
80 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/Civi/Core/Event/PreEvent.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
48 | ERROR | [x] Expected "stringcreate|edit|deleteetc" but found
| | "string 'create'|'edit'|'delete' etc" for @var tag
| | in member variable comment
58 | ERROR | [x] Expected "int|null" but found "int|NULL" for @var
| | tag in member variable comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../all/modules/civicrm/Civi/Core/Event/UnhandledExceptionEvent.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
42 | ERROR | [x] Expected "mixedreservedforfutureuse" but found
| | "mixed reserved for future use" for @var tag in
| | member variable comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...s/all/modules/civicrm/Civi/Core/SqlTrigger/TimestampTriggers.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
31 | WARNING | [x] Unused use statement
140 | ERROR | [x] Expected "string|null" but found "string|NULL"
| | for parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ites/all/modules/civicrm/Civi/Core/SqlTrigger/StaticTriggers.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
3 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
57 | ERROR | [x] Expected 1 blank line after function; 2 found
78 | ERROR | [x] Expected "string|null" but found "string|NULL" for
| | parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/Civi/Core/Container.php
----------------------------------------------------------------------
FOUND 29 ERRORS AND 10 WARNINGS AFFECTING 39 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
4 | WARNING | [x] Unused use statement
7 | WARNING | [x] Unused use statement
8 | WARNING | [x] Unused use statement
9 | WARNING | [x] Unused use statement
10 | WARNING | [x] Unused use statement
11 | WARNING | [x] Unused use statement
12 | WARNING | [x] Unused use statement
13 | WARNING | [x] Unused use statement
16 | WARNING | [x] Unused use statement
20 | WARNING | [x] Unused use statement
61 | ERROR | [x] Data types in @return tags need to be fully
| | namespaced
98 | ERROR | [x] Data types in @var tags need to be fully
| | namespaced
109 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
296 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
308 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
312 | ERROR | [x] Data types in @param tags need to be fully
| | namespaced
340 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
341 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
342 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
343 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
344 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
345 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
348 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
355 | ERROR | [x] Data types in @return tags need to be fully
| | namespaced
380 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
381 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
382 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
384 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
385 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
386 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
392 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
393 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
395 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
398 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
427 | ERROR | [x] Data types in @param tags need to be fully
| | namespaced
440 | ERROR | [x] Data types in @param tags need to be fully
| | namespaced
482 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
496 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 39 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ll/modules/civicrm/Civi/Core/Exception/UnknownAssetException.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...test/sites/all/modules/civicrm/Civi/Core/DatabaseInitializer.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should not
| | begin with a file doc comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/Civi/Core/SettingsBag.php
----------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
73 | ERROR | [x] Expected "array|null" but found "array|NULL" for
| | @var tag in member variable comment
86 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
205 | ERROR | [x] Expected "mixed|null" but found "mixed|NULL" for
| | function return type
217 | ERROR | [x] Expected "mixed|null" but found "mixed|NULL" for
| | function return type
228 | ERROR | [x] Expected "mixed|null" but found "mixed|NULL" for
| | function return type
357 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/Civi/Core/CiviEventInspector.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
35 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/Civi/Core/SqlTriggers.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
41 | ERROR | [x] Expected "string|null" but found "string|NULL" for
| | @var tag in member variable comment
210 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 12
211 | ERROR | [x] Array closing indentation error, expected 8 spaces
| | but found 10
230 | ERROR | [x] Expected "null|string" but found "NULL|string" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/Civi/Core/Resolver.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
36 | WARNING | [ ] Property name "$_singleton" should not be
| | prefixed with an underscore to indicate
| | visibility
253 | ERROR | [ ] There must not be more than one property
| | declared per statement
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/Civi/Core/Lock/NullLock.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
52 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/Civi/Core/Lock/LockManager.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
76 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
91 | ERROR | [x] Expected "callable|null" but found "callable|NULL"
| | for function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/Civi/Core/Lock/LockInterface.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
2 | ERROR | [x] Namespaced classes, interfaces and traits should
| | not begin with a file doc comment
37 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/OptionGroup.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
40 | WARNING | [ ] Possible useless method overriding detected
217 | ERROR | [x] Expected "arraystring" but found "array<string>"
| | for parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/ActionLog.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/UFField.php
----------------------------------------------------------------------
FOUND 6 ERRORS AND 2 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
41 | ERROR | [ ] Missing @var tag in member variable comment
42 | WARNING | [ ] Property name "$_contriBatchEntryFields" should
| | not be prefixed with an underscore to indicate
| | visibility
43 | WARNING | [ ] Property name "$_memberBatchEntryFields" should
| | not be prefixed with an underscore to indicate
| | visibility
97 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 11 spaces but found 7
| | spaces
98 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 1 space
99 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 11 spaces but found 7
| | spaces
136 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Dashboard.php
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
47 | ERROR | [x] Expected 1 blank line before function; 0 found
178 | ERROR | [x] Return comment indentation must be 3 spaces, found
| | 4 spaces
184 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
185 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
186 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 6
275 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 12
276 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 12
277 | ERROR | [x] Array closing indentation error, expected 8 spaces
| | but found 10
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Block.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
39 | ERROR | [ ] Missing @var tag in member variable comment
40 | ERROR | [ ] Visibility must be declared on property
| | "$requiredBlockFields"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/OptionValue.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
38 | WARNING | [ ] Possible useless method overriding detected
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/CustomValue.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
158 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/CRM/Core/BAO/ConfigSetting.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Persistent.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/CRM/Core/BAO/SchemaHandler.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
160 | ERROR | [x] Expected "null|string" but found "NULL|string" for
| | function return type
179 | ERROR | [x] Expected "null|string" but found "NULL|string" for
| | function return type
272 | ERROR | [x] Expected "null|string" but found "NULL|string" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/CustomField.php
----------------------------------------------------------------------
FOUND 10 ERRORS AND 3 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly
| | one blank line
44 | WARNING | [ ] Property name "$_dataType" should not be
| | prefixed with an underscore to indicate
| | visibility
51 | WARNING | [ ] Property name "$_dataToHtml" should not be
| | prefixed with an underscore to indicate
| | visibility
58 | WARNING | [ ] Property name "$_importFields" should not be
| | prefixed with an underscore to indicate
| | visibility
821 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
821 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
821 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
821 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
821 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
1545 | ERROR | [x] Expected "array|null" but found "array|NULL"
| | for function return type
1549 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
1549 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
1550 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Location.php
----------------------------------------------------------------------
FOUND 14 ERRORS AFFECTING 14 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
41 | ERROR | [ ] Missing @var tag in member variable comment
42 | ERROR | [ ] Visibility must be declared on property "$blocks"
112 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
113 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
114 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
115 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
116 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 13
370 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
371 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
372 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
373 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
374 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 15
375 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 13
----------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...test/sites/all/modules/civicrm/CRM/Core/BAO/CustomValueTable.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/LabelFormat.php
----------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
42 | ERROR | [ ] Missing @var tag in member variable comment
43 | WARNING | [ ] Property name "$_gid" should not be prefixed
| | with an underscore to indicate visibility
47 | ERROR | [ ] Missing @var tag in member variable comment
261 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
385 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
461 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Extension.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php
----------------------------------------------------------------------
FOUND 31 ERRORS AND 1 WARNING AFFECTING 28 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly
| | one blank line
47 | WARNING | [ ] Property name "$_matchFields" should not be
| | prefixed with an underscore to indicate
| | visibility
47 | ERROR | [ ] Visibility must be declared on property
| | "$_matchFields"
339 | ERROR | [x] PHP keywords must be lowercase; expected "and"
| | but found "AND"
455 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
456 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
457 | ERROR | [x] Array closing indentation error, expected 4
| | spaces but found 6
975 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
975 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
976 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
977 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
1670 | ERROR | [x] Expected "array|null" but found "array|NULL"
| | for parameter type
1880 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
1881 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
1882 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 8
1893 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
1894 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
1895 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 8
2023 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
2024 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
2025 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
2026 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
2027 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 8
2141 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
2142 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
2143 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
2144 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 15
2322 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
2322 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
2323 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
2323 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
2844 | ERROR | [x] The static declaration must come after the
| | visibility declaration
----------------------------------------------------------------------
PHPCBF CAN FIX THE 30 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Job.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
44 | WARNING | [ ] Possible useless method overriding detected
148 | ERROR | [ ] Parameter $params is not described in comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/CRM/Core/BAO/FinancialTrxn.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
41 | WARNING | [ ] Possible useless method overriding detected
41 | ERROR | [x] Expected 1 blank line before function; 0 found
131 | ERROR | [ ] Parameter $fromAccountID is not described in
| | comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...test/sites/all/modules/civicrm/CRM/Core/BAO/StatusPreference.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Discount.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
40 | WARNING | [ ] Possible useless method overriding detected
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/CRM/Core/BAO/LocationType.php
----------------------------------------------------------------------
FOUND 4 ERRORS AND 3 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
39 | ERROR | [ ] Missing @var tag in member variable comment
40 | WARNING | [ ] Property name "$_defaultLocationType" should not
| | be prefixed with an underscore to indicate
| | visibility
40 | ERROR | [ ] Visibility must be declared on property
| | "$_defaultLocationType"
41 | WARNING | [ ] Property name "$_billingLocationType" should not
| | be prefixed with an underscore to indicate
| | visibility
41 | ERROR | [ ] Visibility must be declared on property
| | "$_billingLocationType"
46 | WARNING | [ ] Possible useless method overriding detected
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/CustomGroup.php
----------------------------------------------------------------------
FOUND 12 ERRORS AND 1 WARNING AFFECTING 13 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly
| | one blank line
42 | WARNING | [ ] Possible useless method overriding detected
306 | ERROR | [x] Comments may not appear after statements
487 | ERROR | [x] Concat operator must be surrounded by a single
| | space
718 | ERROR | [x] The static declaration must come after the
| | visibility declaration
719 | ERROR | [x] Comments may not appear after statements
737 | ERROR | [x] The static declaration must come after the
| | visibility declaration
766 | ERROR | [x] The static declaration must come after the
| | visibility declaration
797 | ERROR | [x] The static declaration must come after the
| | visibility declaration
828 | ERROR | [x] The static declaration must come after the
| | visibility declaration
865 | ERROR | [x] The static declaration must come after the
| | visibility declaration
2053 | ERROR | [x] Expected "array|null" but found "array|NULL"
| | for function return type
2100 | ERROR | [x] Expected "bool|null" but found "bool|NULL" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Email.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
323 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/UFMatch.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
61 | ERROR | [x] Expected 1 blank line after function; 2 found
486 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | function return type
519 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Query.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/EntityTag.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Website.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Note.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
136 | ERROR | [x] Return type must not contain variable name "$note"
296 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/PaperSize.php
----------------------------------------------------------------------
FOUND 6 ERRORS AND 1 WARNING AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
42 | ERROR | [ ] Missing @var tag in member variable comment
43 | WARNING | [ ] Property name "$_gid" should not be prefixed
| | with an underscore to indicate visibility
47 | ERROR | [ ] Missing @var tag in member variable comment
87 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
199 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
266 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/CRM/Core/BAO/RecurringEntity.php
----------------------------------------------------------------------
FOUND 23 ERRORS AND 6 WARNINGS AFFECTING 24 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly
| | one blank line
58 | WARNING | [ ] Property name "$_entitiesToBeDeleted" should
| | not be prefixed with an underscore to indicate
| | visibility
62 | WARNING | [ ] Property name "$_recurringEntityHelper" should
| | not be prefixed with an underscore to indicate
| | visibility
62 | ERROR | [ ] Visibility must be declared on property
| | "$_recurringEntityHelper"
76 | WARNING | [ ] Property name "$_dateColumns" should not be
| | prefixed with an underscore to indicate
| | visibility
76 | ERROR | [ ] Visibility must be declared on property
| | "$_dateColumns"
88 | WARNING | [ ] Property name "$_tableDAOMapper" should not be
| | prefixed with an underscore to indicate
| | visibility
88 | ERROR | [ ] Visibility must be declared on property
| | "$_tableDAOMapper"
99 | WARNING | [ ] Property name "$_updateSkipFields" should not
| | be prefixed with an underscore to indicate
| | visibility
99 | ERROR | [ ] Visibility must be declared on property
| | "$_updateSkipFields"
107 | WARNING | [ ] Property name "$_linkedEntitiesInfo" should not
| | be prefixed with an underscore to indicate
| | visibility
107 | ERROR | [ ] Visibility must be declared on property
| | "$_linkedEntitiesInfo"
421 | ERROR | [x] The static declaration must come after the
| | visibility declaration
457 | ERROR | [x] Comments may not appear after statements
491 | ERROR | [x] The static declaration must come after the
| | visibility declaration
513 | ERROR | [x] The static declaration must come after the
| | visibility declaration
542 | ERROR | [x] The static declaration must come after the
| | visibility declaration
584 | ERROR | [x] The static declaration must come after the
| | visibility declaration
611 | ERROR | [x] The static declaration must come after the
| | visibility declaration
679 | ERROR | [x] The static declaration must come after the
| | visibility declaration
786 | ERROR | [x] The static declaration must come after the
| | visibility declaration
831 | ERROR | [x] The static declaration must come after the
| | visibility declaration
950 | ERROR | [x] The static declaration must come after the
| | visibility declaration
1092 | ERROR | [x] Expected 1 blank line after function; 2 found
1107 | ERROR | [x] The static declaration must come after the
| | visibility declaration
1225 | ERROR | [x] Comments may not appear after statements
1228 | ERROR | [x] Comments may not appear after statements
1238 | ERROR | [x] Comments may not appear after statements
1241 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 18 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/CRM/Core/BAO/PreferencesDate.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 2 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
37 | ERROR | [ ] Missing @var tag in member variable comment
38 | WARNING | [ ] Property name "$_defaultPreferencesDate" should
| | not be prefixed with an underscore to indicate
| | visibility
38 | ERROR | [ ] Visibility must be declared on property
| | "$_defaultPreferencesDate"
43 | WARNING | [ ] Possible useless method overriding detected
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Mapping.php
----------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly
| | one blank line
38 | WARNING | [ ] Possible useless method overriding detected
302 | ERROR | [x] Expected "null" but found "NULL" for parameter
| | type
399 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
400 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
401 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
402 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 15
984 | ERROR | [x] Expected 1 blank line after function; 2 found
1183 | ERROR | [x] Expected "null" but found "NULL" for function
| | return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Log.php
----------------------------------------------------------------------
FOUND 3 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
38 | WARNING | [ ] Property name "$_processed" should not be
| | prefixed with an underscore to indicate
| | visibility
38 | ERROR | [ ] Visibility must be declared on property
| | "$_processed"
175 | ERROR | [x] Expected "int|false" but found "int|FALSE" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Navigation.php
----------------------------------------------------------------------
FOUND 11 ERRORS AND 4 WARNINGS AFFECTING 11 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly
| | one blank line
41 | WARNING | [ ] Possible useless method overriding detected
308 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0
| | found
382 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0
| | found
795 | ERROR | [x] The static declaration must come after the
| | visibility declaration
879 | ERROR | [ ] Parameter $useWildcard is not described in
| | comment
898 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
898 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
898 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
898 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
899 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
899 | ERROR | [x] Multi-line function declarations must define
| | one parameter per line
999 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: ]
1007 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: ]
1015 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: ]
----------------------------------------------------------------------
PHPCBF CAN FIX THE 13 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/CRM/Core/BAO/MailSettings.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
40 | WARNING | [ ] Possible useless method overriding detected
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/CRM/Core/BAO/CustomOption.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
105 | ERROR | [x] The static declaration must come after the
| | visibility declaration
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Tag.php
----------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
43 | WARNING | [ ] Possible useless method overriding detected
509 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
513 | ERROR | [x] Array closing indentation error, expected 4
| | spaces but found 6
556 | ERROR | [x] Return type must not contain variable name
| | "$childTagIDs"
569 | ERROR | [x] Object operator not indented correctly; expected
| | 6 spaces but found 14
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Cache/Psr16.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
192 | ERROR | [x] Comments may not appear after statements
193 | ERROR | [x] Comments may not appear after statements
194 | ERROR | [x] Comments may not appear after statements
195 | ERROR | [x] Comments may not appear after statements
196 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Domain.php
----------------------------------------------------------------------
FOUND 5 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
41 | ERROR | [ ] Missing @var tag in member variable comment
42 | WARNING | [ ] Property name "$_domain" should not be prefixed
| | with an underscore to indicate visibility
42 | ERROR | [ ] Visibility must be declared on property
| | "$_domain"
46 | ERROR | [ ] Missing @var tag in member variable comment
47 | WARNING | [ ] Property name "$_location" should not be
| | prefixed with an underscore to indicate
| | visibility
165 | ERROR | [ ] Parameter $returnString is not described in
| | comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/UFJoin.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Country.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...7-test/sites/all/modules/civicrm/CRM/Core/BAO/ActionSchedule.php
----------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 14 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
51 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
52 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
53 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
72 | ERROR | [x] Expected "\Civi\ActionSchedule\Mapping|null" but
| | found "\Civi\ActionSchedule\Mapping|NULL" for
| | function return type
123 | ERROR | [x] Expected "\Civi\ActionSchedule\Mapping|null" but
| | found "\Civi\ActionSchedule\Mapping|NULL" for
| | parameter type
320 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
359 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
461 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
526 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
528 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
529 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
652 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
652 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
670 | ERROR | [x] Expected "null|string" but found "NULL|string" for
| | function return type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/CRM/Core/BAO/PrevNextCache.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
160 | ERROR | [x] Comments may not appear after statements
181 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
278 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
291 | ERROR | [x] Equals sign not aligned correctly; expected 1
| | space but found 2 spaces
362 | ERROR | [x] Expected "null" but found "NULL" for parameter
| | type
439 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Address.php
----------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 15 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
50 | ERROR | [x] Expected "array|null" but found "array|NULL" for
| | function return type
364 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
365 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
366 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
367 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
368 | ERROR | [x] Array closing indentation error, expected 6 spaces
| | but found 15
498 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 19
499 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 19
500 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 19
501 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 19
502 | ERROR | [x] Array closing indentation error, expected 8 spaces
| | but found 17
737 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
738 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
739 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 6
----------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/OpenID.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/File.php
----------------------------------------------------------------------
FOUND 8 ERRORS AND 1 WARNING AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
41 | WARNING | [ ] Property name "$_signableFields" should not be
| | prefixed with an underscore to indicate
| | visibility
41 | ERROR | [ ] Visibility must be declared on property
| | "$_signableFields"
96 | ERROR | [x] Expected 1 blank line after function; 2 found
696 | ERROR | [x] Expected 1 blank line after function; 2 found
708 | ERROR | [x] Expected "array|null" but found "array|NULL" for
| | function return type
756 | ERROR | [x] Expected "CRM_Core_FileSearchInterface|null" but
| | found "CRM_Core_FileSearchInterface|NULL" for
| | function return type
770 | ERROR | [ ] Parameter $genTs is not described in comment
770 | ERROR | [ ] Parameter $life is not described in comment
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
301 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
367 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/CRM/Core/BAO/CustomQuery.php
----------------------------------------------------------------------
FOUND 4 ERRORS AND 11 WARNINGS AFFECTING 15 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
42 | WARNING | [ ] Property name "$_ids" should not be prefixed
| | with an underscore to indicate visibility
49 | WARNING | [ ] Property name "$_select" should not be prefixed
| | with an underscore to indicate visibility
57 | WARNING | [ ] Property name "$_element" should not be prefixed
| | with an underscore to indicate visibility
64 | WARNING | [ ] Property name "$_tables" should not be prefixed
| | with an underscore to indicate visibility
65 | WARNING | [ ] Property name "$_whereTables" should not be
| | prefixed with an underscore to indicate
| | visibility
72 | WARNING | [ ] Property name "$_where" should not be prefixed
| | with an underscore to indicate visibility
79 | WARNING | [ ] Property name "$_qill" should not be prefixed
| | with an underscore to indicate visibility
85 | ERROR | [ ] The @var tag must be the first tag in a member
| | variable comment
87 | WARNING | [ ] Property name "$_options" should not be prefixed
| | with an underscore to indicate visibility
94 | WARNING | [ ] Property name "$_fields" should not be prefixed
| | with an underscore to indicate visibility
99 | ERROR | [x] Expected "bool" but found "boolean" for @var tag
| | in member variable comment
101 | WARNING | [ ] Property name "$_contactSearch" should not be
| | prefixed with an underscore to indicate
| | visibility
103 | WARNING | [ ] Property name "$_locationSpecificCustomFields"
| | should not be prefixed with an underscore to
| | indicate visibility
110 | ERROR | [ ] Visibility must be declared on property
| | "$extendsMap"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/CRM/Core/BAO/MessageTemplate.php
----------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
96 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
100 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
105 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
108 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
203 | ERROR | [x] Expected "bool|null" but found "bool|NULL" for
| | function return type
275 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
276 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 17
277 | ERROR | [x] Array closing indentation error, expected 6 spaces
| | but found 15
430 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 14
431 | ERROR | [x] Array indentation error, expected 10 spaces but
| | found 14
432 | ERROR | [x] Array closing indentation error, expected 8 spaces
| | but found 12
----------------------------------------------------------------------
PHPCBF CAN FIX THE 12 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Phone.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/CMSUser.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
82 | ERROR | [x] Expected "false|void" but found "FALSE|void" for
| | function return type
216 | ERROR | [x] PHP keywords must be lowercase; expected "or" but
| | found "OR"
216 | ERROR | [x] PHP keywords must be lowercase; expected "or" but
| | found "OR"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/Cache.php
----------------------------------------------------------------------
FOUND 9 ERRORS AND 1 WARNING AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
48 | ERROR | [x] Comments may not appear after statements
51 | ERROR | [x] Expected "arraycacheKeycacheValue" but found
| | "array ($cacheKey => $cacheValue)" for @var tag
| | in member variable comment
53 | WARNING | [ ] Property name "$_cache" should not be prefixed
| | with an underscore to indicate visibility
53 | ERROR | [ ] Visibility must be declared on property
| | "$_cache"
177 | ERROR | [x] Comments may not appear after statements
350 | ERROR | [ ] Parameter $expired is not described in comment
433 | ERROR | [x] Expected "string|null" but found "string|NULL"
| | for parameter type
435 | ERROR | [x] Expected "int|null" but found "int|NULL" for
| | parameter type
475 | ERROR | [x] Expected 1 space after FUNCTION keyword; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/CRM/Core/BAO/WordReplacement.php
----------------------------------------------------------------------
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
42 | WARNING | [ ] Possible useless method overriding detected
81 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/CRM/Core/BAO/IM.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/CRM/Core/BAO/PdfFormat.php
----------------------------------------------------------------------
FOUND 5 ERRORS AND 1 WARNING AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
42 | ERROR | [ ] Missing @var tag in member variable comment
43 | WARNING | [ ] Property name "$_gid" should not be prefixed
| | with an underscore to indicate visibility
47 | ERROR | [ ] Missing @var tag in member variable comment
142 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
256 | ERROR | [ ] Parameter type "array (reference)" must not
| | contain spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/Exception.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
37 | ERROR | [x] Expected "Exception|null" but found
| | "Exception|NULL" for parameter type
106 | ERROR | [x] Expected "Exception|null" but found
| | "Exception|NULL" for parameter type
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/OptionGroup.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/api/v3/PrintLabel.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/api/v3/MailingRecipients.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
44 | ERROR | [x] Expected 1 blank line before function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/api/v3/MembershipLog.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/UFField.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/Dashboard.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
43 | ERROR | [x] Expected 1 blank line before function; 2 found
45 | ERROR | [x] Array indentation error, expected 4 spaces but
| | found 6
46 | ERROR | [x] Array indentation error, expected 4 spaces but
| | found 6
47 | ERROR | [x] Array indentation error, expected 4 spaces but
| | found 6
48 | ERROR | [x] Array indentation error, expected 4 spaces but
| | found 6
49 | ERROR | [x] Array closing indentation error, expected 2 spaces
| | but found 4
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/MailingAB.php
----------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
138 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
139 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
140 | ERROR | [x] Array closing indentation error, expected 6 spaces
| | but found 8
142 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
143 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
144 | ERROR | [x] Array closing indentation error, expected 6 spaces
| | but found 8
153 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
154 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
155 | ERROR | [x] Array closing indentation error, expected 6 spaces
| | but found 8
----------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/OptionValue.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/CustomValue.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
65 | ERROR | [x] Expected 1 blank line before function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/Exception.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
36 | ERROR | [x] Expected 1 blank line before function; 0 found
38 | ERROR | [x] Expected 1 blank line after function; 0 found
49 | ERROR | [x] Expected 1 blank line after function; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Batch.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/Participant.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
129 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/CustomField.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
152 | ERROR | [x] Expected "array|null" but found "array|NULL" for
| | function return type
246 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/api/v3/MailingContact.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
60 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
86 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/ActivityContact.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/DashboardContact.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/Extension.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
304 | ERROR | [x] Comments may not appear after statements
310 | ERROR | [x] Comments may not appear after statements
361 | ERROR | [x] Comments may not appear after statements
395 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/SavedSearch.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
41 | ERROR | Return type "array api result array" must not contain
| | spaces
75 | ERROR | Return type "array api result array" must not contain
| | spaces
89 | ERROR | Return type "array api result array" must not contain
| | spaces
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Grant.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Profile.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
449 | ERROR | [x] Array closing indentation error, expected 2 spaces
| | but found 3
614 | ERROR | [x] Doc comment star missing
615 | ERROR | [x] Doc comment star missing
616 | ERROR | [x] Doc comment star missing
617 | ERROR | [x] Doc comment star missing
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/RuleGroup.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/api/v3/StateProvince.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/System.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
233 | ERROR | [x] Comments may not appear after statements
234 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/UFGroup.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/api/v3/FinancialItem.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/JobLog.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/MailingGroup.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Job.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
230 | ERROR | [x] Expected 1 blank line after function; 0 found
246 | ERROR | [x] Expected 1 blank line after function; 0 found
465 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/MembershipStatus.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Rule.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/api/v3/MembershipType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Case.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
64 | ERROR | [x] Expected 1 blank line before function; 2 found
70 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
71 | ERROR | [x] Array indentation error, expected 6 spaces but
| | found 8
73 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 6
745 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/api/v3/FinancialType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/api/v3/FinancialTrxn.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/RelationshipType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/PaymentProcessor.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
94 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/Constant.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/StatusPreference.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...7-test/sites/all/modules/civicrm/api/v3/PaymentProcessorType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/CustomSearch.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/GroupNesting.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/LocationType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Product.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/CustomGroup.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Email.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/api/v3/ParticipantStatusType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/GroupContact.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/api/v3/ParticipantPayment.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/UFMatch.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/api/v3/Membership.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
281 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/EntityBatch.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/PaymentToken.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/PriceFieldValue.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/EntityTag.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
193 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/MembershipBlock.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/api/v3/MembershipPayment.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Website.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/CaseContact.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Note.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/MailingComponent.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
45 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/SurveyRespondant.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Logging.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
40 | ERROR | [x] Return comment indentation must be 3 spaces, found
| | 4 spaces
91 | ERROR | [x] Return comment indentation must be 3 spaces, found
| | 4 spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Generic.php
----------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
77 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 26 spaces but found 1 space
78 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 16 spaces but found 1 space
79 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 23 spaces but found 4 spaces
80 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 26 spaces but found 1 space
81 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 22 spaces but found 1 space
83 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 16 spaces but found 1 space
133 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
188 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/Campaign.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/api/v3/ContributionProduct.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/LineItem.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/Activity.php
----------------------------------------------------------------------
FOUND 4 ERRORS AND 2 WARNINGS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
45 | ERROR | [x] Expected 1 blank line before function; 2 found
294 | ERROR | [ ] Return type "array API result array" must not
| | contain spaces
595 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: 'target'
612 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: 'contact_id'
632 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/ActivityType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/CxnApp.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
28 | ERROR | [x] When importing a class with "use", do not include
| | a leading \
29 | ERROR | [x] When importing a class with "use", do not include
| | a leading \
98 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
105 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/RecurringEntity.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/SmsProvider.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...s/buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Im.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/CaseType.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
55 | ERROR | [x] Comments may not appear after statements
56 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Mailing.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
41 | ERROR | [x] Return comment indentation must be 3 spaces, found
| | 4 spaces
54 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
443 | ERROR | [x] Comments may not appear after statements
638 | ERROR | [x] Object operator not indented correctly; expected 6
| | spaces but found 8
----------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/api/v3/Navigation.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Cxn.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
90 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
320 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
320 | ERROR | [x] Expected 1 space after closing parenthesis; found
| | 0
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/api/v3/ContributionRecur.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...build/47-test/sites/all/modules/civicrm/api/v3/PledgePayment.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/MailSettings.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...t/build/47-test/sites/all/modules/civicrm/api/v3/ContactType.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Acl.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/api/v3/MailingEventQueue.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/ContributionSoft.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/api/v3/MailingJob.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Event.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
218 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/api/v3/ReportInstance.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/Generic/Setvalue.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
60 | ERROR | [x] Closing parenthesis of array declaration must be on
| | a new line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/Generic/Getlist.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/api/v3/Generic/Getunique.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../47-test/sites/all/modules/civicrm/api/v3/Generic/Getactions.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/api/v3/Generic/Update.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/Generic/Validate.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Tag.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/Phone/Get.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../buildkit/build/47-test/sites/all/modules/civicrm/api/v3/Pcp.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
43 | ERROR | [x] Expected 1 blank line before function; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/api/v3/PriceField.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...kit/build/47-test/sites/all/modules/civicrm/api/v3/SystemLog.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/Domain.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/ContributionPage.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/UFJoin.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...est/sites/all/modules/civicrm/api/v3/MailingEventUnsubscribe.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Country.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/PriceSet.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/api/v3/ActionSchedule.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
44 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/api/v3/EntityFinancialTrxn.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uild/47-test/sites/all/modules/civicrm/api/v3/ReportTemplate.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
138 | ERROR | [x] Array closing indentation error, expected 2 spaces
| | but found 4
157 | ERROR | [x] Equals sign not aligned correctly; expected 1
| | space but found 2 spaces
193 | ERROR | [x] Expected 1 blank line after function; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...test/sites/all/modules/civicrm/api/v3/EntityFinancialAccount.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Address.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/utils.php
----------------------------------------------------------------------
FOUND 26 ERRORS AFFECTING 26 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
216 | ERROR | [x] Array closing indentation error, expected 4
| | spaces but found 6
434 | ERROR | [x] Expected 1 blank line after function; 0 found
442 | ERROR | [x] Expected "bool" but found "Bool" for function
| | return type
541 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 9 spaces but found 1 space
542 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 12 spaces but found 13
| | spaces
543 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 10 spaces but found 13
| | spaces
544 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 11 spaces but found 13
| | spaces
545 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 1 space but found 2 spaces
795 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 3 spaces but found 1 space
796 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 4 spaces but found 2 spaces
797 | ERROR | [x] Equals sign not aligned with surrounding
| | assignments; expected 5 spaces but found 3 spaces
1227 | ERROR | [x] Expected "CRM_Utils_SQL_Select|null" but found
| | "CRM_Utils_SQL_Select|NULL" for parameter type
1239 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
1334 | ERROR | [x] Expected "CRM_Core_DAO|null" but found
| | "CRM_Core_DAO|NULL" for function return type
1770 | ERROR | [x] Array indentation error, expected 4 spaces but
| | found 6
1771 | ERROR | [x] Array indentation error, expected 4 spaces but
| | found 6
1772 | ERROR | [x] Array closing indentation error, expected 2
| | spaces but found 4
1839 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
1840 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
1841 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 8
1850 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
1854 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
1985 | ERROR | [x] Expected 1 blank line after function; 2 found
2109 | ERROR | [x] Expected "int|null|unknownuser" but found
| | "int|NULL|'unknown-user'" for function return
| | type
2493 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 26 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ld/47-test/sites/all/modules/civicrm/api/v3/FinancialAccount.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Premium.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/OpenID.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Order.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
192 | ERROR | [x] Expected 0 spaces between "1" and comma; 1 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...dkit/build/47-test/sites/all/modules/civicrm/api/v3/LocBlock.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
89 | ERROR | [x] PHP keywords must be lowercase; expected "new" but
| | found "New"
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/Contribution.php
----------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
675 | ERROR | [x] Expected 1 space after CATCH keyword; 0 found
728 | ERROR | [x] Space before opening parenthesis of function call
| | prohibited
----------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...buildkit/build/47-test/sites/all/modules/civicrm/api/v3/File.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/AclRole.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
44 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Group.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/Survey.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
48 | ERROR | [x] Expected 1 blank line before function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Setting.php
----------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
47 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
52 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
123 | ERROR | [x] Expected 1 blank line after function; 0 found
160 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
322 | ERROR | [x] Expected 1 blank line after function; 0 found
339 | ERROR | [x] Expected 1 blank line after function; 0 found
420 | ERROR | [x] Equals sign not aligned correctly; expected 1
| | space but found 4 spaces
----------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...47-test/sites/all/modules/civicrm/api/v3/MailingEventConfirm.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...-test/sites/all/modules/civicrm/api/v3/MailingEventSubscribe.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Payment.php
----------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
153 | ERROR | [x] Expected 0 spaces between "1" and comma; 1 found
158 | ERROR | [x] Expected 0 spaces between "1" and comma; 1 found
212 | ERROR | [x] Expected 0 spaces between "1" and comma; 1 found
231 | ERROR | [x] Expected 0 spaces between "1" and comma; 1 found
266 | ERROR | [x] Array closing indentation error, expected 4 spaces
| | but found 2
266 | ERROR | [x] Closing parenthesis of array declaration must be
| | on a new line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...est/sites/all/modules/civicrm/api/v3/MailingEventResubscribe.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ldkit/build/47-test/sites/all/modules/civicrm/api/v3/Contact.php
----------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 11 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
55 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
78 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
502 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
525 | ERROR | [x] Expected 1 blank line after function; 2 found
552 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
553 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
554 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
555 | ERROR | [x] Array indentation error, expected 8 spaces but
| | found 10
556 | ERROR | [x] Array closing indentation error, expected 6
| | spaces but found 8
1455 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 11 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/MessageTemplate.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: .../build/47-test/sites/all/modules/civicrm/api/v3/Relationship.php
----------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
219 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: T_BOOLEAN
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ildkit/build/47-test/sites/all/modules/civicrm/api/v3/Pledge.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...it/build/47-test/sites/all/modules/civicrm/api/v3/Attachment.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
484 | ERROR | [x] Comments may not appear after statements
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...uildkit/build/47-test/sites/all/modules/civicrm/api/v3/Phone.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...d/47-test/sites/all/modules/civicrm/api/v3/GroupOrganization.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
44 | ERROR | [x] Expected 1 blank line before function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...buildkit/build/47-test/sites/all/modules/civicrm/api/v3/User.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: ...ild/47-test/sites/all/modules/civicrm/api/v3/WordReplacement.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
47 | ERROR | [x] Expected 1 blank line after function; 2 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
Time: 16.23 secs; Memory: 38MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment