Stub project should not use autoload or files section

Why this is a problem. Composer autoload add files as auto require file at composer autoload startup. And you got lots of errors like this:

Notice: Constant AMQP_OS_SOCKET_TIMEOUT_ERRNO already defined in /.../vendor/empi89/php-amqp-stubs/src/AMQP.php on line 23

Other reason is IDE do not require files to be in composer autload. 

What do you think?