I hereby claim:
- I am mbabker on github.
- I am mbabker (https://keybase.io/mbabker) on keybase.
- I have a public key whose fingerprint is EED9 6707 E398 8018 9C02 A87D 00E1 51E3 933D B00B
To claim this, I am signing this object:
<?php | |
/** | |
* Joomla! Framework Status Application | |
* | |
* @copyright Copyright (C) 2014 Open Source Matters, Inc. All rights reserved. | |
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License Version 2 or Later | |
*/ | |
namespace Joomla\Status\View; |
<?php | |
/** | |
* Application powering http://michaels.website | |
* | |
* @copyright Copyright (C) 2014 Michael Babker. All rights reserved. | |
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License Version 2 or Later | |
*/ | |
namespace BabDev\Website; |
<?php | |
/** | |
* Podcast Manager Batch Save Script | |
* | |
* @copyright Copyright (C) 2014 Michael Babker. All rights reserved. | |
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License Version 2 or Later | |
*/ | |
// Set flag that this is a parent file. | |
const _JEXEC = 1; |
public static function getInstance($options = array()) | |
{ | |
// Sanitize the database connector options. | |
$options['driver'] = (isset($options['driver'])) ? preg_replace('/[^A-Z0-9_\.-]/i', '', $options['driver']) : 'mysqli'; | |
$options['database'] = (isset($options['database'])) ? $options['database'] : null; | |
$options['select'] = (isset($options['select'])) ? $options['select'] : true; | |
// If the selected driver is `mysql` and we are on PHP 7 or greater, switch to the `mysqli` driver. | |
if ($options['driver'] === 'mysql' && PHP_MAJOR_VERSION >= 7) | |
{ |
I hereby claim:
To claim this, I am signing this object:
Joomla developers! Your support is needed to help make prepared statements in Joomla's database API a reality. I've started on some of this work but need help with testing and review.
Joomla's PDO driver already has provisions for prepared statement support written into it and the unsupported Oracle and SQLite drivers already make use of this.
In the Joomla! Framework Database Package I've started on work to expand this support. First, the PDO MySQL driver now has bound variable support and will fully support prepared statements.
I've opened pull requests for the MySQLi and PostgreSQL drivers to add support for prepared statements using the already defined interfaces in Joomla's database layer. Also, there is [a pull request](https://github.com/joomla
Homebrew build logs for php@7.2 on macOS 10.13.6 | |
Build date: 2019-07-02 12:35:57 |
<?php declare(strict_types=1); | |
namespace App\DependencyInjection\Compiler; | |
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
final class RemoveSyliusMigrationsPass implements CompilerPassInterface | |
{ | |
public function process(ContainerBuilder $container) |