[LINTER] Fix some PHP linter rules
Disable 2 generic rules:
- The limit in cyclomatic complexity, whose value is not configurable.
Phabricator does not enforce this rule, and the hardcoded value is very
- Enforce no space after a cast. Actually both 0 space and 1 space are
enforced, causing conflicts (there is no cast in the PHP codebase yet).
arc lint --everything
Should return no error.
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D3287