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
{ | |
"name": "smichaelsen/composer-test", | |
"require": { | |
"behat/behat": "~2.5", | |
"friendsofphp/php-cs-fixer": "^2.12" | |
}, | |
"repositories": { | |
"behat/behat": { | |
"type": "package", | |
"package": [ |
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 | |
error_reporting(E_ERROR); | |
@ini_set('display_errors', 'Off'); | |
echo "Unencrypted HTTP "; | |
check('http://packagist.org/packages.json', false); |
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
diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php | |
index a2b27f0..107de9c 100644 | |
--- a/phpBB/language/en/install.php | |
+++ b/phpBB/language/en/install.php | |
@@ -547,7 +547,7 @@ $lang = array_merge($lang, array( | |
<ul style="margin-left: 20px; font-size: 1.1em;"> | |
<li>Go to the <a href="https://www.phpbb.com/downloads/" title="https://www.phpbb.com/downloads/">phpBB.com downloads page</a> and download the "Automatic Update Packag | |
<li>Unpack the archive.<br /><br /></li> | |
- <li>Upload the complete uncompressed install folder to your phpBB root directory (where your config.php file is).<br /><br /></li> | |
+ <li>Upload the complete uncompressed "install" and "vendor" folders to your phpBB root directory (where your config.php file is).<br /><br /></li> |
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
$ /usr/local/bin/hhvm /home/naderman/projects/composer/composer/bin/composer --verbose update | |
Loading composer repositories with package information | |
Updating dependencies (including require-dev) | |
- Installing pocket-rent/ext-pgsql (dev-composer 8cc7e82) | |
Cloning 8cc7e82f4a45a9cead94aadcd935e039b3178703 | |
** hphpize complete, now run `cmake . && make` to build | |
-- The C compiler identification is GNU 4.8.1 | |
-- The CXX compiler identification is GNU 4.8.1 | |
-- The ASM compiler identification is GNU |
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
$ hhvm test.php | |
$ php test.php | |
foo |
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 __DIR__.'/../vendor/autoload.php'; | |
use EasyBib\Pipe; | |
use iter\fn; | |
use React\Partial; | |
$leapCounter = new Pipe\Pipe(array( | |
Partial\bind('iter\map', fn\method('format', array('L'))), |
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 | |
$ch1 = curl_init(); | |
// set URL and other appropriate options | |
curl_setopt($ch1, CURLOPT_URL, "http://localhost/~naderman/sleep.php"); | |
curl_setopt($ch1, CURLOPT_HEADER, 0); | |
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true); | |
//create the multiple cURL handle | |
$mh = curl_multi_init(); |
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
--TEST-- | |
Update aliased package to non-aliased version | |
--COMPOSER-- | |
{ | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": [ | |
{ | |
"name": "a/a", "version": "dev-master", |
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
{ | |
"name": "naderman/sample-meta-package", | |
"version": "1.0.0", | |
"type": "metapackage", | |
"require": { | |
"naderman/package1": "self.version", | |
"naderman/package2": "self.version", | |
"naderman/package3": "2.0.3" | |
} | |
} |
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 | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |
NewerOlder