Nexmo / vonage-php-nexmo-bridge

Polyfill for letting Nexmo namespaced code run under the Vonage PHP SDK
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

Create .gitattributes to prevent export of files with Composer #3

Closed driesvints closed 2 years ago

driesvints commented 2 years ago

I'm especially sending this in to prevent exporting test/classes.php when installing the package with Composer. This is messing up type hinting in IDE's and editors when vonage/client-core is also installed. For example, methods on the Client class of Vonage client core aren't clickable and signatures aren't showing. By ignoring this test file with class duplicates we can prevent this.