BAP-10261: CI builds should fail in case if warning or notice appears (#313)
BAP-10261: CI builds should fail in case if warning or notice appears (#313)

- Enabled fail on warnings and notices to make testing more accurate
- Fixed functional test with error The current node list is empty
- Fixed notiec "Array to string convertion" in twig template
- added tvig "first" filter for form.vars.selected_organizations
- Added check on null
- Refactored method to fix funtional tests
- Fixed CS stile
- Fix error empty list node
- Fixed phpmd warnings
- Added annotation to ignore complexity warnings
- Fixed Oro\Bundle\UserBundle\Tests\Functional\API\RestUsersTest
- Fixed Oro\Bundle\UserBundle\Tests\Functional\CommandsTest
- Fixed Oro\Bundle\DataAuditBundle\Tests\Functional\API\RestDataAuditApiTest
orocrm/platform-application,orocrm/platform-application