corbanb / freebird-php Goto Github PK
View Code? Open in Web Editor NEWTwitter application only auth package for composer.
License: MIT License
Twitter application only auth package for composer.
License: MIT License
According to requires of v0.2.3, the code should be compatible with PHP 5.6, but it's not, since it's using symfony/event-dispatcher
package, which requires PHP ^7.1.3
.
Reproducible steps:
$ composer require corbanb/freebird-php:~0.2.2
$ composer show
corbanb/freebird-php v0.2.3 Twitter API v1.1 Application only authoization library
symfony/event-dispatcher v4.0.3 Symfony EventDispatcher Component
guzzle/guzzle v3.8.1 Guzzle is a PHP HTTP client library and framew...
$ find vendor/symfony/event-dispatcher -name \*.php -exec php56 -l {} ';'
...
PHP Fatal error: Default value for parameters with a class type hint can only be NULL in vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php on line 34
Fatal error: Default value for parameters with a class type hint can only be NULL in vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php on line 34
Errors parsing vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php
...
Note: The php56
command is a link pointing to PHP 5.6 binary.
There's newer guzzle version released.
Please update your guzzle dependency.
Thanks for adding new guzzle version.
Can you now create new tag for that? v0.2.1 for example.
There's no 0.2.4 on packagist.. although the readme suggestions v0.2.4.
composer require corbanb/freebird-php:~0.2.4
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package corbanb/freebird-php ~0.2.4 exists as corbanb/freebird-php[dev-master, v0.1.0, v0.1.1, v0.2.0, v0.2.1, v0.2.2, v0.2.3] but these are rejected by your constraint.
Installation failed, reverting ./composer.json to its original content.
You should add license file to understand if this code can be used and in which kind of projects
The recommended is MIT, if no one is against
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.