View bootstrap.php
<?php
use Doctrine\DBAL\Driver\PDOSqlite\Driver;
use Doctrine\DBAL\Types\Type;
use Doctrine\ORM\Configuration;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Mapping\Driver\XmlDriver;
use Doctrine\ORM\Proxy\ProxyFactory;
use Ramsey\Uuid\Doctrine\UuidType;
View active.md

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Mon, 01 Dec 2014 00:48:25 GMT till Tue, 01 Dec 2015 00:48:25 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
  .filter(user => user.followers > 508)
View SubmitFakeStripeCreditCard.php
<?php
declare(strict_types = 1);
namespace MyApp\Web\Utility\Stripe;
use Behat\Mink\Session;
use MyApp\Domain\Payment\Stripe\PublishableKey;
use Zend\Escaper\Escaper;
View psr-4-add.php
#!/usr/bin/env php
<?php
file_put_contents(
'composer.json',
json_encode(array_merge_recursive(
['autoload' => ['psr-4' => [$argv[1] => $argv[2]]]],
json_decode(file_get_contents('composer.json'), true)
))
);
View .gitignore
vendor
composer.lock
View .gitignore
vendor
composer.phar
View find-missing-return-types.php
<?php
require_once __DIR__ . '/vendor/autoload.php';
$namespace = 'PutYourProjectNamespaceHere\\';
foreach (new RegexIterator(new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__ . '/src')), '/^.+\.php$/i', RecursiveRegexIterator::GET_MATCH) as $file) {
require_once $file[0];
}
View html-form-validator-factory.php
<?php
$formHtml = <<<'HTML'
<form action="%s" method="post">
<label for="email">Email:</label>
<input
type="email"
id="email"
name="email"
value=""
View output-php56.txt
--TEST--
Verifies that generated access interceptors disallow private property direct read
--FILE--
Fatal error: Cannot access private property Kitchen::$sweets in /Users/ocramius/Documents/Projects/ProxyManager/tmp/ProxyManagerGeneratedProxy__PM__KitchenGenerated8d074ecba2008676c49d352470371679.php on line 127
Call Stack:
0.0002 229992 1. {main}() /Users/ocramius/Documents/Projects/ProxyManager/tests/language-feature-scripts/access-interceptor-denies-private-property-read.phpt:0
0.0251 2178640 2. ProxyManagerGeneratedProxy\__PM__\Kitchen\Generated8d074ecba2008676c49d352470371679->__get() /Users/ocramius/Documents/Projects/ProxyManager/tests/language-feature-scripts/access-interceptor-denies-private-property-read.phpt:17
0.0252 2183680 3. ProxyManager\Stub\EmptyClassStub->ProxyManagerGeneratedProxy\__PM__\Kitchen\{closure}() /Users/ocramius/Documents/Projects/ProxyManager/tmp/ProxyManagerGeneratedProxy__PM__KitchenGenerated8d074ecba2008676c49d352470371679.php:132
View ArrayObjectGraphLoader.php
<?php
namespace BLAHBLAH\GraphLoader;
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Instantiator\Instantiator;
use BLAHBLAH\Exception\UnexpectedValueException;
final class ArrayObjectGraphLoader implements ArrayObjectGraphLoaderInterface