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
*.log | |
node_modules |
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
{ | |
hello: "world", | |
foo: "bar" | |
} |
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
node_modules |
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
$log->pushHandler(new StreamHandler(__DIR__.'/debug.log', Logger::DEBUG)); |
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 | |
/* | |
PHP Warning: db2_bind_param(): Describe Param Failed | |
*/ | |
$conn = db2_connect('db', 'user', 'pass'); | |
$sql = " | |
SELECT * | |
FROM MYTABLE |
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
$this->query | |
->select('*') | |
->from('Table') | |
->where('Foo = ?') | |
->setParameter(0, 'Bar') | |
->orderBy('RowID','ASC') | |
; |
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
BEGIN TRANSACTION; | |
CREATE TABLE `Users` ( | |
`id` INTEGER, | |
`name` TEXT | |
); | |
INSERT INTO `Users` VALUES (1,'foo'); | |
INSERT INTO `Users` VALUES (2,'bar'); | |
COMMIT; |
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
> phpunit | |
PHPUnit 6.0.11 by Sebastian Bergmann and contributors. | |
Runtime: PHP 7.0.15-0ubuntu0.16.10.4 | |
Configuration: /home/mchelen/doc/phpunit-dbunit-example/phpunit.xml | |
E. 2 / 2 (100%) | |
Time: 12 ms, Memory: 4.00MB |
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
"minimum-stability": "dev", | |
"prefer-stable": false, |
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
migration config yml | |
source: | |
plugin: url | |
data_fetcher_plugin: file | |
data_parser_plugin: json | |
running drush migrate-import |