This file contains hidden or 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 | |
class Booleanish { | |
const TRUTHY = ['y', 'true', 'yes', 'j', 'ja', 'on', '1']; | |
const FALSEY = ['n', 'false', 'no', 'nee', 'off', '0']; | |
private $value; |
This file contains hidden or 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
Marcs-MacBook-Pro-2:cake3 marc$ composer require --dev phpro/grumphp | |
Using version ^0.9.4 for phpro/grumphp | |
./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 cakephp/chronos (locked at 0.4.11, required as ~1.0) is satisfiable by cakephp/chronos[0.4.11] but these conflict with your requirements or minimum-stability. |
This file contains hidden or 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
{ "128": { "repository": "https:\/\/github.com\/cakephp\/debug_kit", "favers": 19 }, "127": { "repository": "https:\/\/github.com\/CakeDC\/search", "favers": 1 }, "126": { "repository": "git:\/\/github.com\/markstory\/asset_compress.git", "favers": 4 }, "125": { "repository": "https:\/\/github.com\/FriendsOfCake\/crud", "favers": 2 }, "124": { "repository": "https:\/\/github.com\/cakephp\/migrations", "favers": 0 }, "123": { "repository": "https:\/\/github.com\/cakephp\/bake", "favers": 0 }, "122": { "repository": "https:\/\/github.com\/CakeDC\/tags.git", "favers": 1 }, "121": { "repository": "https:\/\/github.com\/dereuromark\/cakephp-tools", "favers": 0 }, "120": { "repository": "https:\/\/github.com\/burzum\/cakephp-file-storage", "favers": 0 }, "119": { "repository": "https:\/\/github.com\/FriendsOfCake\/CakePdf", "favers": 0 }, "118": { "repository": "https:\/\/github.com\/FriendsOfCake\/Authenticate", "favers": 0 }, "117": { "repository": "git:\/\/github.com\/ceeram\/CakePdf.git", "favers": 2 }, "116": |
This file contains hidden or 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
[ | |
(int) 128 => object(Packagist\Api\Result\Result) { | |
repository => 'https://github.com/cakephp/debug_kit' | |
favers => (int) 19 | |
[protected] name => 'cakephp/debug_kit' | |
[protected] description => 'CakePHP Debug Kit' | |
[protected] url => 'https://packagist.org/packages/cakephp/debug_kit' | |
[protected] downloads => (int) 214710 | |
[protected] faves => null | |
[protected] version => null |
This file contains hidden or 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
public function getowner() { | |
$id = $this->request->get('id'); | |
$data = $this->Powners->get($id); | |
$this->set(compact('data')); | |
$this->set('_serialize', ['data']); | |
} |
This file contains hidden or 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 | |
//original | |
namespace A; | |
use B { | |
class D | |
{ | |
//coe here | |
} | |
} | |
?> |
This file contains hidden or 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 | |
$finder = Symfony\CS\Finder\DefaultFinder::create() | |
->in(__DIR__) | |
->name('*.ctp') | |
//->exclude('tests') | |
; | |
return Symfony\CS\Config\Config::create() | |
->level(Symfony\CS\FixerInterface::PSR2_LEVEL) |
This file contains hidden or 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
language: php | |
php: | |
- 5.3 | |
- 5.4 | |
- 5.5 | |
env: | |
global: | |
- PLUGIN_NAME=Example |
This file contains hidden or 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
B$valgrind --db-attach=yes /usr/local/php/bin/php odbc.php | |
==4308== Memcheck, a memory error detector | |
==4308== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. | |
==4308== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info | |
==4308== Command: /usr/local/php/bin/php odbc.php | |
==4308== | |
--4308-- WARNING: Serious error when reading debug info | |
--4308-- When reading debug info from /usr/local/lib/libtfodbccl.so: | |
--4308-- Can't make sense of .sbss section mapping | |
==4308== Conditional jump or move depends on uninitialised value(s) |
This file contains hidden or 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
B$ /usr/local/php/bin/php run-tests.php ext/pdo_odbc/tests/ | |
===================================================================== | |
PHP : sapi/cli/php | |
PHP_SAPI : cli | |
PHP_VERSION : 5.5.3 | |
ZEND_VERSION: 2.5.0 | |
PHP_OS : Linux - Linux vagrant-debian-wheezy 3.2.0-4-486 #1 Debian 3.2.46-1+deb7u1 i686 | |
INI actual : /usr/local/php/lib/php.ini | |
More .INIs : |
NewerOlder