This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require "vendor/autoload.php"; | |
use Abraham\TwitterOAuth\TwitterOAuth; | |
// You can get all these via https://dev.twitter.com/ | |
$consumer_key = ""; | |
$consumer_secret = ""; | |
$access_token = ""; | |
$access_token_secret = ""; | |
$user_id = 0; // Twitter user ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This file is not a CODE, it makes no sense and won't run or validate | |
// Its AST serves IDE as DATA source to make advanced type inference decisions. | |
namespace PHPSTORM_META { | |
$STATIC_METHOD_TYPES = [ | |
\Zend\ServiceManager\ServiceLocatorInterface::get('') => [ | |
// STATIC call key to make static (1) & dynamic (2) calls work | |
"special" instanceof \Exception, | |
// "KEY" instanceof Class maps KEY to Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example makefile with some dummy rules | |
.PHONY: all | |
## Make ALL the things; this includes: building the target, testing it, and | |
## deploying to server. | |
all: test deploy | |
.PHONY: build | |
# No documentation; target will be omitted from help display | |
build: |